Merge pull request #20 from MozillaSecurity/postinstall

Build after npm install
This commit is contained in:
Christoph Diehl 2018-02-05 21:28:51 +01:00 committed by GitHub
commit 12fa7b4ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@
"test:lint": "cross-env NODE_ENV=test standard --verbose", "test:lint": "cross-env NODE_ENV=test standard --verbose",
"test:lint:fix": "cross-env NODE_ENV=test standard --fix --verbose", "test:lint:fix": "cross-env NODE_ENV=test standard --fix --verbose",
"build": "./build.py -l lib/ -d deploy/", "build": "./build.py -l lib/ -d deploy/",
"postinstall": "npm build",
"precommit": "npm run test:lint" "precommit": "npm run test:lint"
}, },
"standard": { "standard": {