package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "eslint-plugin-react",
  3. "version": "7.32.2",
  4. "author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",
  5. "description": "React specific linting rules for ESLint",
  6. "main": "index.js",
  7. "scripts": {
  8. "prepack": "npmignore --auto --commentLines=autogenerated",
  9. "prelint": "npm run lint:docs",
  10. "lint:docs": "markdownlint \"**/*.md\"",
  11. "postlint:docs": "npm run update:eslint-docs -- --check",
  12. "lint": "eslint .",
  13. "postlint": "npm run type-check",
  14. "pretest": "npm run lint",
  15. "test": "npm run unit-test",
  16. "posttest": "aud --production",
  17. "type-check": "tsc",
  18. "unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js",
  19. "update:eslint-docs": "eslint-doc-generator"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/jsx-eslint/eslint-plugin-react"
  24. },
  25. "homepage": "https://github.com/jsx-eslint/eslint-plugin-react",
  26. "bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues",
  27. "dependencies": {
  28. "array-includes": "^3.1.6",
  29. "array.prototype.flatmap": "^1.3.1",
  30. "array.prototype.tosorted": "^1.1.1",
  31. "doctrine": "^2.1.0",
  32. "estraverse": "^5.3.0",
  33. "jsx-ast-utils": "^2.4.1 || ^3.0.0",
  34. "minimatch": "^3.1.2",
  35. "object.entries": "^1.1.6",
  36. "object.fromentries": "^2.0.6",
  37. "object.hasown": "^1.1.2",
  38. "object.values": "^1.1.6",
  39. "prop-types": "^15.8.1",
  40. "resolve": "^2.0.0-next.4",
  41. "semver": "^6.3.0",
  42. "string.prototype.matchall": "^4.0.8"
  43. },
  44. "devDependencies": {
  45. "@babel/core": "^7.20.12",
  46. "@babel/eslint-parser": "^7.19.1",
  47. "@babel/plugin-syntax-decorators": "^7.19.0",
  48. "@babel/plugin-syntax-do-expressions": "^7.18.6",
  49. "@babel/plugin-syntax-function-bind": "^7.18.6",
  50. "@babel/preset-react": "^7.18.6",
  51. "@types/eslint": "=7.2.10",
  52. "@types/estree": "0.0.52",
  53. "@types/node": "^4.9.5",
  54. "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0",
  55. "aud": "^2.0.2",
  56. "babel-eslint": "^8 || ^9 || ^10.1.0",
  57. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
  58. "eslint-config-airbnb-base": "^15.0.0",
  59. "eslint-doc-generator": "^1.4.2",
  60. "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5",
  61. "eslint-plugin-import": "^2.26.0",
  62. "eslint-remote-tester": "^3.0.0",
  63. "eslint-remote-tester-repositories": "^1.0.0",
  64. "eslint-scope": "^3.7.3",
  65. "espree": "^3.5.4",
  66. "istanbul": "^0.4.5",
  67. "ls-engines": "^0.8.0",
  68. "markdownlint-cli": "^0.8.0 || ^0.32.2",
  69. "mocha": "^5.2.0",
  70. "npmignore": "^0.3.0",
  71. "sinon": "^7.5.0",
  72. "typescript": "^3.9.9",
  73. "typescript-eslint-parser": "^20.1.1"
  74. },
  75. "peerDependencies": {
  76. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
  77. },
  78. "engines": {
  79. "node": ">=4"
  80. },
  81. "keywords": [
  82. "eslint",
  83. "eslint-plugin",
  84. "eslintplugin",
  85. "react"
  86. ],
  87. "license": "MIT",
  88. "publishConfig": {
  89. "ignore": [
  90. ".github/",
  91. "!lib",
  92. "docs/",
  93. "test/",
  94. "tests/",
  95. "*.md",
  96. "*.config.js",
  97. ".eslint-doc-generatorrc.js",
  98. ".eslintrc",
  99. ".editorconfig",
  100. "tsconfig.json",
  101. ".markdownlint*"
  102. ]
  103. }
  104. }