Update package.json
* Ignore deploy folder for standard linter * Add build step
This commit is contained in:
parent
51ff738c34
commit
e6af48caca
1 changed files with 4 additions and 1 deletions
|
@ -18,11 +18,14 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test --verbose",
|
"test": "grunt test --verbose",
|
||||||
"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",
|
||||||
|
"build": "./build.py -l lib/ -d deploy/",
|
||||||
"precommit": "npm run test:lint"
|
"precommit": "npm run test:lint"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"tests/**"
|
"tests/**",
|
||||||
|
"deploy/"
|
||||||
],
|
],
|
||||||
"globals": [
|
"globals": [
|
||||||
"random",
|
"random",
|
||||||
|
|
Loading…
Reference in a new issue