-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 1.8 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
{
"name": "cs01-team-ada-04",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reach/alert": "^0.6.1",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-scripts": "3.2.0",
"styled-components": "^4.4.0"
},
"devDependencies": {
"cypress": "^3.6.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.2",
"eslint-plugin-cypress": "^2.7.0",
"jest-styled-components": "^6.3.3",
"start-server-and-test": "^1.10.4"
},
"scripts": {
"build": "react-scripts build",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:verify": "cypress verify",
"lint": "eslint src",
"start": "react-scripts start",
"test:e2e": "BROWSER=none start-server-and-test start http://localhost:3000 cy:run",
"test:unit": "react-scripts test",
"test": "CI=true npm run test:unit && npm run test:e2e"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"babelMacros": {
"styledComponents": {}
},
"eslintConfig": {
"env": {
"cypress/globals": true
},
"extends": "react-app",
"globals": {
"withTheme": "readonly"
},
"plugins": [
"eslint-plugin-cypress"
],
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "styled-components",
"message": "Please import from styled-components/macro."
}
],
"patterns": [
"!styled-components/macro"
]
}
]
}
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}