-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
48 lines (48 loc) · 1.22 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
{
"devDependencies": {
"@testing-library/react": "^13.1.1",
"jest": "^24.9.0",
"lint-staged": "^15.2.10",
"prettier": "^1.19.1",
"typescript": "^4.8.4"
},
"scripts": {
"precommit": "lint-staged",
"build": "npm run --prefix server build",
"lint": "npm run build && npm run lint:client && npm run lint:server",
"lint:client": "cd client && npm run lint",
"lint:server": "cd server && npm run lint",
"test": "npm run build && jest --projects client server --runInBand",
"test-watch": "jest --projects client server --watch"
},
"lint-staged": {
"*.js": [
"prettier --write \"server/src/**/*.{js,ts}\"",
"cd server && npm build",
"cd client && npm run lint --fix",
"cd server && npm run lint --fix",
"git add"
],
"*.ts": [
"prettier --write \"server/src/**/*.{js,ts}\"",
"cd server && npm build",
"cd client && npm run lint --fix",
"cd server && npm run lint --fix",
"git add"
]
},
"prettier": {
"singleQuote": true
},
"engines": {
"node": "^18.19.1",
"npm": "^10.2.4"
},
"volta": {
"node": "18.19.1",
"npm": "10.2.4"
},
"dependencies": {
"eslint-plugin-import": "^2.31.0"
}
}