mirror of
https://github.com/facebook/react.git
synced 2026-02-26 02:35:00 +00:00
Reverts facebook/react#31629 `@babel/plugin-proposal-private-methods` is not compatible with `@babel/traverse` versions < 7.25 (see https://github.com/babel/babel/issues/16851). Internally we have partners that use a less modern babel version, and we expect this to be an issue for older codebases in OSS as well.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "eslint-plugin-react-compiler",
|
|
"version": "0.0.0-experimental-9ed098e-20240725",
|
|
"description": "ESLint plugin to display errors found by the React compiler.",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
|
|
"test": "tsc && jest"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "^7.24.4",
|
|
"@babel/parser": "^7.24.4",
|
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
"hermes-parser": "^0.25.1",
|
|
"zod": "^3.22.4",
|
|
"zod-validation-error": "^3.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.22.4",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@babel/types": "^7.19.0",
|
|
"@types/eslint": "^8.56.6",
|
|
"@types/node": "^20.2.5",
|
|
"babel-jest": "^29.0.3",
|
|
"eslint": "8.57.0",
|
|
"hermes-eslint": "^0.25.1",
|
|
"jest": "^29.5.0"
|
|
},
|
|
"engines": {
|
|
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=7"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react.git",
|
|
"directory": "compiler/packages/eslint-plugin-react-compiler"
|
|
},
|
|
"license": "MIT"
|
|
}
|