package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "eslint-plugin-react",
  3. "version": "7.33.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. "es-iterator-helpers": "^1.0.12",
  33. "estraverse": "^5.3.0",
  34. "jsx-ast-utils": "^2.4.1 || ^3.0.0",
  35. "minimatch": "^3.1.2",
  36. "object.entries": "^1.1.6",
  37. "object.fromentries": "^2.0.6",
  38. "object.hasown": "^1.1.2",
  39. "object.values": "^1.1.6",
  40. "prop-types": "^15.8.1",
  41. "resolve": "^2.0.0-next.4",
  42. "semver": "^6.3.1",
  43. "string.prototype.matchall": "^4.0.8"
  44. },
  45. "devDependencies": {
  46. "@babel/core": "^7.22.9",
  47. "@babel/eslint-parser": "^7.22.9",
  48. "@babel/plugin-syntax-decorators": "^7.22.5",
  49. "@babel/plugin-syntax-do-expressions": "^7.22.5",
  50. "@babel/plugin-syntax-function-bind": "^7.22.5",
  51. "@babel/preset-react": "^7.22.5",
  52. "@types/eslint": "=7.2.10",
  53. "@types/estree": "0.0.52",
  54. "@types/node": "^4.9.5",
  55. "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0",
  56. "aud": "^2.0.3",
  57. "babel-eslint": "^8 || ^9 || ^10.1.0",
  58. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
  59. "eslint-config-airbnb-base": "^15.0.0",
  60. "eslint-doc-generator": "^1.4.3",
  61. "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5",
  62. "eslint-plugin-import": "^2.27.5",
  63. "eslint-remote-tester": "^3.0.0",
  64. "eslint-remote-tester-repositories": "^1.0.1",
  65. "eslint-scope": "^3.7.3",
  66. "espree": "^3.5.4",
  67. "istanbul": "^0.4.5",
  68. "jackspeak": "=2.1.1",
  69. "ls-engines": "^0.8.1",
  70. "markdownlint-cli": "^0.8.0 || ^0.32.2",
  71. "mocha": "^5.2.0",
  72. "npmignore": "^0.3.0",
  73. "sinon": "^7.5.0",
  74. "typescript": "^3.9.9",
  75. "typescript-eslint-parser": "^20.1.1"
  76. },
  77. "peerDependencies": {
  78. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
  79. },
  80. "engines": {
  81. "node": ">=4"
  82. },
  83. "keywords": [
  84. "eslint",
  85. "eslint-plugin",
  86. "eslintplugin",
  87. "react"
  88. ],
  89. "license": "MIT",
  90. "publishConfig": {
  91. "ignore": [
  92. ".github/",
  93. "!lib",
  94. "docs/",
  95. "test/",
  96. "tests/",
  97. "*.md",
  98. "*.config.js",
  99. ".eslint-doc-generatorrc.js",
  100. ".eslintrc",
  101. ".editorconfig",
  102. "tsconfig.json",
  103. ".markdownlint*"
  104. ]
  105. }
  106. }