-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.01 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
{
"devDependencies": {
"concurrently": "^8.2.2",
"husky": "^9.0.10",
"lint-staged": "^15.2.2"
},
"scripts": {
"prepare": "husky",
"dev:server": "npm run dev --prefix ./server",
"dev:client": "npm run dev --prefix ./client",
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
"check-format-client": "cd client && npm run check-format",
"check-lint-client": "cd client && npm run check-lint",
"check-types-client": "cd client && npm run check-types",
"check-format-server": "cd server && npm run check-format",
"check-types-server": "cd server && npm run check-types"
},
"lint-staged": {
"client/src/**/*.{ts,tsx}": [
"npm run check-types-client",
"npm run check-lint-client"
],
"client/src/**/*.{ts,js,tsx,jsx,css,scss,md,json}": [
"npm run check-format-client"
],
"server/src/**/*.{ts}": [
"npm run check-types-server"
],
"server/src/**/*.{ts,js,md,json}": [
"npm run check-format-server"
]
}
}