package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "eslint-plugin-jsx-a11y",
  3. "version": "6.10.2",
  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": "npx eslint@8 --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 tests-only",
  28. "pretest": "npm run lint:fix && npm run flow",
  29. "test": "npm run tests-only",
  30. "tests-only": "tape --require=@babel/register '__tests__/**/*.js'",
  31. "posttest": "npx npm@'>=10.2' audit --production",
  32. "pretest:examples": "npm run build",
  33. "test:examples": "npm run test-example:legacy && npm run test-example:flat-esm && npm run test-example:flat-cjs",
  34. "test-example:legacy": "cd examples/legacy && npm install && npm run lint",
  35. "test-example:flat-esm": "cd examples/flat-esm && npm install && npm run lint",
  36. "test-example:flat-cjs": "cd examples/flat-cjs && npm install && npm run lint",
  37. "pregenerate-list-of-rules": "npm run build",
  38. "generate-list-of-rules": "eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --config-emoji recommended,☑️ --ignore-config flat/recommended --ignore-config flat/strict",
  39. "generate-list-of-rules:check": "npm run generate-list-of-rules -- --check",
  40. "version": "auto-changelog && git add CHANGELOG.md",
  41. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  42. },
  43. "devDependencies": {
  44. "@babel/cli": "^7.25.9",
  45. "@babel/core": "^7.26.0",
  46. "@babel/eslint-parser": "^7.25.9",
  47. "@babel/plugin-transform-flow-strip-types": "^7.25.9",
  48. "@babel/register": "^7.25.9",
  49. "auto-changelog": "^2.5.0",
  50. "babel-plugin-add-module-exports": "^1.0.4",
  51. "babel-preset-airbnb": "^5.0.0",
  52. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9",
  53. "eslint-config-airbnb-base": "^15.0.0",
  54. "eslint-doc-generator": "^1.7.1",
  55. "eslint-plugin-eslint-plugin": "^4.3.0",
  56. "eslint-plugin-flowtype": "^5.8.0 || ^8.0.3",
  57. "eslint-plugin-import": "^2.31.0",
  58. "estraverse": "^5.3.0",
  59. "flow-bin": "^0.147.0",
  60. "in-publish": "^2.0.1",
  61. "jackspeak": "=2.1.1",
  62. "jscodeshift": "^17.0.0",
  63. "minimist": "^1.2.8",
  64. "npmignore": "^0.3.1",
  65. "object.assign": "^4.1.5",
  66. "object.entries": "^1.1.8",
  67. "rimraf": "^3.0.2",
  68. "safe-publish-latest": "^2.0.0",
  69. "semver": "^6.3.1",
  70. "tape": "^5.9.0",
  71. "to-ast": "^1.0.0"
  72. },
  73. "engines": {
  74. "node": ">=4.0"
  75. },
  76. "license": "MIT",
  77. "dependencies": {
  78. "aria-query": "^5.3.2",
  79. "array-includes": "^3.1.8",
  80. "array.prototype.flatmap": "^1.3.2",
  81. "ast-types-flow": "^0.0.8",
  82. "axe-core": "^4.10.0",
  83. "axobject-query": "^4.1.0",
  84. "damerau-levenshtein": "^1.0.8",
  85. "emoji-regex": "^9.2.2",
  86. "hasown": "^2.0.2",
  87. "jsx-ast-utils": "^3.3.5",
  88. "language-tags": "^1.0.9",
  89. "minimatch": "^3.1.2",
  90. "object.fromentries": "^2.0.8",
  91. "safe-regex-test": "^1.0.3",
  92. "string.prototype.includes": "^2.0.1"
  93. },
  94. "peerDependencies": {
  95. "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"
  96. },
  97. "auto-changelog": {
  98. "output": "CHANGELOG.md",
  99. "template": "keepachangelog",
  100. "unreleased": false,
  101. "commitLimit": false,
  102. "backfillLimit": false,
  103. "hideCredit": true,
  104. "startingVersion": "6.6.2"
  105. },
  106. "publishConfig": {
  107. "ignore": [
  108. "!lib",
  109. ".github/workflows",
  110. ".flowconfig",
  111. "/src",
  112. "/reports",
  113. "/flow",
  114. "scripts/",
  115. "CONTRIBUTING.md",
  116. "/examples"
  117. ]
  118. }
  119. }