forked from coryhouse/testing-react
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
59 lines (59 loc) · 1.83 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
{
"name": "testing",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "npm-run-all start-dev start-mockapi",
"start-dev": "react-scripts -r @cypress/instrument-cra start",
"prestart-mockapi": "node buildScripts/generateMockData",
"start-mockapi": "json-server --watch src/api/db.json --port 3001 --static node_modules/json-server/lib/server/public",
"build-js": "react-scripts build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"coverage": "react-scripts test --env=jsdom --coverage ",
"open:coverage": "npm run coverage && opn ./coverage/lcov-report/index.html",
"cypress": "cypress open",
"eject": "react-scripts eject",
"dev": "start-test 3000 cypress"
},
"dependencies": {
"axios": "^0.18.0",
"babel-cli": "^6.26.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-redux": "^6.0.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "^4.0.8",
"react-scripts": "2.1.5",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@cypress/code-coverage": "1.8.0",
"@cypress/instrument-cra": "1.3.1",
"axios-mock-adapter": "^1.16.0",
"babel-core": "^7.0.0-bridge.0",
"cypress": "^3.4.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.9.1",
"istanbul-lib-coverage": "2.0.5",
"json-schema-faker": "0.3.6",
"json-server": "^0.12.1",
"mockdate": "^2.0.2",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"nyc": "14.1.1",
"opn-cli": "^4.0.0",
"react-test-renderer": "^16.8.2",
"react-testing-library": "^5.9.0",
"redux-immutable-state-invariant": "^2.1.0",
"redux-mock-store": "^1.5.3",
"start-server-and-test": "1.9.2"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}