-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 1.39 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
{
"name": "ava-ui",
"version": "2.12.0",
"private": true,
"scripts": {
"start": "REACT_APP_GIT_HASH=`git rev-parse HEAD` react-scripts start",
"build": "REACT_APP_GIT_HASH=`git rev-parse HEAD` react-scripts build",
"test": "react-scripts test --modulePaths=src",
"format": "prettier --config .prettierrc --write \"**/*.js\"",
"predeploy": "npm run build && cp CNAME build/CNAME",
"deploy": "gh-pages -d build"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.4.3",
"react-use": "^13.27.0",
"remixicon": "^2.5.0",
"styled-components": "^5.0.1",
"sugar": "^2.0.6"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@testing-library/react-hooks": "^3.3.0",
"date-fns": "^2.14.0",
"env-cmd": "^8.0.2",
"faker": "^4.1.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"react-test-renderer": "^16.12.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "CI=true npm test"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"eslint --max-warnings 0",
"prettier --config .prettierrc --write"
]
}
}