* refactor: light tweaks for readability * refactor: simplify metadata functions * fix: most tests * test: fix utils tests * test: simplify mocks * WIP: update get-last-step-file-content * feat: finish create-next-step * fix: type error * test: provide mock meta.json for test * refactor: get meta path from project path * refactor: get project name from path * refactor: simplify getProjectMetaPath further Also removes some excessive mocking * refactor: remove more mocks, always clear .env * feat: update create-next-step * feat: update create-empty steps Also refactors slightly, so it's easier to insert steps into the meta * docs: update challenge-helper-script docs * feat: create-step-between * refactor: allow metadata parse errors to propagate * fix: convert reorderSteps to renameSteps * refactor: create-step-between -> insert-step * feat: update delete-step * refactor: consolidate commands into commands.ts * refactor: clean up and consolidation * refactor: more cleanup * fix: make cli args consistent Everything accepts a single integer and nothing else * refactor: renameSteps -> updateStepTitles * docs: update with the names and args * feat: add step validating meta + files are synced
65 lines
2.5 KiB
JSON
65 lines
2.5 KiB
JSON
{
|
|
"name": "@freecodecamp/curriculum",
|
|
"version": "0.0.0-next.4",
|
|
"description": "freeCodeCamp's curriculum seed files",
|
|
"license": "(BSD-3-Clause AND CC-BY-SA-4.0)",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=16",
|
|
"npm": ">=8"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "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>",
|
|
"scripts": {
|
|
"build": "ts-node --project ../tsconfig.json ../tools/scripts/build/build-curriculum",
|
|
"create-empty-steps": "cross-env CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-empty-steps",
|
|
"create-next-step": "cross-env CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/create-next-step",
|
|
"insert-step": "cross-env CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/insert-step",
|
|
"delete-step": "cross-env CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/delete-step",
|
|
"lint": "ts-node --project ../tsconfig.json lint-localized",
|
|
"update-step-titles": "cross-env CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/update-step-titles",
|
|
"test": "mocha --delay --exit --reporter progress --bail",
|
|
"test:full-output": "cross-env FULL_OUTPUT=true mocha --delay --reporter progress"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.17.5",
|
|
"@babel/polyfill": "7.12.1",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@babel/preset-typescript": "7.16.7",
|
|
"@babel/register": "7.17.0",
|
|
"acorn": "8.7.0",
|
|
"acorn-jsx": "5.3.2",
|
|
"babel-plugin-dynamic-import-node": "2.3.3",
|
|
"babel-plugin-lodash": "3.3.4",
|
|
"babel-plugin-transform-runtime": "6.23.0",
|
|
"babel-preset-env": "1.7.0",
|
|
"babel-preset-react": "6.24.1",
|
|
"babel-preset-stage-0": "6.24.1",
|
|
"chai": "4.3.6",
|
|
"cross-env": "7.0.3",
|
|
"css": "3.0.0",
|
|
"invariant": "2.2.4",
|
|
"joi": "17.6.0",
|
|
"joi-objectid": "3.0.1",
|
|
"js-yaml": "4.0.0",
|
|
"jsdom": "16.7.0",
|
|
"live-server": "1.2.1",
|
|
"lodash": "4.17.21",
|
|
"mocha": "9.2.1",
|
|
"mock-require": "3.0.3",
|
|
"puppeteer": "10.4.0",
|
|
"readdirp": "3.6.0",
|
|
"rehype": "11.0.0",
|
|
"string-similarity": "4.0.4",
|
|
"unist-util-visit": "2.0.3",
|
|
"vfile": "4.2.1"
|
|
}
|
|
}
|