diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-31 12:40:37 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-31 12:41:29 +1100 |
commit | 16bbe495d1a0fabfb92ba414e27b1108df3c5b1c (patch) | |
tree | d49a97d8bbdf537659fc9218711bb6c87387f8fb /package.json | |
parent | 98e65dc93dd32a7c42ebe9a02a3e9207f2a4c0c4 (diff) | |
download | fengari-16bbe495d1a0fabfb92ba414e27b1108df3c5b1c.tar.gz fengari-16bbe495d1a0fabfb92ba414e27b1108df3c5b1c.tar.bz2 fengari-16bbe495d1a0fabfb92ba414e27b1108df3c5b1c.zip |
package.json: Add prepublishOnly script to catch last-minute issues
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index c6f7b83..25c60b8 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "scripts": { "lint": "eslint src/ tests/", + "prepublishOnly": "git diff-index --quiet --cached HEAD -- && npm run lint && npm run test", "test": "tape tests/*.js tests/test-suite/*.js | faucet" }, "repository": { |