2018-09-05 12:30:54 +00:00
|
|
|
{
|
|
|
|
"name": "@freecodecamp/freecodecamp",
|
|
|
|
"version": "0.0.1",
|
2018-09-06 13:58:51 +00:00
|
|
|
"scripts": {
|
2018-11-16 18:22:52 +00:00
|
|
|
"bootstrap": "lerna bootstrap",
|
2018-11-01 22:24:05 +00:00
|
|
|
"clean": "lerna clean",
|
2019-02-08 15:36:40 +00:00
|
|
|
"develop": "npm-run-all ensure-env -p develop:*",
|
|
|
|
"develop:client": "cd ./client && npm run develop",
|
|
|
|
"develop:server": "cd ./api-server && node development-entry.js",
|
2018-10-07 23:00:50 +00:00
|
|
|
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js",
|
2019-02-18 22:43:11 +00:00
|
|
|
"format": "npm run lint -- --fix",
|
2019-02-18 23:08:59 +00:00
|
|
|
"hooks:install": "node node_modules/husky/husky.js install",
|
|
|
|
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
|
2019-02-18 18:23:30 +00:00
|
|
|
"lint": "eslint .",
|
2019-02-18 23:08:59 +00:00
|
|
|
"postinstall": "npm run bootstrap",
|
2018-11-09 15:19:03 +00:00
|
|
|
"seed": "npm-run-all -p seed:*",
|
2018-10-30 21:17:07 +00:00
|
|
|
"seed:auth-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
|
2019-02-08 15:36:40 +00:00
|
|
|
"seed:challenges": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedChallenges",
|
2018-09-27 06:58:31 +00:00
|
|
|
"test": "npm-run-all -p test:*",
|
2018-10-05 12:11:28 +00:00
|
|
|
"test:client": "cd ./client && npm test && cd ../",
|
2018-10-23 13:21:53 +00:00
|
|
|
"test:curriculum": "cd ./curriculum && npm test && cd ../",
|
2018-12-06 11:18:56 +00:00
|
|
|
"test:guide-formatting": "node ./tools/scripts/ci/ensure-guide-formatting.js",
|
2019-02-08 15:36:40 +00:00
|
|
|
"test:lint": "echo 'Warning: TODO - Define Linting tests.'",
|
2018-11-30 14:29:29 +00:00
|
|
|
"test:server": "cd ./api-server && npm test && cd ../",
|
2018-10-23 13:18:46 +00:00
|
|
|
"test:tools": "jest ./tools"
|
2018-09-06 13:58:51 +00:00
|
|
|
},
|
2018-09-05 12:30:54 +00:00
|
|
|
"devDependencies": {
|
2019-02-18 18:23:30 +00:00
|
|
|
"@freecodecamp/eslint-config": "^2.0.2",
|
2019-02-06 14:14:08 +00:00
|
|
|
"babel-eslint": "^10.0.1",
|
2018-10-07 23:00:50 +00:00
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"debug": "^4.0.1",
|
2018-10-07 07:51:58 +00:00
|
|
|
"dotenv": "^6.0.0",
|
2019-02-04 11:42:31 +00:00
|
|
|
"eslint": "^5.12.1",
|
2019-02-18 22:43:11 +00:00
|
|
|
"eslint-config-prettier": "^4.0.0",
|
2019-02-06 14:14:08 +00:00
|
|
|
"eslint-plugin-babel": "^5.3.0",
|
2019-02-16 00:25:55 +00:00
|
|
|
"eslint-plugin-import": "^2.16.0",
|
|
|
|
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
2019-02-18 22:43:11 +00:00
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2019-02-04 11:42:31 +00:00
|
|
|
"eslint-plugin-react": "^7.12.4",
|
2018-11-09 15:19:03 +00:00
|
|
|
"faker": "^4.1.0",
|
2018-10-19 12:53:11 +00:00
|
|
|
"gray-matter": "^4.0.1",
|
2019-02-18 23:08:59 +00:00
|
|
|
"husky": "^1.3.1",
|
2018-10-07 23:00:50 +00:00
|
|
|
"jest": "^23.6.0",
|
2019-02-14 15:09:55 +00:00
|
|
|
"lerna": "^3.11.1",
|
2019-02-18 23:08:59 +00:00
|
|
|
"lint-staged": "^8.1.4",
|
2018-10-19 12:53:11 +00:00
|
|
|
"lodash": "^4.17.11",
|
2018-11-27 17:24:00 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2018-12-06 11:18:56 +00:00
|
|
|
"ora": "^3.0.0",
|
2019-02-18 22:43:11 +00:00
|
|
|
"prettier": "^1.16.4",
|
2019-02-27 15:32:17 +00:00
|
|
|
"readdirp-walk": "^1.7.0",
|
2018-11-09 15:19:03 +00:00
|
|
|
"shortid": "^2.2.14",
|
2019-02-20 13:07:10 +00:00
|
|
|
"sinon": "^7.2.4",
|
|
|
|
"sinon-express-mock": "^2.1.0",
|
2019-01-09 14:10:21 +00:00
|
|
|
"slugg": "^1.2.1"
|
2019-02-18 23:08:59 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
2018-09-05 12:30:54 +00:00
|
|
|
}
|
|
|
|
}
|