This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
50 lines (49 loc) · 1.86 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
{
"devDependencies": {
"@cypress/code-coverage": "^3.9.12",
"@cypress/instrument-cra": "^1.4.0",
"babel-plugin-istanbul": "^6.1.1",
"concurrently": "^6.2.2",
"cypress-audit": "^1.1.0",
"husky": "^4.3.8",
"istanbul-lib-coverage": "^3.2.0",
"lint-staged": "^8.2.1",
"nyc": "^15.1.0"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"npm run lint:fix --prefix server",
"npm run test:staged --prefix server",
"git add ."
],
"**/*.{ts,tsx}": [
"npm run lint:fix --prefix client",
"npm run test:staged --prefix client",
"git add ."
]
},
"scripts": {
"dev": "concurrently \"npm run start --prefix server\" \"npm run start --prefix client\"",
"server-dependencies": "cd server && npm install",
"client-dependencies": "cd client && npm install",
"install-all-deps": "concurrently \"npm install\" \"npm run server-dependencies\" \"npm run client-dependencies\"",
"all-lint:check": "concurrently \"npm run lint --prefix server\" \"npm run lint --prefix client\"",
"all-lint:fix": "concurrently \"npm run lint:fix --prefix server\" \"npm run lint:fix --prefix client\"",
"all-test": "concurrently \"npm run test --prefix server\" \"cd client && npx cypress run\" \"npx cypress run\"",
"all-test:coverage": "concurrently \"npm run test:coverage --prefix server\" \"cd client && npx cypress run && npx nyc report\" \"npx cypress run && npx nyc report\" ",
"all-test:staged": "concurrently \"npm run test:coverage --prefix server\" \"cd client && npx cypress run\" \"npx cypress run\" "
},
"dependencies": {
"cypress": "^9.5.3",
"react-burger-menu": "^3.0.6"
},
"nyc": {
"exclude": ["src/services/*.tsx", "src/reportWebVitals.ts", "src/services/**/*.tsx"],
"excludeAfterRemap": true
}
}