mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 23:19:37 +00:00
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"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.6.2"
|
|
}
|
|
}
|