package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "eslint-plugin-jsx-a11y",
  3. "version": "6.8.0",
  4. "description": "Static AST checker for accessibility rules on JSX elements.",
  5. "keywords": [
  6. "eslint",
  7. "eslintplugin",
  8. "eslint-plugin",
  9. "a11y",
  10. "accessibility",
  11. "jsx"
  12. ],
  13. "author": "Ethan Cohen",
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y"
  17. },
  18. "main": "lib/index.js",
  19. "scripts": {
  20. "prepack": "npmignore --auto --commentLines=autogenerated && npm run build",
  21. "build": "rimraf lib && babel src --out-dir lib --copy-files",
  22. "create": "node ./scripts/create-rule",
  23. "flow": "flow",
  24. "lint:fix": "npm run lint -- --fix",
  25. "lint": "eslint --ext=js,mjs,cjs,ts,tsx .",
  26. "prepublish": "not-in-publish || npm run prepublishOnly",
  27. "prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest",
  28. "pretest": "npm run lint:fix && npm run flow",
  29. "test": "npm run jest",
  30. "posttest": "aud --production",
  31. "test:ci": "npm run jest -- --ci --runInBand",
  32. "jest": "jest --coverage __tests__/**/*",
  33. "pregenerate-list-of-rules": "npm run build",
  34. "generate-list-of-rules": "eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --config-emoji recommended,☑️",
  35. "generate-list-of-rules:check": "npm run generate-list-of-rules -- --check",
  36. "version": "auto-changelog && git add CHANGELOG.md",
  37. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  38. },
  39. "devDependencies": {
  40. "@babel/cli": "^7.23.0",
  41. "@babel/core": "^7.23.2",
  42. "@babel/eslint-parser": "^7.22.15",
  43. "@babel/plugin-transform-flow-strip-types": "^7.22.5",
  44. "@babel/register": "^7.22.15",
  45. "aud": "^2.0.3",
  46. "auto-changelog": "^2.4.0",
  47. "babel-jest": "^24.9.0",
  48. "babel-plugin-add-module-exports": "^1.0.4",
  49. "babel-preset-airbnb": "^5.0.0",
  50. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
  51. "eslint-config-airbnb-base": "^15.0.0",
  52. "eslint-doc-generator": "^1.5.2",
  53. "eslint-plugin-eslint-plugin": "^4.3.0",
  54. "eslint-plugin-flowtype": "^5.8.0 || ^8.0.3",
  55. "eslint-plugin-import": "^2.29.0",
  56. "estraverse": "^5.3.0",
  57. "expect": "^24.9.0",
  58. "flow-bin": "^0.147.0",
  59. "in-publish": "^2.0.1",
  60. "jackspeak": "=2.1.1",
  61. "jest": "^24.9.0",
  62. "jscodeshift": "^0.7.1",
  63. "minimist": "^1.2.8",
  64. "npmignore": "^0.3.0",
  65. "object.assign": "^4.1.4",
  66. "rimraf": "^3.0.2",
  67. "safe-publish-latest": "^2.0.0",
  68. "semver": "^6.3.1",
  69. "to-ast": "^1.0.0"
  70. },
  71. "engines": {
  72. "node": ">=4.0"
  73. },
  74. "license": "MIT",
  75. "dependencies": {
  76. "@babel/runtime": "^7.23.2",
  77. "aria-query": "^5.3.0",
  78. "array-includes": "^3.1.7",
  79. "array.prototype.flatmap": "^1.3.2",
  80. "ast-types-flow": "^0.0.8",
  81. "axe-core": "=4.7.0",
  82. "axobject-query": "^3.2.1",
  83. "damerau-levenshtein": "^1.0.8",
  84. "emoji-regex": "^9.2.2",
  85. "es-iterator-helpers": "^1.0.15",
  86. "hasown": "^2.0.0",
  87. "jsx-ast-utils": "^3.3.5",
  88. "language-tags": "^1.0.9",
  89. "minimatch": "^3.1.2",
  90. "object.entries": "^1.1.7",
  91. "object.fromentries": "^2.0.7"
  92. },
  93. "peerDependencies": {
  94. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
  95. },
  96. "jest": {
  97. "coverageReporters": [
  98. "lcov",
  99. "json",
  100. "html"
  101. ],
  102. "coverageDirectory": "coverage",
  103. "roots": [
  104. "__tests__"
  105. ],
  106. "testPathIgnorePatterns": [
  107. "__tests__/__util__/"
  108. ],
  109. "testEnvironment": "node"
  110. },
  111. "auto-changelog": {
  112. "output": "CHANGELOG.md",
  113. "template": "keepachangelog",
  114. "unreleased": false,
  115. "commitLimit": false,
  116. "backfillLimit": false,
  117. "hideCredit": true,
  118. "startingVersion": "6.6.2"
  119. },
  120. "publishConfig": {
  121. "ignore": [
  122. "!lib",
  123. ".github/workflows",
  124. ".flowconfig",
  125. "/src",
  126. "/reports",
  127. "/flow",
  128. "scripts/",
  129. "CONTRIBUTING.md"
  130. ]
  131. }
  132. }