mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fdb368d9e7
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the following is done: 1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`. 2. Run `yarn` in the repository root. 3. If you've fixed a bug or added code that should be tested, add tests! 4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. 5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`. 6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect". 7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). 8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. 9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`). 10. If you haven't already, complete the CLA. Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html --> ## Summary - Remove unused webpack 4 dependencies ## How did you test this change? - Ran `yarn test --prod` - Ran `yarn test` ## Related PRs: - https://github.com/facebook/react/pull/26887
153 lines
7.2 KiB
JSON
153 lines
7.2 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@actuallyworks/node-fetch": "^2.6.0",
|
|
"@babel/cli": "^7.10.5",
|
|
"@babel/code-frame": "^7.10.4",
|
|
"@babel/core": "^7.11.1",
|
|
"@babel/helper-module-imports": "^7.10.4",
|
|
"@babel/parser": "^7.11.3",
|
|
"@babel/plugin-external-helpers": "^7.10.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
"@babel/plugin-syntax-jsx": "^7.10.4",
|
|
"@babel/plugin-syntax-typescript": "^7.14.5",
|
|
"@babel/plugin-transform-arrow-functions": "^7.10.4",
|
|
"@babel/plugin-transform-block-scoped-functions": "^7.10.4",
|
|
"@babel/plugin-transform-block-scoping": "^7.11.1",
|
|
"@babel/plugin-transform-classes": "^7.10.4",
|
|
"@babel/plugin-transform-computed-properties": "^7.10.4",
|
|
"@babel/plugin-transform-destructuring": "^7.10.4",
|
|
"@babel/plugin-transform-for-of": "^7.10.4",
|
|
"@babel/plugin-transform-literals": "^7.10.4",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
|
|
"@babel/plugin-transform-object-super": "^7.10.4",
|
|
"@babel/plugin-transform-parameters": "^7.10.5",
|
|
"@babel/plugin-transform-react-jsx-source": "^7.10.5",
|
|
"@babel/plugin-transform-shorthand-properties": "^7.10.4",
|
|
"@babel/plugin-transform-spread": "^7.11.0",
|
|
"@babel/plugin-transform-template-literals": "^7.10.5",
|
|
"@babel/preset-flow": "^7.10.4",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@babel/traverse": "^7.11.0",
|
|
"@rollup/plugin-babel": "^6.0.3",
|
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"abortcontroller-polyfill": "^1.7.5",
|
|
"art": "0.10.1",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
|
"chalk": "^3.0.0",
|
|
"cli-table": "^0.3.1",
|
|
"coffee-script": "^1.12.7",
|
|
"confusing-browser-globals": "^1.0.9",
|
|
"core-js": "^3.6.4",
|
|
"coveralls": "^3.0.9",
|
|
"create-react-class": "^15.6.3",
|
|
"danger": "^11.2.3",
|
|
"error-stack-parser": "^2.0.6",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-prettier": "^6.9.0",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"eslint-plugin-eslint-plugin": "^3.5.3",
|
|
"eslint-plugin-flowtype": "^2.25.0",
|
|
"eslint-plugin-ft-flow": "^2.0.3",
|
|
"eslint-plugin-jest": "^22.15.0",
|
|
"eslint-plugin-no-for-of-loops": "^1.0.0",
|
|
"eslint-plugin-no-function-declare-after-return": "^1.0.0",
|
|
"eslint-plugin-react": "^6.7.1",
|
|
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
|
|
"fbjs-scripts": "^3.0.1",
|
|
"filesize": "^6.0.1",
|
|
"flow-bin": "^0.213.0",
|
|
"flow-remove-types": "^2.213.0",
|
|
"glob": "^7.1.6",
|
|
"glob-stream": "^6.1.0",
|
|
"google-closure-compiler": "^20230206.0.0",
|
|
"gzip-size": "^5.1.1",
|
|
"hermes-eslint": "^0.9.0",
|
|
"hermes-parser": "^0.9.0",
|
|
"jest": "^29.4.2",
|
|
"jest-cli": "^29.4.2",
|
|
"jest-diff": "^29.4.2",
|
|
"jest-environment-jsdom": "^29.4.2",
|
|
"jest-snapshot-serializer-raw": "^1.2.0",
|
|
"minimatch": "^3.0.4",
|
|
"minimist": "^1.2.3",
|
|
"mkdirp": "^0.5.1",
|
|
"ncp": "^2.0.0",
|
|
"prettier": "2.8.3",
|
|
"pretty-format": "^29.4.1",
|
|
"prop-types": "^15.6.2",
|
|
"random-seed": "^0.3.0",
|
|
"react-lifecycles-compat": "^3.0.4",
|
|
"rimraf": "^3.0.0",
|
|
"rollup": "^3.17.1",
|
|
"rollup-plugin-prettier": "^3.0.0",
|
|
"rollup-plugin-strip-banner": "^3.0.0",
|
|
"semver": "^7.1.1",
|
|
"signedsource": "^2.0.0",
|
|
"targz": "^1.0.1",
|
|
"through2": "^3.0.1",
|
|
"tmp": "^0.1.0",
|
|
"typescript": "^3.7.5",
|
|
"web-streams-polyfill": "^3.1.1",
|
|
"yargs": "^15.3.1"
|
|
},
|
|
"devEngines": {
|
|
"node": "16.x || 18.x || 19.x || 20.x"
|
|
},
|
|
"jest": {
|
|
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"
|
|
},
|
|
"scripts": {
|
|
"build": "node ./scripts/rollup/build-all-release-channels.js",
|
|
"build-combined": "echo 'build-combined is deprecated. yarn build instead.'",
|
|
"build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom/index,react-dom/unstable_testing,react-dom/test-utils,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE && cp -r ./build/node_modules build/oss-experimental/",
|
|
"build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV",
|
|
"build-for-devtools-prod": "yarn build-for-devtools --type=NODE_PROD",
|
|
"linc": "node ./scripts/tasks/linc.js",
|
|
"lint": "node ./scripts/tasks/eslint.js",
|
|
"lint-build": "node ./scripts/rollup/validate/index.js",
|
|
"extract-errors": "node scripts/error-codes/extract-errors.js",
|
|
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && node ./scripts/flow/createFlowConfigs.js",
|
|
"debug-test": "yarn test --deprecated 'yarn test --debug'",
|
|
"test": "node ./scripts/jest/jest-cli.js",
|
|
"test-stable": "node ./scripts/jest/jest-cli.js --release-channel=stable",
|
|
"test-www": "node ./scripts/jest/jest-cli.js --release-channel=www-modern",
|
|
"test-classic": "node ./scripts/jest/jest-cli.js --release-channel=www-classic",
|
|
"test-www-variant": "yarn test --deprecated 'yarn test-www --variant'",
|
|
"test-prod-www": "yarn test --deprecated 'yarn test-www --prod'",
|
|
"test-prod-www-variant": "yarn test --deprecated 'yarn test-www --prod --variant'",
|
|
"test-persistent": "yarn test --deprecated 'yarn test --persistent'",
|
|
"debug-test-persistent": "yarn test --deprecated 'yarn test --debug --persistent'",
|
|
"test-prod": "yarn test --deprecated 'yarn test --prod'",
|
|
"debug-test-prod": "yarn test --deprecated 'yarn test --debug --prod'",
|
|
"test-prod-build": "yarn test --deprecated 'yarn test --prod --build'",
|
|
"test-build": "yarn test --deprecated 'yarn test --build'",
|
|
"test-build-prod": "yarn test --deprecated 'yarn test --build --prod'",
|
|
"test-build-devtools": "node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental",
|
|
"debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'",
|
|
"test-dom-fixture": "cd fixtures/dom && yarn && yarn predev && yarn test",
|
|
"flow": "node ./scripts/tasks/flow.js",
|
|
"flow-ci": "node ./scripts/tasks/flow-ci.js",
|
|
"prettier": "node ./scripts/prettier/index.js write-changed",
|
|
"prettier-all": "node ./scripts/prettier/index.js write",
|
|
"version-check": "node ./scripts/tasks/version-check.js",
|
|
"publish-prereleases": "node ./scripts/release/publish-using-ci-workflow.js",
|
|
"download-build": "node ./scripts/release/download-experimental-build.js",
|
|
"download-build-for-head": "node ./scripts/release/download-experimental-build.js --commit=$(git rev-parse HEAD)",
|
|
"download-build-in-codesandbox-ci": "cd scripts/release && yarn install && cd ../../ && yarn download-build-for-head || yarn build --type=node react/index react-dom/index react-dom/src/server react-dom/test-utils scheduler/index react/jsx-runtime react/jsx-dev-runtime",
|
|
"check-release-dependencies": "node ./scripts/release/check-release-dependencies",
|
|
"generate-inline-fizz-runtime": "node ./scripts/rollup/generate-inline-fizz-runtime.js"
|
|
},
|
|
"resolutions": {
|
|
"react-is": "npm:react-is"
|
|
}
|
|
}
|