freeCodeCamp/package.json

185 lines
7.3 KiB
JSON
Raw Normal View History

2018-09-05 12:30:54 +00:00
{
"name": "@freecodecamp/freecodecamp",
"version": "0.0.1",
"description": "The freeCodeCamp.org open-source codebase and curriculum",
"license": "BSD-3-Clause",
"private": true,
"engines": {
"node": ">=16",
"npm": ">=8"
},
"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",
"workspaces": [
"api-server",
"client",
"client/plugins/fcc-source-challenges",
"client/plugins/gatsby-remark-node-identity",
"curriculum",
feat: add challenge editor tool (#45214) * feat: add challenge editor tool chore: prepare API/Client setup feat: migrate to react! feat: styling fix: useEffect loop feat: add challenge helpers feat: use actual code editor feat: styling Bring it a bit more in line with /learn * refactor: use workspaces Which unfortunately required a rollback to React 16, because having multiple React versions causes all sorts of issues. * chore: apply Oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: remove test files for now * fix: prettier issue * chore: apply oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: move scripts to root * fix: lint errors oops * chore: remove reportWebVitals thing * chore: DRY out paths * fix: create-empty-steps takes one arg * chore: start doesn't make sense now * chore: DRY out button requests * chore: one more review suggestion Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: cleanup CRA files * fix: correct note for creating new project * feat: enable js and jsx highlighting * feat: include all superblocks * feat: improve button ux * feat: add "breadcrumbs" * feat: add link back to block from step tools * chore: remove unused deps * chore: apply oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: parity between file names and commands Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-26 17:33:43 +00:00
"tools/challenge-editor/api",
"tools/challenge-editor/client",
"tools/challenge-helper-scripts",
"tools/challenge-parser",
"tools/crowdin",
"tools/scripts/build",
"tools/scripts/seed",
"tools/ui-components"
],
"scripts": {
"analyze-bundle": "webpack-bundle-analyzer",
"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",
"build:curriculum": "cd ./curriculum && npm run build",
"build:server": "cd ./api-server && npm run build",
feat: add challenge editor tool (#45214) * feat: add challenge editor tool chore: prepare API/Client setup feat: migrate to react! feat: styling fix: useEffect loop feat: add challenge helpers feat: use actual code editor feat: styling Bring it a bit more in line with /learn * refactor: use workspaces Which unfortunately required a rollback to React 16, because having multiple React versions causes all sorts of issues. * chore: apply Oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: remove test files for now * fix: prettier issue * chore: apply oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: move scripts to root * fix: lint errors oops * chore: remove reportWebVitals thing * chore: DRY out paths * fix: create-empty-steps takes one arg * chore: start doesn't make sense now * chore: DRY out button requests * chore: one more review suggestion Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: cleanup CRA files * fix: correct note for creating new project * feat: enable js and jsx highlighting * feat: include all superblocks * feat: improve button ux * feat: add "breadcrumbs" * feat: add link back to block from step tools * chore: remove unused deps * chore: apply oliver's review suggestions Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * chore: parity between file names and commands Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
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",
"clean": "npm-run-all -p clean:*",
"clean-and-develop": "npm run clean && npm ci && npm run develop",
"clean:client": "cd ./client && npm run clean",
"clean:curriculum": "rimraf ./config/curriculum.json",
"clean:packages": "rimraf ./**/node_modules",
"clean:server": "rimraf ./api-server/lib",
"create:config": "tsc -p config && npm run ensure-env",
"create:utils": "tsc -p utils",
"precypress": "node ./cypress-install.js",
2019-10-05 22:38:38 +00:00
"cypress": "cypress",
"cypress:dev:run": "npm run cypress -- run",
"cypress:dev:watch": "npm run cypress -- open",
"cypress:install": "cypress install && echo 'for use with ./cypress-install.js'",
"cypress:install-build-tools": "sh ./cypress-install.sh",
"cypress:prd:run": "npm run cypress -- run",
"cypress:prd:watch": "npm run cypress -- open",
"predevelop": "npm-run-all create:*",
"develop": "npm-run-all build:curriculum -p develop:*",
"develop:client": "npm run build:curriculum && cd ./client && npm run develop",
"develop:server": "npm run predevelop && cd ./api-server && npm run develop",
"docs:serve": "docsify serve ./docs -o --port 3200",
"e2e": "npm run e2e:dev:run",
"e2e:dev:run": "start-test develop ':3000/status/ping|8000' cypress:dev:run",
"e2e:dev:watch": "start-test develop ':3000/status/ping|8000' cypress:dev:watch",
"e2e:prd:run": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:run",
"e2e:prd:watch": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:watch",
"ensure-env": "cross-env DEBUG=fcc:* ts-node ./tools/scripts/build/ensure-env.ts",
"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",
"prelint": "npm run -w=client predevelop",
"lint": "npm-run-all create:* -p lint:*",
"lint:challenges": "cd ./curriculum && npm run lint",
"lint:js": "eslint --max-warnings 0 .",
"lint:ts": "tsc && tsc -p config && tsc -p tools/ui-components && tsc -p utils",
"lint:prettier": "prettier --list-different .",
"seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
"seed:certified-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser certUser",
"serve:client": "cd ./client && npm run serve",
feat: add 'back/front end' in curriculum (#42596) * chore: rename APIs and Microservices to include "Backend" (#42515) * fix typo * fix typo * undo change * Corrected grammar mistake Corrected a grammar mistake by removing a comma. * change APIs and Microservices cert title * update title * Change APIs and Microservices certi title * Update translations.json * update title * feat(curriculum): rename apis and microservices cert * rename folder structure * rename certificate * rename learn Markdown * apis-and-microservices -> back-end-development-and-apis * update backend meta * update i18n langs and cypress test Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> * fix: add development to front-end libraries (#42512) * fix: added-the-word-Development-to-front-end-libraries * fix/added-the-word-Development-to-front-end-libraries * fix/added-word-development-to-front-end-libraries-in-other-related-files * fix/added-the-word-Development-to-front-end-and-all-related-files * fix/removed-typos-from-last-commit-in-index.md * fix/reverted-changes-that-i-made-to-dependecies * fix/removed xvfg * fix/reverted changes that i made to package.json * remove unwanted changes * front-end-development-libraries changes * rename backend certSlug and README * update i18n folder names and keys * test: add legacy path redirect tests This uses serve.json from the client-config repo, since we currently use that in production * fix: create public dir before moving serve.json * fix: add missing script * refactor: collect redirect tests * test: convert to cy.location for stricter tests * rename certificate folder to 00-certificates * change crowdin config to recognise new certificates location * allow translations to be used Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com> * add forwards slashes to path redirects * fix cypress path tests again * plese cypress * fix: test different challenge Okay so I literally have no idea why this one particular challenge fails in Cypress Firefox ONLY. Tom and I paired and spun a full build instance and confirmed in Firefox the page loads and redirects as expected. Changing to another bootstrap challenge passes Cypress firefox locally. Absolutely boggled by this. AAAAAAAAAAAAAAA * fix: separate the test Okay apparently the test does not work unless we separate it into a different `it` statement. >:( >:( >:( >:( Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com> Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-14 02:57:13 +00:00
"serve:client-ci": "cd ./client && npm run serve-ci",
"start": "npm-run-all create:* -p develop:server serve:client",
"start-ci": "npm-run-all create:* -p start:server serve:client-ci",
"start:server": "cd ./api-server && npm start",
"storybook": "cd ./tools/ui-components && npm run storybook",
"test": "run-s create:* build:curriculum build-workers test:*",
"test:source": "jest",
"test:curriculum": "cd ./curriculum && npm test",
"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",
"test-ui-components": "jest tools/ui-components",
2021-05-06 06:51:38 +00:00
"prepare": "husky install"
},
"dependencies": {
"dotenv": "10.0.0",
"invariant": "2.2.4"
},
2018-09-05 12:30:54 +00:00
"devDependencies": {
"@babel/eslint-parser": "7.18.2",
"@babel/plugin-proposal-function-bind": "7.16.7",
"@babel/preset-env": "7.18.2",
"@babel/preset-react": "7.17.12",
"@babel/preset-typescript": "7.17.12",
"@testing-library/cypress": "8.0.3",
"@testing-library/dom": "8.13.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/user-event": "13.5.0",
"@types/chai": "4.3.1",
"@types/enzyme": "3.10.12",
2021-12-01 05:06:52 +00:00
"@types/enzyme-adapter-react-16": "1.0.6",
"@types/eslint": "7.29.0",
"@types/estree": "0.0.51",
2021-11-22 13:48:34 +00:00
"@types/faker": "5.5.9",
"@types/inquirer": "8.2.1",
"@types/jest": "27.5.2",
"@types/jquery": "3.5.14",
"@types/loadable__component": "5.13.4",
"@types/lodash-es": "4.17.6",
"@types/node": "16.11.38",
"@types/prismjs": "1.26.0",
"@types/psl": "1.1.0",
"@types/reach__router": "1.3.10",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"@types/react-helmet": "6.1.5",
"@types/react-instantsearch-dom": "6.12.1",
"@types/react-monaco-editor": "0.16.0",
"@types/react-redux": "7.1.24",
"@types/react-responsive": "8.0.4",
"@types/react-spinkit": "3.0.7",
"@types/react-test-renderer": "17.0.2",
"@types/react-transition-group": "4.4.4",
"@types/redux-actions": "2.6.2",
"@types/sanitize-html": "2.6.2",
"@types/store": "2.0.2",
"@types/validator": "13.7.2",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"babel-eslint": "10.1.0",
2021-05-16 18:56:05 +00:00
"babel-plugin-transform-imports": "2.0.0",
"cross-env": "7.0.3",
"cypress": "9.7.0",
"docsify-cli": "4.4.4",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest-dom": "3.9.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.5.0",
"eslint-plugin-testing-library": "4.12.4",
"execa": "5.1.1",
2021-11-22 13:48:34 +00:00
"faker": "5.5.3",
"husky": "7.0.4",
"jest": "27.5.1",
"js-yaml": "3.14.1",
"lint-staged": "12.5.0",
"lodash": "4.17.21",
"markdownlint": "0.25.1",
"mock-fs": "5.1.2",
"npm-run-all": "4.1.5",
"ora": "5.4.1",
"prettier": "2.6.2",
"prismjs": "1.28.0",
"process": "0.11.10",
"rimraf": "3.0.2",
"start-server-and-test": "1.14.0",
"ts-node": "10.8.1",
"typescript": "4.7.3",
"webpack-bundle-analyzer": "4.5.0"
}
}