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

Commit d72a51c

Browse files
author
Morten Christensen
committed
added test pre-commit hook
1 parent 5ea8bd9 commit d72a51c

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
@@ -44,6 +44,7 @@
4444
"@types/mocha": "2.2.32",
4545
"@types/node": "^6.0.46",
4646
"chai": "3.5.0",
47+
"ghooks": "^1.3.2",
4748
"mocha": "3.1.2",
4849
"nodemon": "1.11.0",
4950
"npm-run-all": "3.1.1",
@@ -55,5 +56,10 @@
5556
"engines": {
5657
"node": ">=6.0.0",
5758
"npm": "~3.0.0"
59+
},
60+
"config": {
61+
"ghooks": {
62+
"pre-commit": "npm run test"
63+
}
5864
}
5965
}

0 commit comments

Comments
 (0)