freeCodeCamp/package.json

75 lines
2.7 KiB
JSON
Raw Normal View History

2018-09-05 12:30:54 +00:00
{
"name": "@freecodecamp/freecodecamp",
"version": "0.0.1",
"scripts": {
2018-11-16 18:22:52 +00:00
"bootstrap": "lerna bootstrap",
"clean": "lerna clean && shx rm -rf node_modules",
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",
"docker:bash": "docker-compose run --rm freecodecamp bash",
"docker:develop": "docker-compose up",
"docker:install": "npm run docker:bash -- -c \"npm install\"",
"docker:install2": "docker-compose run --rm -u root freecodecamp bash -c \"npm install -g npm@5.7.1 && su node -c 'npm install'\"",
"docker:seed": "npm run docker:bash -- -c \"npm run seed\"",
"docker:test": "npm run docker:bash -- -c \"npm run test\"",
"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:*",
"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:*",
"test:client": "cd ./client && npm test && cd ../",
"test:curriculum": "cd ./curriculum && npm test && cd ../",
"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.'",
"test:server": "cd ./api-server && npm test && cd ../",
"test:tools": "jest ./tools"
},
2018-09-05 12:30:54 +00:00
"devDependencies": {
2019-02-18 18:23:30 +00:00
"@freecodecamp/eslint-config": "^2.0.2",
"babel-eslint": "^10.0.1",
"cross-env": "^5.2.0",
"debug": "^4.0.1",
2018-10-07 07:51:58 +00:00
"dotenv": "^6.0.0",
"eslint": "^5.12.1",
2019-02-18 22:43:11 +00:00
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-babel": "^5.3.0",
"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",
"eslint-plugin-react": "^7.12.4",
2018-11-09 15:19:03 +00:00
"faker": "^4.1.0",
"gray-matter": "^4.0.1",
2019-02-18 23:08:59 +00:00
"husky": "^1.3.1",
"jest": "^23.6.0",
"lerna": "^3.11.1",
2019-02-18 23:08:59 +00:00
"lint-staged": "^8.1.4",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.5",
"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",
"shx": "^0.3.2",
2019-02-20 13:07:10 +00:00
"sinon": "^7.2.4",
"sinon-express-mock": "^2.1.0",
"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
}
}