Add basic pre-commit hook to make sure tests pass

This commit is contained in:
Timothy Farrell 2018-07-18 05:19:15 -05:00
parent 10e962e6e2
commit 2536b1a32a

View File

@ -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": ["reactive"],
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",