-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
60 lines (60 loc) · 1.46 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
{
"name": "csstox",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"css-to-react-native": "^3.0.0",
"node-sass": "4.14.1",
"postcss": "^7.0.36",
"postcss-js": "^2.0.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.4.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tests}/**/*.{js,css,scss,md}": [
"prettier --write"
]
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "yarn test:unit && yarn test:e2e",
"cy:run": "cypress run",
"test:unit": "react-scripts test",
"test:e2e": "start-server-and-test :3000 cy:run",
"eject": "react-scripts eject",
"format:check": "prettier --check tests/**/*.js src/**/*.{js,css,scss} *.md",
"format": "prettier --write tests/**/*.js src/**/*.{js,css,scss} *.md"
},
"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"
]
},
"devDependencies": {
"cypress": "^4.5.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.1",
"prettier": "^2.0.5",
"start-server-and-test": "^1.11.0"
}
}