-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.13 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
{
"name": "jpg-mern",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev:client": "pnpm --filter client dev",
"dev:server": "pnpm --filter server dev",
"dev": "pnpm --parallel dev",
"build:client": "pnpm --filter client build",
"build:server": "pnpm --filter server build",
"build": "pnpm build:server && pnpm build:client",
"start:client": "pnpm --filter client start",
"start:server": "pnpm --filter server start",
"lint:server": "pnpm --filter server lint",
"start": "pnpm --parallel start"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"husky": "^9.1.7"
},
"dependencies": {
"lint-staged": "^15.2.8",
"prettier": "^3.3.3"
},
"lint-staged": {
"client/**/*.{js,jsx,ts,tsx}": [
"eslint --config ./client/.eslintrc.cjs --fix",
"prettier --write",
"pnpm --filter client lint"
],
"server/**/*.{js,ts}": [
"eslint --config ./server/.eslintrc.cjs --fix",
"prettier --write"
],
"**/*.{json,md}": [
"prettier --write"
]
}
}