chore: add commit hooks (#56)
This commit is contained in:
@@ -16,10 +16,17 @@
|
||||
],
|
||||
"bin": "dist/cli.mjs",
|
||||
"scripts": {
|
||||
"prepare": "simple-git-hooks",
|
||||
"build": "pkgroll --minify",
|
||||
"lint": "eslint --cache .",
|
||||
"type-check": "tsc"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": "eslint --cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@clack/prompts": "^0.2.2",
|
||||
"@pvtnbr/eslint-config": "^0.33.0",
|
||||
@@ -30,8 +37,10 @@
|
||||
"execa": "^7.0.0",
|
||||
"ini": "^3.0.1",
|
||||
"kolorist": "^1.7.0",
|
||||
"lint-staged": "^13.1.2",
|
||||
"openai": "^3.1.0",
|
||||
"pkgroll": "^1.9.0",
|
||||
"simple-git-hooks": "^2.8.1",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
Reference in New Issue
Block a user