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": {
|
2021-11-02 11:31:45 +00:00
|
|
|
"node": ">=16",
|
|
|
|
"npm": ">=8"
|
2021-03-27 14:46:20 +00:00
|
|
|
},
|
|
|
|
"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",
|
2021-11-24 11:02:30 +00:00
|
|
|
"workspaces": [
|
|
|
|
"api-server",
|
|
|
|
"client",
|
|
|
|
"client/plugins/fcc-source-challenges",
|
|
|
|
"client/plugins/gatsby-remark-node-identity",
|
|
|
|
"curriculum",
|
2022-04-26 17:33:43 +00:00
|
|
|
"tools/challenge-editor/api",
|
|
|
|
"tools/challenge-editor/client",
|
2021-11-24 11:02:30 +00:00
|
|
|
"tools/challenge-helper-scripts",
|
|
|
|
"tools/challenge-parser",
|
|
|
|
"tools/crowdin",
|
|
|
|
"tools/scripts/build",
|
|
|
|
"tools/scripts/seed",
|
|
|
|
"tools/ui-components"
|
|
|
|
],
|
2018-09-06 13:58:51 +00:00
|
|
|
"scripts": {
|
2022-08-03 15:06:24 +00:00
|
|
|
"audit-challenges": "npm run create:config && ts-node tools/challenge-auditor/index.ts",
|
2021-05-05 14:32:22 +00:00
|
|
|
"analyze-bundle": "webpack-bundle-analyzer",
|
2022-03-29 15:51:13 +00:00
|
|
|
"prebuild": "npm-run-all create:*",
|
2021-02-22 08:51:17 +00:00
|
|
|
"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",
|
2022-04-26 17:33:43 +00:00
|
|
|
"challenge-editor": "npm-run-all -p challenge-editor:*",
|
|
|
|
"challenge-editor:client": "cd ./tools/challenge-editor/client && npm start",
|
|
|
|
"challenge-editor:server": "cd ./tools/challenge-editor/api && npm start",
|
2022-02-24 11:26:43 +00:00
|
|
|
"clean": "npm-run-all -p clean:*",
|
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",
|
2022-10-26 14:32:20 +00:00
|
|
|
"clean:curriculum": "npx --yes rimraf ./config/curriculum.json",
|
|
|
|
"clean:packages": "npx --yes rimraf ./**/node_modules",
|
|
|
|
"clean:server": "npx --yes rimraf ./api-server/lib",
|
2022-01-25 10:34:16 +00:00
|
|
|
"create:config": "tsc -p config && npm run ensure-env",
|
2022-03-29 15:51:13 +00:00
|
|
|
"create:utils": "tsc -p utils",
|
2020-06-09 20:17:13 +00:00
|
|
|
"precypress": "node ./cypress-install.js",
|
2019-10-05 22:38:38 +00:00
|
|
|
"cypress": "cypress",
|
2022-10-11 13:10:25 +00:00
|
|
|
"cypress:dev:run": "npm run cypress -- run --spec cypress/e2e/default/**/*.js",
|
2020-11-20 10:39:34 +00:00
|
|
|
"cypress:dev:watch": "npm run cypress -- open",
|
2022-10-11 13:10:25 +00:00
|
|
|
"cypress:prd:run": "npm run cypress -- run --spec cypress/e2e/default/**/*.js",
|
|
|
|
"cypress:prd: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",
|
2022-03-29 15:51:13 +00:00
|
|
|
"predevelop": "npm-run-all create:*",
|
2021-02-25 20:02:35 +00:00
|
|
|
"develop": "npm-run-all build:curriculum -p develop:*",
|
2022-02-08 02:06:39 +00:00
|
|
|
"develop:client": "npm run build:curriculum && cd ./client && npm run develop",
|
2021-11-25 11:01:50 +00:00
|
|
|
"develop:server": "npm run predevelop && cd ./api-server && npm run develop",
|
2022-09-29 18:53:11 +00:00
|
|
|
"docs:serve": "docsify serve ./docs -o --port 3400",
|
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",
|
2022-01-25 10:34:16 +00:00
|
|
|
"ensure-env": "cross-env DEBUG=fcc:* ts-node ./tools/scripts/build/ensure-env.ts",
|
2021-10-06 15:32:21 +00:00
|
|
|
"format": "run-s format:eslint format:prettier",
|
2022-10-14 20:05:39 +00:00
|
|
|
"format:curriculum": "run-s format:curriculum:eslint format:curriculum:prettier",
|
|
|
|
"format:curriculum:eslint": "eslint ./curriculum --fix",
|
|
|
|
"format:curriculum:prettier": "prettier --write ./curriculum",
|
2021-10-06 15:32:21 +00:00
|
|
|
"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",
|
2022-10-20 10:44:36 +00:00
|
|
|
"knip": "knip -c config/knip/knip.json --dir client --include files",
|
|
|
|
"knip:client": "knip -c config/knip/knip.json --dir client",
|
2022-04-19 15:27:19 +00:00
|
|
|
"prelint": "npm run -w=client predevelop",
|
2022-03-29 15:51:13 +00:00
|
|
|
"lint": "npm-run-all create:* -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 .",
|
2022-03-29 15:51:13 +00:00
|
|
|
"lint:ts": "tsc && tsc -p config && tsc -p tools/ui-components && tsc -p utils",
|
2021-10-06 15:32:21 +00:00
|
|
|
"lint:prettier": "prettier --list-different .",
|
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",
|
2022-03-29 15:51:13 +00:00
|
|
|
"start": "npm-run-all create:* -p develop:server serve:client",
|
|
|
|
"start-ci": "npm-run-all create:* -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",
|
2022-03-29 15:51:13 +00:00
|
|
|
"test": "run-s create:* 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": {
|
2022-09-17 06:13:19 +00:00
|
|
|
"@babel/eslint-parser": "7.19.1",
|
2022-07-23 00:51:18 +00:00
|
|
|
"@babel/plugin-proposal-function-bind": "7.18.9",
|
2022-10-15 13:06:13 +00:00
|
|
|
"@babel/preset-env": "7.19.4",
|
2022-07-06 06:02:38 +00:00
|
|
|
"@babel/preset-react": "7.18.6",
|
|
|
|
"@babel/preset-typescript": "7.18.6",
|
2022-06-04 00:05:01 +00:00
|
|
|
"@testing-library/cypress": "8.0.3",
|
2022-10-08 18:48:25 +00:00
|
|
|
"@testing-library/dom": "8.19.0",
|
2022-08-06 15:25:07 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2021-10-20 00:58:02 +00:00
|
|
|
"@testing-library/user-event": "13.5.0",
|
2022-08-13 02:59:44 +00:00
|
|
|
"@types/chai": "4.3.3",
|
2022-04-09 15:01:18 +00:00
|
|
|
"@types/enzyme": "3.10.12",
|
2021-12-01 05:06:52 +00:00
|
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
2021-12-02 15:18:15 +00:00
|
|
|
"@types/eslint": "7.29.0",
|
2022-07-04 14:14:30 +00:00
|
|
|
"@types/estree": "0.0.52",
|
2021-11-22 13:48:34 +00:00
|
|
|
"@types/faker": "5.5.9",
|
2022-10-01 23:56:37 +00:00
|
|
|
"@types/inquirer": "8.2.4",
|
2022-06-04 02:55:00 +00:00
|
|
|
"@types/jest": "27.5.2",
|
2022-02-24 21:05:26 +00:00
|
|
|
"@types/jquery": "3.5.14",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/loadable__component": "5.13.4",
|
2022-02-06 21:39:34 +00:00
|
|
|
"@types/lodash-es": "4.17.6",
|
2022-10-29 07:19:37 +00:00
|
|
|
"@types/node": "16.18.2",
|
2022-01-27 19:26:56 +00:00
|
|
|
"@types/prismjs": "1.26.0",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/psl": "1.1.0",
|
2022-10-08 11:00:53 +00:00
|
|
|
"@types/reach__router": "1.3.11",
|
2022-10-29 08:45:01 +00:00
|
|
|
"@types/react": "17.0.52",
|
2022-10-29 10:51:58 +00:00
|
|
|
"@types/react-dom": "17.0.18",
|
2021-12-24 05:19:13 +00:00
|
|
|
"@types/react-helmet": "6.1.5",
|
2022-10-04 08:26:12 +00:00
|
|
|
"@types/react-instantsearch-core": "6.26.2",
|
|
|
|
"@types/react-instantsearch-dom": "6.12.3",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/react-monaco-editor": "0.16.0",
|
2022-04-16 19:25:45 +00:00
|
|
|
"@types/react-redux": "7.1.24",
|
2022-09-17 20:59:41 +00:00
|
|
|
"@types/react-responsive": "8.0.5",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/react-spinkit": "3.0.7",
|
2022-04-16 22:14:52 +00:00
|
|
|
"@types/react-test-renderer": "17.0.2",
|
2022-06-25 04:35:55 +00:00
|
|
|
"@types/react-transition-group": "4.4.5",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/redux-actions": "2.6.2",
|
2022-01-12 11:04:42 +00:00
|
|
|
"@types/sanitize-html": "2.6.2",
|
2021-11-19 19:22:38 +00:00
|
|
|
"@types/store": "2.0.2",
|
2022-10-30 19:20:42 +00:00
|
|
|
"@types/validator": "13.7.10",
|
2022-10-31 00:14:44 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.41.0",
|
|
|
|
"@typescript-eslint/parser": "5.41.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",
|
2022-10-30 08:02:21 +00:00
|
|
|
"cypress": "10.11.0",
|
2022-08-08 15:43:23 +00:00
|
|
|
"cypress-plugin-stripe-elements": "1.0.2",
|
2022-10-22 00:25:31 +00:00
|
|
|
"cypress-plugin-tab": "1.0.5",
|
2022-03-12 10:32:11 +00:00
|
|
|
"docsify-cli": "4.4.4",
|
2021-07-30 23:36:28 +00:00
|
|
|
"eslint": "7.32.0",
|
2022-03-03 14:35:47 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2022-04-10 06:08:14 +00:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2021-12-26 08:41:18 +00:00
|
|
|
"eslint-plugin-jest-dom": "3.9.4",
|
2022-07-23 03:37:02 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
2022-08-22 12:23:52 +00:00
|
|
|
"eslint-plugin-no-only-tests": "2.6.0",
|
2021-03-27 15:27:57 +00:00
|
|
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
2022-10-15 20:59:29 +00:00
|
|
|
"eslint-plugin-react": "7.31.10",
|
2022-06-20 21:01:18 +00:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
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-11-22 13:48:34 +00:00
|
|
|
"faker": "5.5.3",
|
2021-10-21 04:17:03 +00:00
|
|
|
"husky": "7.0.4",
|
2022-02-08 13:10:48 +00:00
|
|
|
"jest": "27.5.1",
|
2021-03-27 15:27:57 +00:00
|
|
|
"js-yaml": "3.14.1",
|
2022-10-28 13:19:00 +00:00
|
|
|
"knip": "0.13.0",
|
2022-06-05 11:00:01 +00:00
|
|
|
"lint-staged": "12.5.0",
|
2021-03-27 15:27:57 +00:00
|
|
|
"lodash": "4.17.21",
|
2022-08-13 18:53:03 +00:00
|
|
|
"markdownlint": "0.26.2",
|
2022-10-30 13:03:59 +00:00
|
|
|
"mock-fs": "5.2.0",
|
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",
|
2022-06-20 17:37:44 +00:00
|
|
|
"prettier": "2.7.1",
|
2022-08-28 22:44:06 +00:00
|
|
|
"prismjs": "1.29.0",
|
2021-06-09 16:48:09 +00:00
|
|
|
"process": "0.11.10",
|
2022-02-24 11:26:43 +00:00
|
|
|
"rimraf": "3.0.2",
|
2021-09-02 19:52:34 +00:00
|
|
|
"start-server-and-test": "1.14.0",
|
2022-07-17 01:42:59 +00:00
|
|
|
"ts-node": "10.9.1",
|
2022-10-03 00:57:34 +00:00
|
|
|
"typescript": "4.8.4",
|
2022-10-30 15:54:15 +00:00
|
|
|
"webpack-bundle-analyzer": "4.7.0"
|
2021-02-25 20:02:35 +00:00
|
|
|
}
|
2021-07-06 10:28:51 +00:00
|
|
|
}
|