-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·60 lines (60 loc) · 1.55 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
{
"name": "one",
"version": "0.2.3",
"private": true,
"devDependencies": {
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "0.14.3",
"jest-enzyme": "^6.0.0",
"lint-staged": "7.0.4",
"node-sass-chokidar": "1.2.2",
"npm-run-all": "4.1.2",
"prettier": "^1.12.1",
"react-scripts": "1.1.4",
"react-test-renderer": "^16.3.2"
},
"dependencies": {
"global": "^4.3.2",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-instantsearch": "5.0.3",
"react-instantsearch-theme-algolia": "4.5.2",
"react-redux": "5.0.7",
"react-router-dom": "4.2.2",
"redux": "^4.0.0"
},
"scripts": {
"precommit": "lint-staged",
"prestart": "HTTPS=true",
"start": "npm-run-all -p watch:css watch:js",
"test": "react-scripts test --env=jsdom --coverage",
"watch:css": "npm run build:css && node-sass-chokidar src/ -o src/ --watch --recursive",
"watch:js": "react-scripts start",
"build:css": "node-sass-chokidar src/ -o src/",
"build:js": "react-scripts build",
"build": "npm-run-all build:css build:js",
"eject": "react-scripts eject"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css}": [
"prettier --print-width 300 --single-quote --write",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/build/"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
}
}