[d565449] | 1 | {
|
---|
| 2 | "name": "eslint-plugin-react",
|
---|
[0c6b92a] | 3 | "version": "7.37.2",
|
---|
[d565449] | 4 | "author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",
|
---|
| 5 | "description": "React specific linting rules for ESLint",
|
---|
| 6 | "main": "index.js",
|
---|
[0c6b92a] | 7 | "types": "index.d.ts",
|
---|
[d565449] | 8 | "scripts": {
|
---|
[0c6b92a] | 9 | "clean-built-types": "rm -f $(find . -maxdepth 1 -type f -name '*.d.ts*') $(find lib -type f -name '*.d.ts*' ! -name 'types.d.ts')",
|
---|
| 10 | "prebuild-types": "npm run clean-built-types",
|
---|
| 11 | "build-types": "tsc -p build.tsconfig.json",
|
---|
| 12 | "prepack": "npm run build-types && npmignore --auto --commentLines=autogenerated",
|
---|
[d565449] | 13 | "prelint": "npm run lint:docs",
|
---|
| 14 | "lint:docs": "markdownlint \"**/*.md\"",
|
---|
| 15 | "postlint:docs": "npm run update:eslint-docs -- --check",
|
---|
| 16 | "lint": "eslint .",
|
---|
| 17 | "postlint": "npm run type-check",
|
---|
| 18 | "pretest": "npm run lint",
|
---|
| 19 | "test": "npm run unit-test",
|
---|
[0c6b92a] | 20 | "posttest": "npx npm@'>= 10.2' audit --production",
|
---|
[d565449] | 21 | "type-check": "tsc",
|
---|
| 22 | "unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js tests/flat-config.js",
|
---|
| 23 | "update:eslint-docs": "eslint-doc-generator"
|
---|
| 24 | },
|
---|
| 25 | "repository": {
|
---|
| 26 | "type": "git",
|
---|
| 27 | "url": "https://github.com/jsx-eslint/eslint-plugin-react"
|
---|
| 28 | },
|
---|
| 29 | "homepage": "https://github.com/jsx-eslint/eslint-plugin-react",
|
---|
| 30 | "bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues",
|
---|
| 31 | "dependencies": {
|
---|
| 32 | "array-includes": "^3.1.8",
|
---|
| 33 | "array.prototype.findlast": "^1.2.5",
|
---|
| 34 | "array.prototype.flatmap": "^1.3.2",
|
---|
| 35 | "array.prototype.tosorted": "^1.1.4",
|
---|
| 36 | "doctrine": "^2.1.0",
|
---|
[0c6b92a] | 37 | "es-iterator-helpers": "^1.1.0",
|
---|
[d565449] | 38 | "estraverse": "^5.3.0",
|
---|
| 39 | "hasown": "^2.0.2",
|
---|
| 40 | "jsx-ast-utils": "^2.4.1 || ^3.0.0",
|
---|
| 41 | "minimatch": "^3.1.2",
|
---|
| 42 | "object.entries": "^1.1.8",
|
---|
| 43 | "object.fromentries": "^2.0.8",
|
---|
| 44 | "object.values": "^1.2.0",
|
---|
| 45 | "prop-types": "^15.8.1",
|
---|
| 46 | "resolve": "^2.0.0-next.5",
|
---|
| 47 | "semver": "^6.3.1",
|
---|
| 48 | "string.prototype.matchall": "^4.0.11",
|
---|
| 49 | "string.prototype.repeat": "^1.0.0"
|
---|
| 50 | },
|
---|
| 51 | "devDependencies": {
|
---|
[0c6b92a] | 52 | "@babel/core": "^7.25.9",
|
---|
| 53 | "@babel/eslint-parser": "^7.25.9",
|
---|
| 54 | "@babel/plugin-syntax-decorators": "^7.25.9",
|
---|
| 55 | "@babel/plugin-syntax-do-expressions": "^7.25.9",
|
---|
| 56 | "@babel/plugin-syntax-function-bind": "^7.25.9",
|
---|
| 57 | "@babel/preset-react": "^7.25.9",
|
---|
[d565449] | 58 | "@types/eslint": "=7.2.10",
|
---|
| 59 | "@types/estree": "0.0.52",
|
---|
| 60 | "@types/node": "^4.9.5",
|
---|
[0c6b92a] | 61 | "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4 || ^5 || ^6.20 || ^7.14.1 || ^8.4",
|
---|
[d565449] | 62 | "babel-eslint": "^8 || ^9 || ^10.1.0",
|
---|
| 63 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7",
|
---|
| 64 | "eslint-config-airbnb-base": "^15.0.0",
|
---|
| 65 | "eslint-doc-generator": "^1.7.1",
|
---|
| 66 | "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5",
|
---|
[0c6b92a] | 67 | "eslint-plugin-import": "^2.31.0",
|
---|
[d565449] | 68 | "eslint-remote-tester": "^3.0.1",
|
---|
| 69 | "eslint-remote-tester-repositories": "^1.0.1",
|
---|
| 70 | "eslint-scope": "^3.7.3",
|
---|
| 71 | "espree": "^3.5.4",
|
---|
[0c6b92a] | 72 | "gfm-footnotes": "^1.0.1",
|
---|
[d565449] | 73 | "glob": "=10.3.7",
|
---|
| 74 | "istanbul": "^0.4.5",
|
---|
| 75 | "jackspeak": "=2.1.1",
|
---|
| 76 | "ls-engines": "^0.8.1",
|
---|
| 77 | "markdownlint-cli": "^0.8.0 || ^0.32.2",
|
---|
| 78 | "mocha": "^5.2.0",
|
---|
| 79 | "npmignore": "^0.3.1",
|
---|
| 80 | "sinon": "^7.5.0",
|
---|
| 81 | "typescript": "^3.9.9",
|
---|
| 82 | "typescript-eslint-parser": "^20.1.1"
|
---|
| 83 | },
|
---|
| 84 | "peerDependencies": {
|
---|
| 85 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
|
---|
| 86 | },
|
---|
| 87 | "engines": {
|
---|
| 88 | "node": ">=4"
|
---|
| 89 | },
|
---|
| 90 | "keywords": [
|
---|
| 91 | "eslint",
|
---|
| 92 | "eslint-plugin",
|
---|
| 93 | "eslintplugin",
|
---|
| 94 | "react"
|
---|
| 95 | ],
|
---|
| 96 | "license": "MIT",
|
---|
| 97 | "publishConfig": {
|
---|
| 98 | "ignore": [
|
---|
| 99 | ".github/",
|
---|
| 100 | "!lib",
|
---|
| 101 | "docs/",
|
---|
| 102 | "test/",
|
---|
[0c6b92a] | 103 | "test-published-types/",
|
---|
[d565449] | 104 | "tests/",
|
---|
| 105 | "*.md",
|
---|
| 106 | "*.config.js",
|
---|
| 107 | ".eslint-doc-generatorrc.js",
|
---|
| 108 | ".eslintrc",
|
---|
| 109 | ".editorconfig",
|
---|
| 110 | "tsconfig.json",
|
---|
[0c6b92a] | 111 | "build.tsconfig.json",
|
---|
[d565449] | 112 | ".markdownlint*",
|
---|
[0c6b92a] | 113 | "types",
|
---|
| 114 | "!*.d.ts",
|
---|
| 115 | "!*.d.ts.map"
|
---|
[d565449] | 116 | ]
|
---|
| 117 | }
|
---|
| 118 | }
|
---|