Add basic pre-commit hook to make sure tests pass
This commit is contained in:
parent
44319fe3bf
commit
6dc3498f5b
@ -5,7 +5,8 @@
|
||||
"main": "src/index.js",
|
||||
"files": ["src"],
|
||||
"scripts": {
|
||||
"test": "node ../../bin/runTests.js ./"
|
||||
"test": "node ../../bin/runTests.js ./",
|
||||
"pre-commit": "npm run test"
|
||||
},
|
||||
"keywords": ["router"],
|
||||
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user