forked from keven1024/015
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.55 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.55 KB
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": "015",
"version": "1.0.0",
"private": true,
"description": "",
"scripts": {
"dev": "concurrently -n front,backend,worker -c blue,green,yellow 'pnpm:dev:front' 'pnpm:dev:backend' 'pnpm:dev:worker'",
"dev:front": "cd front && pnpm run dev",
"dev:backend": "cd backend && air",
"dev:worker": "cd worker && air",
"lint": "concurrently -n front,backend,worker -c blue,green,yellow 'pnpm:lint:front' 'pnpm:lint:backend' 'pnpm:lint:worker'",
"lint:front": "cd front && pnpm nuxt typecheck",
"lint:backend": "cd backend && golangci-lint run",
"lint:worker": "cd worker && golangci-lint run",
"prepare": "husky",
"up-deps": "concurrently -n backend,worker,models,utils -c green,yellow,blue,magenta 'pnpm:up-deps:backend' 'pnpm:up-deps:worker' 'pnpm:up-deps:models' 'pnpm:up-deps:utils'",
"up-deps:backend": "cd backend && go get -u",
"up-deps:worker": "cd worker && go get -u",
"up-deps:models": "cd pkg/models && go get -u",
"up-deps:utils": "cd pkg/utils && go get -u"
},
"workspaces": [
"front"
],
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
},
"lint-staged": {
"*.vue": "prettier --write",
"*.ts": "prettier --write",
"*.json": "prettier --write"
},
"author": "",
"license": "ISC",
"devDependencies": {
"concurrently": "^9.2.1",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"prettier": "^3.8.1"
}
}