Update package.json

* Ignore deploy folder for standard linter
* Add build step
This commit is contained in:
Christoph Diehl 2018-01-31 12:23:34 +01:00
parent 51ff738c34
commit e6af48caca
No known key found for this signature in database
GPG Key ID: 799CE5B68FEF404A
1 changed files with 4 additions and 1 deletions

View File

@ -18,11 +18,14 @@
"scripts": {
"test": "grunt test --verbose",
"test:lint": "cross-env NODE_ENV=test standard --verbose",
"test:lint:fix": "cross-env NODE_ENV=test standard --fix --verbose",
"build": "./build.py -l lib/ -d deploy/",
"precommit": "npm run test:lint"
},
"standard": {
"ignore": [
"tests/**"
"tests/**",
"deploy/"
],
"globals": [
"random",