-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.1 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
75
76
{
"name": "brian-frontend",
"version": "0.1.0",
"description": "Brian central control module frontend, also used as automation hub",
"private": true,
"dependencies": {
"@emotion/core": "^10.0.6",
"axios": "^0.18.0",
"cross-env": "^5.2.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"jest-enzyme": "^7.0.1",
"node-sass": "^4.11.0",
"path": "^0.12.7",
"prop-types": "^15.6.2",
"react": "16.8.0-alpha.1",
"react-dom": "16.8.0-alpha.1",
"react-router-config": "^4.4.0-beta.6",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.3",
"react-test-renderer": "^16.7.0",
"sass-loader": "^7.1.0",
"semantic-ui-react": "^0.84.0",
"webpack": "4.19.1"
},
"lint-staged": {
"*.{js,jsx}": [
"pretty-quick --staged",
"eslint src/ --fix",
"git add"
]
},
"scripts": {
"start": "cross-env NODE_PATH=src react-scripts start",
"build": "cross-env NODE_PATH=src react-scripts build",
"test": "cross-env NODE_PATH=src react-scripts test",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"test:ci": "cross-env NODE_PATH=src react-scripts test --coverage",
"eject": "react-scripts eject",
"docz:dev": "docz dev",
"docz:build": "docz build"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"docz": "^0.13.7",
"docz-plugin-css": "^0.11.0",
"docz-theme-default": "^0.13.7",
"eslint": "5.6.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.15.0",
"eslint-plugin-jest": "^22.1.3",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"prettier": "^1.16.1",
"pretty-quick": "^1.10.0"
},
"husky": {
"hooks": {
"pre-commit": "cross-env NODE_ENV=production lint-staged",
"pre-push": "cross-env NODE_ENV=production lint-staged && yarn test:ci"
}
}
}