Add basic pre-commit hook to make sure tests pass
This commit is contained in:
parent
8c24feee9a
commit
81366f23ab
@ -5,7 +5,8 @@
|
||||
"main": "src/index.js",
|
||||
"files": ["dist", "lib", "src"],
|
||||
"scripts": {
|
||||
"test": "node ../../bin/runTests.js ./"
|
||||
"test": "node ../../bin/runTests.js ./",
|
||||
"pre-commit": "npm run test"
|
||||
},
|
||||
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Reference in New Issue
Block a user