-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.23 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.23 KB
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
{
"name": "code-guide-demo",
"version": "0.1.0",
"private": true,
"dependencies": {
"babel-eslint": "9.0.0",
"eslint": "5.12.0",
"eslint-plugin-react": "^7.12.4",
"lint-staged": "^8.1.5",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-scripts": "2.1.8"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"precommit": "react-scripts test",
"eject": "react-scripts eject",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --fix --ext .js,.jsx",
"lint-staged:style": "stylelint --fix .less --syntax less"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**.{js, jsx, json, less}": [
"prettier --write",
"git add"
],
"**.{js, jsx}": "npm run lint-staged:js",
"**.less": "npm run lint-staged:style"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"prettier": "^1.16.4",
"eslint-plugin-babel": "^5.3.0",
"husky": "^1.3.1",
"stylelint": "^9.10.1",
"stylelint-config-prettier": "^5.0.0",
"stylelint-config-standard": "^18.2.0"
}
}