-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.51 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
{
"name": "react-pure-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/history": "^4.7.5",
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-router-dom": "^5.1.4",
"bulma": "^0.8.2",
"node-sass": "^4.13.1",
"query-string": "^6.12.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1",
"typescript": "^3.8.3"
},
"devDependencies": {
"enzyme": "^3.11.0",
"eslint": "^6.8.0",
"husky": "^4.2.5",
"lint-staged": "^10.1.3",
"prettier": "^2.0.4",
"react-addons-test-utils": "^15.6.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm test -- --coverage",
"pretty": "npx prettier src --write",
"lint": "eslint --ext ts,tsx src",
"eject": "react-scripts eject",
"docker:build": "docker build -t react-pure-app .",
"docker:run": "docker run -it -p 8080:80 react-pure-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"yarn lint",
"yarn pretty"
]
}
}