feat: Define a new lint script

pull/29731/head^2
Bouncey 2019-02-06 14:24:03 +00:00 committed by mrugesh mohapatra
parent 42b6e91bfd
commit 6050b0ea84
1 changed files with 5 additions and 1 deletions

View File

@ -8,8 +8,12 @@
"develop:client": "cd ./client && npm run develop",
"develop:server": "cd ./api-server && node development-entry.js",
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js",
"lint": "echo 'Warning: TODO - Define Linting with fixing.'",
"lint": "npm-run-all -p lint:*",
"lint:api": "eslint api-server --ignore-pattern 'api-server/node_modules/**/*.js' --ignore-pattern 'api-server/public/js/**/*.js' --ignore-pattern 'api-server/lib/**/*.js'",
"lint:client": "echo 'Warning: TODO - Define Linting with fixing.'",
"lint:config": "echo 'Warning: TODO - Define Linting with fixing.'",
"lint:curriculum": "echo 'Warning: TODO - Define Linting with fixing.'",
"lint:tools": "echo 'Warning: TODO - Define Linting with fixing.'",
"seed": "npm-run-all -p seed:*",
"seed:auth-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
"seed:challenges": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",