Merge pull request #21 from MozillaSecurity/postinstall

Run scripts via 'npm run ...'
This commit is contained in:
pyoor 2018-02-05 19:47:03 -05:00 committed by GitHub
commit 4723596dab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +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", "postinstall": "npm run build",
"precommit": "npm run test:lint" "precommit": "npm run test:lint"
}, },
"standard": { "standard": {