| 1 | {
|
|---|
| 2 | "name": "eslint-plugin-react",
|
|---|
| 3 | "version": "7.37.5",
|
|---|
| 4 | "author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",
|
|---|
| 5 | "description": "React specific linting rules for ESLint",
|
|---|
| 6 | "main": "index.js",
|
|---|
| 7 | "types": "index.d.ts",
|
|---|
| 8 | "scripts": {
|
|---|
| 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",
|
|---|
| 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",
|
|---|
| 20 | "posttest": "npx npm@'>= 10.2' audit --production",
|
|---|
| 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 | "directories": {
|
|---|
| 30 | "test": [
|
|---|
| 31 | "test",
|
|---|
| 32 | "tests",
|
|---|
| 33 | "test-published-types"
|
|---|
| 34 | ]
|
|---|
| 35 | },
|
|---|
| 36 | "homepage": "https://github.com/jsx-eslint/eslint-plugin-react",
|
|---|
| 37 | "bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues",
|
|---|
| 38 | "dependencies": {
|
|---|
| 39 | "array-includes": "^3.1.8",
|
|---|
| 40 | "array.prototype.findlast": "^1.2.5",
|
|---|
| 41 | "array.prototype.flatmap": "^1.3.3",
|
|---|
| 42 | "array.prototype.tosorted": "^1.1.4",
|
|---|
| 43 | "doctrine": "^2.1.0",
|
|---|
| 44 | "es-iterator-helpers": "^1.2.1",
|
|---|
| 45 | "estraverse": "^5.3.0",
|
|---|
| 46 | "hasown": "^2.0.2",
|
|---|
| 47 | "jsx-ast-utils": "^2.4.1 || ^3.0.0",
|
|---|
| 48 | "minimatch": "^3.1.2",
|
|---|
| 49 | "object.entries": "^1.1.9",
|
|---|
| 50 | "object.fromentries": "^2.0.8",
|
|---|
| 51 | "object.values": "^1.2.1",
|
|---|
| 52 | "prop-types": "^15.8.1",
|
|---|
| 53 | "resolve": "^2.0.0-next.5",
|
|---|
| 54 | "semver": "^6.3.1",
|
|---|
| 55 | "string.prototype.matchall": "^4.0.12",
|
|---|
| 56 | "string.prototype.repeat": "^1.0.0"
|
|---|
| 57 | },
|
|---|
| 58 | "devDependencies": {
|
|---|
| 59 | "@babel/core": "^7.26.10",
|
|---|
| 60 | "@babel/eslint-parser": "^7.27.0",
|
|---|
| 61 | "@babel/plugin-syntax-decorators": "^7.25.9",
|
|---|
| 62 | "@babel/plugin-syntax-do-expressions": "^7.25.9",
|
|---|
| 63 | "@babel/plugin-syntax-function-bind": "^7.25.9",
|
|---|
| 64 | "@babel/preset-react": "^7.26.3",
|
|---|
| 65 | "@types/eslint": "=7.2.10",
|
|---|
| 66 | "@types/estree": "0.0.52",
|
|---|
| 67 | "@types/node": "^4.9.5",
|
|---|
| 68 | "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4 || ^5 || ^6.20 || ^7.14.1 || 8.4 - 8.17",
|
|---|
| 69 | "babel-eslint": "^8 || ^9 || ^10.1.0",
|
|---|
| 70 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7",
|
|---|
| 71 | "eslint-config-airbnb-base": "^15.0.0",
|
|---|
| 72 | "eslint-doc-generator": "^1.7.1",
|
|---|
| 73 | "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5",
|
|---|
| 74 | "eslint-plugin-import": "^2.31.0",
|
|---|
| 75 | "eslint-remote-tester": "^3.0.1",
|
|---|
| 76 | "eslint-remote-tester-repositories": "^1.0.1",
|
|---|
| 77 | "eslint-scope": "^3.7.3",
|
|---|
| 78 | "espree": "^3.5.4",
|
|---|
| 79 | "gfm-footnotes": "^1.0.1",
|
|---|
| 80 | "glob": "=10.3.7",
|
|---|
| 81 | "istanbul": "^0.4.5",
|
|---|
| 82 | "jackspeak": "=2.1.1",
|
|---|
| 83 | "ls-engines": "^0.8.1",
|
|---|
| 84 | "markdownlint-cli": "^0.8.0 || ^0.32.2",
|
|---|
| 85 | "mocha": "^5.2.0",
|
|---|
| 86 | "npmignore": "^0.3.1",
|
|---|
| 87 | "sinon": "^7.5.0",
|
|---|
| 88 | "typescript": "^3.9.9",
|
|---|
| 89 | "typescript-eslint-parser": "^20.1.1"
|
|---|
| 90 | },
|
|---|
| 91 | "peerDependencies": {
|
|---|
| 92 | "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
|
|---|
| 93 | },
|
|---|
| 94 | "engines": {
|
|---|
| 95 | "node": ">=4"
|
|---|
| 96 | },
|
|---|
| 97 | "keywords": [
|
|---|
| 98 | "eslint",
|
|---|
| 99 | "eslint-plugin",
|
|---|
| 100 | "eslintplugin",
|
|---|
| 101 | "react"
|
|---|
| 102 | ],
|
|---|
| 103 | "license": "MIT",
|
|---|
| 104 | "publishConfig": {
|
|---|
| 105 | "ignore": [
|
|---|
| 106 | ".github/",
|
|---|
| 107 | "!lib",
|
|---|
| 108 | "docs/",
|
|---|
| 109 | "test/",
|
|---|
| 110 | "test-published-types/",
|
|---|
| 111 | "tests/",
|
|---|
| 112 | "*.md",
|
|---|
| 113 | "*.config.js",
|
|---|
| 114 | ".eslint-doc-generatorrc.js",
|
|---|
| 115 | ".eslintrc",
|
|---|
| 116 | ".editorconfig",
|
|---|
| 117 | "tsconfig.json",
|
|---|
| 118 | "build.tsconfig.json",
|
|---|
| 119 | ".markdownlint*",
|
|---|
| 120 | "types",
|
|---|
| 121 | "!*.d.ts",
|
|---|
| 122 | "!*.d.ts.map"
|
|---|
| 123 | ]
|
|---|
| 124 | }
|
|---|
| 125 | }
|
|---|