Lint most all the things on test
This commit is contained in:
@ -12,11 +12,16 @@
|
||||
"start": "babel-node server/server.js",
|
||||
"prestart-production": "bower cache clean && bower install && gulp build",
|
||||
"start-production": "node pm2Start",
|
||||
"lint": "eslint --ext=.js,.jsx .",
|
||||
"lint": "npm run lint-js && npm run lint-json",
|
||||
"lint-challenges": "jsonlint -q seed/challenges/*.json",
|
||||
"lint-nonprofits": "jsonlint -q seed/nonprofits.json",
|
||||
"lint-server": "jsonlint -q server/*.json",
|
||||
"lint-resources": "jsonlint -q server/resources/*.json",
|
||||
"lint-utils": "jsonlint -q server/utils/*.json",
|
||||
"lint-js": "eslint --ext=.js,.jsx server/ common/models common/utils config/",
|
||||
"lint-json": "npm run lint-server && npm run lint-nonprofits && npm run lint-challenges && npm run lint-resources && npm run lint-utils",
|
||||
"test-challenges": "babel-node seed/test-challenges.js | tnyan",
|
||||
"pretest": "npm run lint-challenges && npm run lint-nonprofits",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run test-challenges"
|
||||
},
|
||||
"license": "(BSD-3-Clause AND CC-BY-SA-4.0)",
|
||||
|
Reference in New Issue
Block a user