-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.84 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
{
"name": "awesome-marvel",
"version": "0.1.0",
"private": true,
"author": "Paul-Adrien Bru",
"license": "MIT",
"dependencies": {
"@material-ui/core": "^1.2.0",
"@material-ui/icons": "^1.1.0",
"axios": "^0.18.0",
"husky": "^0.14.3",
"lint-staged": "^7.1.2",
"lodash": "^4.17.10",
"md5": "^2.2.1",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-helmet": "^5.2.0",
"react-redux": "^5.0.7",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.4",
"react-swipeable-views": "^0.12.13",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"eslint": "4.19.1",
"eslint-plugin-react": "^7.8.2",
"opn-cli": "^3.1.0",
"prettier": "^1.12.1"
},
"scripts": {
"start": "react-scripts start",
"build": "CI=true react-scripts build",
"test": "react-scripts test --env=jsdom",
"test:ci": "CI=true npm test",
"test:coverage": "npm test -- --coverage",
"test:coverage:open": "opn ./coverage/lcov-report/index.html",
"test:update": "npm test -- --updateSnapshot",
"eject": "react-scripts eject",
"precommit": "lint-staged",
"prepush": "npm run test:coverage"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css}": [
"eslint",
"prettier --fix",
"git add"
]
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*/styles.js",
"!src/registerServiceWorker.js"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}