-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
82 lines (82 loc) · 2.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "react-video-cover",
"version": "1.2.2",
"description": "displays video with object-fit: cover, with fallback for IE",
"keywords": [
"react",
"component",
"object-fit",
"cover",
"video"
],
"homepage": "http://tkloht.github.io/react-video-cover/",
"bugs": "https://github.com/tkloht/react-video-cover/issues",
"repository": "github:tkloht/react-video-cover",
"scripts": {
"start": "react-component-scripts start",
"build": "NODE_ENV=production webpack",
"test": "jest",
"test:watch": "react-component-scripts test --watch",
"eslint": "eslint lib examples",
"eslint-fix": "eslint --fix lib examples",
"gh-pages": "git subtree push --prefix dist/examples origin gh-pages",
"preversion": "npm test",
"version": "npm run build && git add -A dist"
},
"author": "Tobias Kloht",
"license": "MIT",
"files": [
"dist/lib"
],
"directories": {
"lib": "./lib",
"example": "./examples"
},
"main": "dist/lib/index.js",
"peerDependencies": {
"react": ">=0.14"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"classnames": "~2.2.5",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"jest": "^23.6.0",
"jest-enzyme": "^7.0.1",
"prop-types": "~15.6.1",
"react": "~16.3.0",
"react-dom": "~16.3.0",
"react-router-dom": "4.2.2",
"react-simple-resize": "^2.1.0",
"webpack-cli": "3.1.2",
"@babel/cli": "^7.2.0",
"webpack": "^4.27.1"
},
"jest": {
"testEnvironment": "enzyme",
"rootDir": "lib",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "./__mocks__/fileMock.js",
"\\.(css|less|styl)$": "./__mocks__/styleMock.js"
},
"setupTestFrameworkScriptFile": "../node_modules/jest-enzyme/lib/index.js",
"setupFiles": [
"../setupTests.js"
]
},
"resolutions": {
"babel-core": "^7.0.0-bridge"
}
}