mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-31 00:04:05 -05:00
* 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>
148 lines
6.1 KiB
JSON
148 lines
6.1 KiB
JSON
{
|
|
"name": "@freecodecamp/freecodecamp",
|
|
"version": "0.0.1",
|
|
"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",
|
|
"scripts": {
|
|
"analyze-bundle": "webpack-bundle-analyzer",
|
|
"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",
|
|
"bootstrap": "lerna bootstrap --ci",
|
|
"prebuild": "npm run ensure-env",
|
|
"build": "npm-run-all -p build:*",
|
|
"build-workers": "cd ./client && npm run prebuild",
|
|
"build:client": "cd ./client && npm run build",
|
|
"build:curriculum": "cd ./curriculum && npm run build",
|
|
"build:server": "cd ./api-server && npm run build",
|
|
"clean": "npm-run-all clean:client clean:server clean:packages clean:root-deps",
|
|
"clean-and-develop": "npm run clean && npm ci && npm run develop",
|
|
"clean:client": "cd ./client && npm run clean",
|
|
"clean:curriculum": "shx rm ./config/curriculum.json",
|
|
"clean:gatsby-site": "npm run clean:client",
|
|
"clean:packages": "lerna clean -y",
|
|
"clean:root-deps": "shx rm -rf node_modules",
|
|
"clean:server": "shx rm -rf ./api-server/lib",
|
|
"precypress": "node ./cypress-install.js",
|
|
"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 ensure-env",
|
|
"develop": "npm-run-all build:curriculum -p develop:*",
|
|
"develop:client": "cd ./client && npm run develop",
|
|
"develop:server": "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:* node ./tools/scripts/build/ensure-env.js",
|
|
"format": "npm-run-all -p format:*",
|
|
"format:css": "npm run prettier -- --write",
|
|
"format:js": "npm run lint:js -- --fix",
|
|
"hooks:install": "node node_modules/husky/husky.js install",
|
|
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
|
|
"lint": "npm-run-all ensure-env -p lint:*",
|
|
"lint:challenges": "cd ./curriculum && npm run lint",
|
|
"lint:css": "npm run prettier -- --check",
|
|
"lint:js": "eslint --max-warnings 0 .",
|
|
"lint:ts": "tsc -p client",
|
|
"lint:translations": "cd ./client && npm run lint",
|
|
"postinstall": "npm run bootstrap",
|
|
"prettier": "prettier \"**/*.css\"",
|
|
"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",
|
|
"serve:client-ci": "cd ./client && npm run serve-ci",
|
|
"start": "npm-run-all ensure-env -p develop:server serve:client",
|
|
"start-ci": "npm-run-all ensure-env -p start:server serve:client-ci",
|
|
"start:server": "cd ./api-server && npm start",
|
|
"storybook": "cd ./tools/ui-components && npm run storybook",
|
|
"test": "run-s ensure-env 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",
|
|
"prepare": "husky install"
|
|
},
|
|
"lint-staged": {
|
|
"*.css": "prettier --write",
|
|
"*.(js|ts|tsx)": "eslint --max-warnings 0 --cache --fix",
|
|
"./curriculum/challenges/**/*.md": "node ./tools/scripts/lint/index.js"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "10.0.0",
|
|
"invariant": "2.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "7.15.0",
|
|
"@babel/plugin-proposal-function-bind": "7.14.5",
|
|
"@babel/preset-env": "7.15.0",
|
|
"@babel/preset-react": "7.14.5",
|
|
"@babel/preset-typescript": "7.15.0",
|
|
"@testing-library/cypress": "7.0.7",
|
|
"@testing-library/dom": "8.1.0",
|
|
"@testing-library/jest-dom": "5.14.1",
|
|
"@testing-library/user-event": "13.2.1",
|
|
"@typescript-eslint/eslint-plugin": "4.29.1",
|
|
"@typescript-eslint/parser": "4.29.1",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-plugin-transform-imports": "2.0.0",
|
|
"cross-env": "7.0.3",
|
|
"cypress": "7.7.0",
|
|
"docsify-cli": "4.4.3",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-plugin-import": "2.24.0",
|
|
"eslint-plugin-jest-dom": "3.9.0",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
"eslint-plugin-prettier": "3.4.0",
|
|
"eslint-plugin-react": "7.24.0",
|
|
"eslint-plugin-react-hooks": "2.5.1",
|
|
"eslint-plugin-testing-library": "4.10.1",
|
|
"execa": "5.1.1",
|
|
"husky": "7.0.1",
|
|
"jest": "27.0.6",
|
|
"js-yaml": "3.14.1",
|
|
"lerna": "4.0.0",
|
|
"lint-staged": "11.1.2",
|
|
"lodash": "4.17.21",
|
|
"markdownlint": "0.23.1",
|
|
"mock-fs": "5.0.0",
|
|
"npm-run-all": "4.1.5",
|
|
"ora": "5.4.1",
|
|
"prettier": "2.3.2",
|
|
"prismjs": "1.24.1",
|
|
"process": "0.11.10",
|
|
"shx": "0.3.3",
|
|
"start-server-and-test": "1.13.1",
|
|
"typescript": "4.3.5",
|
|
"webpack-bundle-analyzer": "4.4.2"
|
|
}
|
|
}
|