44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"name": "@freecodecamp/freecodecamp",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"postinstall": "npm run bootstrap",
|
|
"prebootstrap": "npm run ensure-env",
|
|
"bootstrap": "lerna bootstrap",
|
|
"clean": "lerna clean",
|
|
"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 with fixing.'",
|
|
"seed": "npm-run-all -p seed:*",
|
|
"seed:challenges": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",
|
|
"seed:news": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedNewsArticles",
|
|
"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:challenge-formatting": "node ./tools/scripts/ci/ensure-challenge-formatting.js",
|
|
"test:guide-formatting": "node ./tools/scripts/ci/ensure-guide-formatting.js",
|
|
"test:server": "cd ./api-server && npm test && cd ../",
|
|
"test:tools": "jest ./tools"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^5.2.0",
|
|
"debug": "^4.0.1",
|
|
"dotenv": "^6.0.0",
|
|
"eslint-config-freecodecamp": "^1.1.1",
|
|
"faker": "^4.1.0",
|
|
"gray-matter": "^4.0.1",
|
|
"jest": "^23.6.0",
|
|
"lerna": "^3.4.0",
|
|
"lodash": "^4.17.11",
|
|
"npm-run-all": "^4.1.5",
|
|
"ora": "^3.0.0",
|
|
"readdirp-walk": "^1.6.0",
|
|
"shortid": "^2.2.14",
|
|
"slugg": "^1.2.1",
|
|
"tree-kill": "^1.2.0"
|
|
}
|
|
}
|