Skip to content

Commit 2c9df0b

Browse files
committed
chore: use commitmsg hook
1 parent 654ace5 commit 2c9df0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@
1111
"postinstall": "npm run lerna bootstrap",
1212
"reinstall": "npm run clean && npm install",
1313
"clean": "npm run lerna clean -- --yes && npm run lerna run clean",
14+
"commitmsg": "./@commitlint/cli/cli.js -e",
1415
"commit": "./@commitlint/prompt-cli/cli.js"
1516
},
1617
"xo": {
17-
"ignore": ["lib/**"]
18+
"ignore": [
19+
"lib/**"
20+
]
1821
},
1922
"engines": {
2023
"node": ">=4"
@@ -40,6 +43,7 @@
4043
"email": "[email protected]"
4144
},
4245
"devDependencies": {
46+
"husky": "^0.14.3",
4347
"lerna": "^2.0.0",
4448
"xo": "^0.18.2"
4549
}

0 commit comments

Comments
 (0)