2018-09-05 12:30:54 +00:00
|
|
|
{
|
|
|
|
"name": "@freecodecamp/freecodecamp",
|
|
|
|
"version": "0.0.1",
|
2021-03-27 14:46:20 +00:00
|
|
|
"description": "The freeCodeCamp.org open-source codebase and curriculum",
|
|
|
|
"license": "BSD-3-Clause",
|
|
|
|
"private": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 14.0.0",
|
|
|
|
"npm": "^6.14.12"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/freeCodeCamp/freeCodeCamp.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/freeCodeCamp/freeCodeCamp/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/freeCodeCamp/freeCodeCamp#readme",
|
|
|
|
"author": "freeCodeCamp <team@freecodecamp.org>",
|
|
|
|
"main": "none",
|
2018-09-06 13:58:51 +00:00
|
|
|
"scripts": {
|
2021-05-05 14:32:22 +00:00
|
|
|
"analyze-bundle": "webpack-bundle-analyzer",
|
2021-05-07 18:18:11 +00:00
|
|
|
"audit": "npm audit & npx lerna exec --no-bail --concurrency 1 --stream -- npm audit",
|
|
|
|
"audit:fix": "npm audit fix & npx lerna exec --no-bail --concurrency 1 --stream -- npm audit fix",
|
2021-03-27 14:46:20 +00:00
|
|
|
"bootstrap": "lerna bootstrap --ci",
|
2021-02-22 08:51:17 +00:00
|
|
|
"prebuild": "npm run ensure-env",
|
|
|
|
"build": "npm-run-all -p build:*",
|
2021-05-05 11:10:48 +00:00
|
|
|
"build-workers": "cd ./client && npm run prebuild",
|
2019-08-15 09:11:29 +00:00
|
|
|
"build:client": "cd ./client && npm run build",
|
2021-02-25 20:02:35 +00:00
|
|
|
"build:curriculum": "cd ./curriculum && npm run build",
|
2021-03-27 14:46:20 +00:00
|
|
|
"build:server": "cd ./api-server && npm run build",
|
2021-02-22 08:51:17 +00:00
|
|
|
"clean": "npm-run-all clean:client clean:server clean:packages clean:root-deps",
|
2019-09-27 07:30:34 +00:00
|
|
|
"clean-and-develop": "npm run clean && npm ci && npm run develop",
|
2020-05-14 13:10:46 +00:00
|
|
|
"clean:client": "cd ./client && npm run clean",
|
2021-02-25 20:02:35 +00:00
|
|
|
"clean:curriculum": "shx rm ./config/curriculum.json",
|
2020-05-14 13:10:46 +00:00
|
|
|
"clean:gatsby-site": "npm run clean:client",
|
2021-03-27 14:46:20 +00:00
|
|
|
"clean:packages": "lerna clean -y",
|
|
|
|
"clean:root-deps": "shx rm -rf node_modules",
|
|
|
|
"clean:server": "shx rm -rf ./api-server/lib",
|
2020-06-09 20:17:13 +00:00
|
|
|
"precypress": "node ./cypress-install.js",
|
2019-10-05 22:38:38 +00:00
|
|
|
"cypress": "cypress",
|
2021-06-14 18:14:43 +00:00
|
|
|
"cypress:dev:run": "npm run cypress -- run",
|
2020-11-20 10:39:34 +00:00
|
|
|
"cypress:dev:watch": "npm run cypress -- open",
|
2021-03-27 14:46:20 +00:00
|
|
|
"cypress:install": "cypress install && echo 'for use with ./cypress-install.js'",
|
|
|
|
"cypress:install-build-tools": "sh ./cypress-install.sh",
|
2020-11-20 10:39:34 +00:00
|
|
|
"cypress:prd:run": "npm run cypress -- run",
|
|
|
|
"cypress:prd:watch": "npm run cypress -- open",
|
2021-02-25 20:02:35 +00:00
|
|
|
"predevelop": "npm run ensure-env",
|
|
|
|
"develop": "npm-run-all build:curriculum -p develop:*",
|
2019-02-08 15:36:40 +00:00
|
|
|
"develop:client": "cd ./client && npm run develop",
|
2019-06-15 14:43:15 +00:00
|
|
|
"develop:server": "cd ./api-server && npm run develop",
|
2020-10-03 23:32:42 +00:00
|
|
|
"docs:serve": "docsify serve ./docs -o --port 3200",
|
2021-03-16 17:07:07 +00:00
|
|
|
"e2e": "npm run e2e:dev:run",
|
2020-06-13 09:24:15 +00:00
|
|
|
"e2e:dev:run": "start-test develop ':3000/status/ping|8000' cypress:dev:run",
|
2021-03-27 14:46:20 +00:00
|
|
|
"e2e:dev:watch": "start-test develop ':3000/status/ping|8000' cypress:dev:watch",
|
2020-06-13 09:24:15 +00:00
|
|
|
"e2e:prd:run": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:run",
|
2021-03-27 14:46:20 +00:00
|
|
|
"e2e:prd:watch": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:watch",
|
|
|
|
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/build/ensure-env.js",
|
2021-10-06 15:32:21 +00:00
|
|
|
"format": "run-s format:eslint format:prettier",
|
|
|
|
"format:eslint": "eslint . --fix",
|
|
|
|
"format:prettier": "prettier --write .",
|
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",
|
2021-02-01 03:55:13 +00:00
|
|
|
"lint": "npm-run-all ensure-env -p lint:*",
|
2019-04-12 14:44:14 +00:00
|
|
|
"lint:challenges": "cd ./curriculum && npm run lint",
|
2021-06-17 18:23:52 +00:00
|
|
|
"lint:js": "eslint --max-warnings 0 .",
|
2021-09-28 11:06:21 +00:00
|
|
|
"lint:ts": "tsc -p client && tsc -p tools/ui-components",
|
2021-10-06 15:32:21 +00:00
|
|
|
"lint:prettier": "prettier --list-different .",
|
2019-02-18 23:08:59 +00:00
|
|
|
"postinstall": "npm run bootstrap",
|
2020-12-03 15:45:45 +00:00
|
|
|
"seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
|
|
|
|
"seed:certified-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser certUser",
|
2019-10-17 12:51:01 +00:00
|
|
|
"serve:client": "cd ./client && npm run serve",
|
2021-08-14 02:57:13 +00:00
|
|
|
"serve:client-ci": "cd ./client && npm run serve-ci",
|
2020-04-21 08:11:20 +00:00
|
|
|
"start": "npm-run-all ensure-env -p develop:server serve:client",
|
2021-08-14 02:57:13 +00:00
|
|
|
"start-ci": "npm-run-all ensure-env -p start:server serve:client-ci",
|
2021-02-25 20:02:35 +00:00
|
|
|
"start:server": "cd ./api-server && npm start",
|
2021-05-10 19:07:01 +00:00
|
|
|
"storybook": "cd ./tools/ui-components && npm run storybook",
|
2021-05-14 16:11:21 +00:00
|
|
|
"test": "run-s ensure-env build:curriculum build-workers test:*",
|
2021-05-16 12:38:04 +00:00
|
|
|
"test:source": "jest",
|
2020-08-27 16:34:04 +00:00
|
|
|
"test:curriculum": "cd ./curriculum && npm test",
|
2021-05-16 12:38:04 +00:00
|
|
|
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
|
|
|
|
"test-client": "jest client",
|
|
|
|
"test-curriculum-js": "jest curriculum",
|
|
|
|
"test-server": "jest api-server",
|
|
|
|
"test-tools": "jest tools",
|
|
|
|
"test-utils": "jest utils",
|
2021-06-07 07:01:20 +00:00
|
|
|
"test-ui-components": "jest tools/ui-components",
|
2021-05-06 06:51:38 +00:00
|
|
|
"prepare": "husky install"
|
2021-03-27 14:46:20 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-06-04 11:08:21 +00:00
|
|
|
"dotenv": "10.0.0",
|
2021-05-04 20:15:40 +00:00
|
|
|
"invariant": "2.2.4"
|
2021-03-27 14:46:20 +00:00
|
|
|
},
|
2018-09-05 12:30:54 +00:00
|
|
|
"devDependencies": {
|
2021-10-30 03:20:44 +00:00
|
|
|
"@babel/eslint-parser": "7.16.0",
|
|
|
|
"@babel/plugin-proposal-function-bind": "7.16.0",
|
|
|
|
"@babel/preset-env": "7.16.0",
|
|
|
|
"@babel/preset-react": "7.16.0",
|
|
|
|
"@babel/preset-typescript": "7.16.0",
|
2021-07-20 17:13:51 +00:00
|
|
|
"@testing-library/cypress": "7.0.7",
|
2021-10-19 12:08:39 +00:00
|
|
|
"@testing-library/dom": "8.10.1",
|
2021-06-14 11:05:42 +00:00
|
|
|
"@testing-library/jest-dom": "5.14.1",
|
2021-10-20 00:58:02 +00:00
|
|
|
"@testing-library/user-event": "13.5.0",
|
2021-10-05 04:06:30 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
|
|
"@typescript-eslint/parser": "4.33.0",
|
2021-03-27 15:27:57 +00:00
|
|
|
"babel-eslint": "10.1.0",
|
2021-05-16 18:56:05 +00:00
|
|
|
"babel-plugin-transform-imports": "2.0.0",
|
2021-03-27 15:27:57 +00:00
|
|
|
"cross-env": "7.0.3",
|
2021-07-08 03:05:05 +00:00
|
|
|
"cypress": "7.7.0",
|
2021-03-27 15:27:57 +00:00
|
|
|
"docsify-cli": "4.4.3",
|
2021-07-30 23:36:28 +00:00
|
|
|
"eslint": "7.32.0",
|
2021-05-02 22:18:19 +00:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-10-13 07:30:49 +00:00
|
|
|
"eslint-plugin-import": "2.25.2",
|
2021-09-12 09:57:29 +00:00
|
|
|
"eslint-plugin-jest-dom": "3.9.2",
|
2021-03-27 15:27:57 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
|
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
2021-09-30 13:03:43 +00:00
|
|
|
"eslint-plugin-react": "7.26.1",
|
2021-05-06 21:26:12 +00:00
|
|
|
"eslint-plugin-react-hooks": "2.5.1",
|
2021-09-23 19:44:58 +00:00
|
|
|
"eslint-plugin-testing-library": "4.12.4",
|
2021-06-08 18:18:39 +00:00
|
|
|
"execa": "5.1.1",
|
2021-10-21 04:17:03 +00:00
|
|
|
"husky": "7.0.4",
|
2021-10-19 10:49:46 +00:00
|
|
|
"jest": "27.3.1",
|
2021-03-27 15:27:57 +00:00
|
|
|
"js-yaml": "3.14.1",
|
|
|
|
"lerna": "4.0.0",
|
2021-10-26 23:37:57 +00:00
|
|
|
"lint-staged": "11.2.6",
|
2021-03-27 15:27:57 +00:00
|
|
|
"lodash": "4.17.21",
|
2021-08-31 04:49:10 +00:00
|
|
|
"markdownlint": "0.24.0",
|
2021-09-23 22:04:52 +00:00
|
|
|
"mock-fs": "5.1.1",
|
2021-03-27 15:27:57 +00:00
|
|
|
"npm-run-all": "4.1.5",
|
2021-06-08 18:18:39 +00:00
|
|
|
"ora": "5.4.1",
|
2021-09-16 08:14:47 +00:00
|
|
|
"prettier": "2.4.1",
|
2021-09-16 16:43:01 +00:00
|
|
|
"prismjs": "1.25.0",
|
2021-06-09 16:48:09 +00:00
|
|
|
"process": "0.11.10",
|
2021-03-27 15:27:57 +00:00
|
|
|
"shx": "0.3.3",
|
2021-09-02 19:52:34 +00:00
|
|
|
"start-server-and-test": "1.14.0",
|
2021-10-12 22:16:55 +00:00
|
|
|
"typescript": "4.4.4",
|
2021-10-12 14:07:47 +00:00
|
|
|
"webpack-bundle-analyzer": "4.5.0"
|
2021-02-25 20:02:35 +00:00
|
|
|
}
|
2021-07-06 10:28:51 +00:00
|
|
|
}
|