package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "eslint-plugin-react",
  3. "version": "7.28.0",
  4. "author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",
  5. "description": "React specific linting rules for ESLint",
  6. "main": "index.js",
  7. "scripts": {
  8. "lint": "eslint .",
  9. "postlint": "npm run type-check",
  10. "pretest": "npm run lint",
  11. "test": "npm run unit-test",
  12. "posttest": "aud --production",
  13. "type-check": "tsc",
  14. "unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js",
  15. "generate-list-of-rules": "md-magic --path README.md",
  16. "generate-list-of-rules:check": "npm run generate-list-of-rules && git diff --exit-code README.md"
  17. },
  18. "files": [
  19. "LICENSE",
  20. "README.md",
  21. "index.js",
  22. "lib"
  23. ],
  24. "repository": {
  25. "type": "git",
  26. "url": "https://github.com/yannickcr/eslint-plugin-react"
  27. },
  28. "homepage": "https://github.com/yannickcr/eslint-plugin-react",
  29. "bugs": "https://github.com/yannickcr/eslint-plugin-react/issues",
  30. "dependencies": {
  31. "array-includes": "^3.1.4",
  32. "array.prototype.flatmap": "^1.2.5",
  33. "doctrine": "^2.1.0",
  34. "estraverse": "^5.3.0",
  35. "jsx-ast-utils": "^2.4.1 || ^3.0.0",
  36. "minimatch": "^3.0.4",
  37. "object.entries": "^1.1.5",
  38. "object.fromentries": "^2.0.5",
  39. "object.hasown": "^1.1.0",
  40. "object.values": "^1.1.5",
  41. "prop-types": "^15.7.2",
  42. "resolve": "^2.0.0-next.3",
  43. "semver": "^6.3.0",
  44. "string.prototype.matchall": "^4.0.6"
  45. },
  46. "devDependencies": {
  47. "@babel/core": "^7.16.0",
  48. "@babel/eslint-parser": "^7.16.3",
  49. "@babel/plugin-syntax-decorators": "^7.16.0",
  50. "@babel/plugin-syntax-do-expressions": "^7.16.0",
  51. "@babel/plugin-syntax-function-bind": "^7.16.0",
  52. "@babel/preset-react": "^7.16.0",
  53. "@types/eslint": "=7.2.10",
  54. "@types/estree": "^0.0.50",
  55. "@types/node": "^16.11.7",
  56. "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4.0.0 || ^5.0.0",
  57. "aud": "^1.1.5",
  58. "babel-eslint": "^8 || ^9 || ^10.1.0",
  59. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
  60. "eslint-config-airbnb-base": "^15.0.0",
  61. "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1",
  62. "eslint-plugin-import": "^2.25.3",
  63. "eslint-remote-tester": "^2.0.1",
  64. "eslint-remote-tester-repositories": "^0.0.3",
  65. "eslint-scope": "^3.7.3",
  66. "espree": "^3.5.4",
  67. "istanbul": "^0.4.5",
  68. "ls-engines": "^0.6.1",
  69. "markdown-magic": "^2.5.2",
  70. "mocha": "^5.2.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. "greenkeeper": {
  89. "ignore": [
  90. "semver"
  91. ]
  92. }
  93. }