-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
59 lines (59 loc) · 1.32 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": "cypress-auto-stub-example",
"version": "1.1.0",
"description": "Example project to demonstrate how to record/replay API with Cypress.",
"license": "MIT",
"dependencies": {
"@apollo/client": "^3.3.15",
"blueimp-md5": "^2.18.0",
"graphql": "^15.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3"
},
"devDependencies": {
"@types/node": "^14.14.41",
"concurrently": "^6.0.2",
"cypress": "^7.1.0",
"http-server": "^0.12.3",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"typescript": "^4.2.4"
},
"scripts": {
"cy:open": "cypress open",
"cy:open:record": "cypress open --env forceAPIRecording=1",
"cy:run": "cypress run",
"start": "react-scripts start",
"build": "react-scripts build",
"serve": "http-server -p 3456 ./build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}