-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
38 lines (38 loc) · 1001 Bytes
/
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
{
"name": "frontend-exercise",
"version": "0.1.0",
"private": true,
"dependencies": {
"husky": "^0.14.3",
"lint-staged": "^6.1.0",
"node-sass-chokidar": "0.0.3",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.1"
},
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "react-scripts build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"precommit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css}": [
"prettier --no-semi --single-quote --write",
"git add"
]
},
"devDependencies": {
"prettier": "^1.7.4"
},
"prettier": {
"semi": false,
"singleQuote": true
}
}