From 87e02190d59a5f477636a02aa6bba613e8b94aeb Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Tue, 30 Oct 2018 21:35:43 +0530 Subject: [PATCH] fix(npm-script): reconfigure script order --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5928155a6e..c499d3de14 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,12 @@ "bootstrap": "lerna bootstrap && lerna run build --scope @freecodecamp/curriculum", "develop": "npm-run-all -s ensure-env start-develop", "ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js", - "lint": "echo 'Warning: TODO - Define Linting.'", - "pretest": "npm-run-all -s lint", + "lint": "echo 'Warning: TODO - Define Linting with fixing.'", "seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges", "start-develop": "node ./tools/scripts/start-develop.js", + "pretest": "npm-run-all -s test:lint", "test": "npm-run-all -p test:*", + "test:lint": "echo 'Warning: TODO - Define Linting tests.'", "test:client": "cd ./client && npm test && cd ../", "test:curriculum": "cd ./curriculum && npm test && cd ../", "test:guide-directories": "node ./tools/scripts/ci/ensure-guide-page-naming.js",