mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "015",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"scripts": {
|
|
"dev": "npm-run-all -p dev:front dev:backend dev:worker",
|
|
"dev:front": "cd front && pnpm run dev",
|
|
"dev:backend": "cd backend && export PATH=$PATH:$(go env GOPATH)/bin && air",
|
|
"dev:worker": "cd worker && export PATH=$PATH:$(go env GOPATH)/bin && air",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"postinstall": "npx husky init",
|
|
"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": {
|
|
"husky": "^9.1.6",
|
|
"lint-staged": "^15.2.10",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.3.3"
|
|
},
|
|
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
|
|
}
|