Skip to content

Commit b14ea54

Browse files
committed
chore: use pnpm
1 parent 206f3db commit b14ea54

File tree

4 files changed

+5436
-3868
lines changed

4 files changed

+5436
-3868
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"test": "jest --no-cache",
1616
"lint": "eslint src --ext .js,.ts",
1717
"format": "prettier --write .",
18-
"backup": "git add . && git commit -m \"chore: backup\" && git push"
18+
"backup": "git add . && git commit -m \"chore: backup\" && git push",
19+
"prepare": "simple-git-hooks"
1920
},
2021
"devDependencies": {
2122
"eslint": "^8.5.0",
@@ -25,14 +26,14 @@
2526
"lint-staged": "11.1.2",
2627
"pkg": "^5.7.0",
2728
"prettier": "^2.5.1",
28-
"yorkie": "^2.0.0"
29+
"simple-git-hooks": "^2.8.1"
2930
},
3031
"dependencies": {
3132
"dayjs": "^1.10.7"
3233
},
33-
"gitHooks": {
34-
"pre-commit": "lint-staged",
35-
"commit-msg": "node scripts/verifyCommit.js"
34+
"simple-git-hooks": {
35+
"pre-commit": "pnpm exec lint-staged --concurrent false",
36+
"commit-msg": "pnpm exec node scripts/verifyCommit $1"
3637
},
3738
"lint-staged": {
3839
"*.js": [

0 commit comments

Comments
 (0)