forked from sarahatwork/integration-tests
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.78 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": "fun-with-tests",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.9.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^10.0.2",
"@testing-library/user-event": "^7.1.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.0"
},
"scripts": {
"start": "react-scripts -r @cypress/instrument-cra start",
"build": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"test:coverage:integration": "react-scripts test --watchAll=false --env=jest-environment-jsdom-sixteen --coverage --testPathPattern=\"integration.test.js\" --verbose",
"test:coverage:unit": "react-scripts test --watchAll=false --env=jest-environment-jsdom-sixteen --coverage --testPathPattern=\"unit.test.js\" --verbose",
"eject": "react-scripts eject",
"dev": "start-test 3000 cy:open",
"cy:open": "cypress open",
"check:markdown": "find . -type f -name '*.md' ! -path './node_modules/*' | xargs -L1 npx markdown-link-check --quiet"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"restoreMocks": true
},
"devDependencies": {
"@cypress/instrument-cra": "1.1.1",
"@testing-library/react-hooks": "^3.2.1",
"cypress": "4.5.0",
"cypress-react-unit-test": "4.2.1",
"eslint-plugin-prettier": "^3.1.2",
"jest-environment-jsdom-sixteen": "^1.0.3",
"markdown-link-check": "3.8.1",
"prettier": "^2.0.2",
"react-test-renderer": "^16.13.1",
"start-server-and-test": "1.11.0"
}
}