This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 3.45 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "wps-web",
"version": "0.1.0",
"engines": {
"node": "~10.x",
"npm": "~5.6"
},
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0"
}
],
"dependencies": {
"@material-ui/core": "^4.9.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.43",
"@reduxjs/toolkit": "^1.2.5",
"@types/d3": "^5.7.2",
"@types/node": "^12.12.26",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.3",
"@types/recharts": "^1.8.10",
"@types/webpack-env": "^1.15.1",
"axios": "^0.19.2",
"clsx": "^1.1.0",
"d3": "^5.16.0",
"moment": "^2.26.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.2.0",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.4.3",
"recharts": "^1.8.5",
"typescript": "^4.0.2"
},
"scripts": {
"start": "CI=true react-scripts start",
"start:cypress": "export $(cat .env.cypress | xargs) && react-scripts -r @cypress/instrument-cra start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:ci": "CI=true npm test",
"coverage": "npm test -- --coverage --watchAll=false",
"coverage:ci": "CI=true npm test -- --coverage --watchAll=false",
"cy:open": "cypress open",
"cy:run": "cypress run --config watchForFileChanges=false",
"cypress": "start-server-and-test start:cypress 3030 cy:open",
"cypress:ci": "start-server-and-test start:cypress 3030 cy:run",
"eject": "react-scripts eject",
"lint": "eslint './src/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix './src/**/*.{ts,tsx}'",
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|md)\"",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.8.1",
"@cypress/instrument-cra": "^1.3.2",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-knobs": "^5.3.19",
"@storybook/react": "^5.3.19",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^24.9.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"axios-mock-adapter": "^1.17.0",
"cypress": "^5.2.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.2.1",
"prettier": "^1.19.1",
"start-server-and-test": "^1.11.4"
},
"husky": {
"hooks": {
"pre-push": ".githooks/pre-push & npm run lint & npm run test:ci"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/*.stories.tsx",
"!src/**/*.d.ts",
"!src/index.tsx",
"!src/serviceWorker.ts",
"!src/app/*.{ts,tsx}"
]
},
"nyc": {
"excludeAfterRemap": true,
"exclude": [
"src/serviceWorker.ts",
"src/app/store.ts"
]
}
}