egg_server/package.json
zhaoyingbo 6e65581bbf
All checks were successful
Egg CI/CD / build-image (push) Successful in 32s
Egg CI/CD / deploy (push) Successful in 37s
feat: 接入lint 和 husky
2024-07-25 01:48:22 +00:00

39 lines
870 B
JSON

{
"name": "egg_server",
"module": "index.ts",
"type": "module",
"scripts": {
"start": "bun run index.ts",
"lint": "eslint --fix .",
"prepare": "husky",
"prettier": "prettier --write ."
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.7.0",
"@types/node-schedule": "^2.1.7",
"bun-types": "latest",
"eslint": "^9.7.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.1",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"typescript-eslint": "^7.17.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"node-schedule": "^2.1.1",
"pocketbase": "^0.21.3"
}
}