Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 2ea7c28

Browse files
committed
Add Husky to make it harder to push failing tests
1 parent 8657129 commit 2ea7c28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"test-cli": "npm-run-all --parallel test-cli:*",
1818
"test": "npm-run-all lint test-cli check:*"
1919
},
20+
"husky": {
21+
"hooks": {
22+
"pre-push": "npm test"
23+
}
24+
},
2025
"engines": {
2126
"node": ">=10.0.0"
2227
},
@@ -34,6 +39,7 @@
3439
},
3540
"devDependencies": {
3641
"detective-cjs": "^3.0.0",
42+
"husky": "^3.0.0",
3743
"installed-check": "^2.2.0",
3844
"npm-run-all": "^4.1.5",
3945
"standard": "^12.0.1"

0 commit comments

Comments
 (0)