mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
Correct eslint-plugin-react-compiler dependencies - The eslint plugin doesn't actually depend on the babel plugin as it compiles in the dependencies. - `zod` and `zod-validation-error` were missing, but required to run the plugin. - Update to the `hermes-parser` dependency just to keep it updated.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "eslint-plugin-react-compiler",
|
|
"version": "0.0.0",
|
|
"description": "ESLint plugin to display errors found by the React compiler.",
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
|
|
"test": "tsc && jest"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.19.1",
|
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
"hermes-parser": "^0.20.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",
|
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
"@rollup/plugin-typescript": "^11.1.3",
|
|
"@types/node": "^20.2.5",
|
|
"babel-jest": "^29.0.3",
|
|
"eslint": "8.27.0",
|
|
"hermes-eslint": "^0.17.1",
|
|
"jest": "^29.5.0",
|
|
"rollup": "^3.28.1",
|
|
"rollup-plugin-license": "^3.2.0"
|
|
},
|
|
"engines": {
|
|
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=7"
|
|
},
|
|
"license": "MIT"
|
|
}
|