package.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. {
  2. "name": "axe-core",
  3. "description": "Accessibility engine for automated Web UI testing",
  4. "version": "4.10.3",
  5. "license": "MPL-2.0",
  6. "engines": {
  7. "node": ">=4"
  8. },
  9. "contributors": [
  10. {
  11. "name": "David Sturley",
  12. "organization": "Deque Systems, Inc.",
  13. "url": "http://deque.com/"
  14. },
  15. {
  16. "name": "Dylan Barrell",
  17. "email": "dylan@barrell.com",
  18. "organization": "Deque Systems, Inc.",
  19. "url": "http://deque.com/"
  20. },
  21. {
  22. "name": "Wilco Fiers",
  23. "organization": "Deque Systems, Inc.",
  24. "url": "http://deque.com/"
  25. },
  26. {
  27. "name": "Dian Fay",
  28. "organization": "Deque Systems, Inc.",
  29. "url": "http://deque.com/"
  30. },
  31. {
  32. "name": "Marcy Sutton",
  33. "organization": "Deque Systems, Inc.",
  34. "url": "http://deque.com/"
  35. },
  36. {
  37. "name": "Ava Gaiety Wroten",
  38. "organization": "Deque Systems, Inc.",
  39. "url": "http://deque.com/"
  40. }
  41. ],
  42. "homepage": "https://www.deque.com/axe/",
  43. "repository": {
  44. "type": "git",
  45. "url": "https://github.com/dequelabs/axe-core.git"
  46. },
  47. "keywords": [
  48. "Accessibility",
  49. "a11y",
  50. "testing",
  51. "unit",
  52. "tdd",
  53. "bdd",
  54. "axe"
  55. ],
  56. "main": "axe.js",
  57. "typings": "axe.d.ts",
  58. "files": [
  59. "axe.js",
  60. "axe.min.js",
  61. "axe.d.ts",
  62. "sri-history.json",
  63. "locales/",
  64. "LICENSE-3RD-PARTY.txt"
  65. ],
  66. "standard-version": {
  67. "scripts": {
  68. "postbump": "npm ci && npm run sri-update && git add doc/rule-descriptions.md"
  69. },
  70. "skip": {
  71. "tag": true
  72. }
  73. },
  74. "scripts": {
  75. "start": "http-server -a \"\" -p 9876 --silent",
  76. "develop": "grunt dev --force",
  77. "api-docs": "jsdoc --configure .jsdoc.json",
  78. "build": "grunt",
  79. "patch": "npx patch-package",
  80. "unpatch": "npx patch-package --reverse",
  81. "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'",
  82. "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
  83. "test:tsc": "tsc",
  84. "test:unit": "karma start test/karma.conf.js",
  85. "test:debug": "npm run test:unit -- --no-single-run --browsers=ChromeDebugging",
  86. "test:unit:core": "npm run test:unit -- testDirs=core",
  87. "test:unit:commons": "npm run test:unit -- testDirs=commons",
  88. "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches",
  89. "test:unit:checks": "npm run test:unit -- testDirs=checks",
  90. "test:unit:api": "npm run test:unit -- testDirs=api",
  91. "test:unit:integration": "npm run test:unit -- testDirs=integration",
  92. "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules",
  93. "integration": "node test/integration/full/test-webdriver.js",
  94. "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
  95. "integration:chrome": "npm run integration -- browser=Chrome",
  96. "integration:firefox": "npm run integration -- browser=Firefox",
  97. "test:integration": "npm run test:integration:chrome",
  98. "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
  99. "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
  100. "test:examples": "node ./doc/examples/test-examples",
  101. "test:act": "mocha --fail-zero test/act-rules/*.spec.js",
  102. "test:apg": "start-server-and-test 9876 integration:apg",
  103. "test:locales": "mocha test/test-locales.js",
  104. "test:virtual-rules": "mocha test/test-virtual-rules.js",
  105. "test:rule-help-version": "mocha test/test-rule-help-version.js",
  106. "test:node": "node test/node/node.js",
  107. "test:jsdom": "mocha test/node/jsdom.js",
  108. "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
  109. "release": "git fetch origin --tags --force && standard-version -a",
  110. "rule-gen": "node build/rule-generator",
  111. "next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
  112. "sri-update": "grunt build && node build/sri-update && git add sri-history.json",
  113. "sri-validate": "node build/sri-update --validate",
  114. "fmt": "prettier --write .",
  115. "fmt:check": "prettier --check .",
  116. "prepare": "husky && npm run patch",
  117. "prebuild": "node ./build/check-node-version.js",
  118. "pretest": "node ./build/check-node-version.js",
  119. "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
  120. },
  121. "devDependencies": {
  122. "@axe-core/webdriverjs": "^4.9.0",
  123. "@babel/core": "^7.20.12",
  124. "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
  125. "@babel/preset-env": "^7.20.2",
  126. "@babel/runtime-corejs3": "^7.20.7",
  127. "@deque/dot": "^1.1.5",
  128. "@types/node": "^4.9.5",
  129. "aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
  130. "aria-query": "^5.1.3",
  131. "browser-driver-manager": "1.0.4",
  132. "chai": "^4.3.7",
  133. "chalk": "^4.x",
  134. "chromedriver": "latest",
  135. "clean-jsdoc-theme": "^4.2.17",
  136. "clone": "^2.1.2",
  137. "colorjs.io": "0.4.3",
  138. "conventional-commits-parser": "^5.0.0",
  139. "core-js": "^3.27.1",
  140. "css-selector-parser": "^1.4.1",
  141. "emoji-regex": "^10.2.1",
  142. "es6-promise": "^4.2.8",
  143. "esbuild": "^0.10.x",
  144. "eslint": "^9.2.0",
  145. "eslint-config-prettier": "^9.1.0",
  146. "eslint-plugin-mocha-no-only": "^1.2.0",
  147. "execa": "5.x",
  148. "glob": "^10.3.10",
  149. "globals": "^15.2.0",
  150. "grunt": "^1.5.3",
  151. "grunt-babel": "^8.0.0",
  152. "grunt-bytesize": "^0.2.0",
  153. "grunt-contrib-clean": "^2.0.1",
  154. "grunt-contrib-concat": "^2.1.0",
  155. "grunt-contrib-uglify": "^5.2.2",
  156. "grunt-contrib-watch": "^1.1.0",
  157. "html-entities": "^2.4.0",
  158. "http-server": "^14.1.1",
  159. "husky": "^9.0.7",
  160. "inquirer": "^8.2.5",
  161. "jquery": "^3.6.3",
  162. "jsdoc": "^4.0.2",
  163. "jsdom": "^25.0.1",
  164. "karma": "^6.4.1",
  165. "karma-chai": "^0.1.0",
  166. "karma-chrome-launcher": "^3.1.1",
  167. "karma-firefox-launcher": "^2.1.2",
  168. "karma-ie-launcher": "^1.0.0",
  169. "karma-mocha": "^2.0.1",
  170. "karma-sinon": "^1.0.5",
  171. "karma-spec-reporter": "^0.0.36",
  172. "lint-staged": "^15.0.2",
  173. "memoizee": "^0.4.15",
  174. "mocha": "^10.2.0",
  175. "node-notifier": "^10.0.1",
  176. "npm-run-all": "^4.1.5",
  177. "outdent": "^0.8.0",
  178. "patch-package": "^8.0.0",
  179. "prettier": "^3.0.3",
  180. "revalidator": "^0.3.1",
  181. "selenium-webdriver": "^4.7.1",
  182. "serve-handler": "^6.1.5",
  183. "sinon": "^19.0.2",
  184. "sri-toolbox": "^0.2.0",
  185. "standard-version": "^9.5.0",
  186. "start-server-and-test": "^2.0.1",
  187. "typedarray": "^0.0.7",
  188. "typescript": "^5.2.2",
  189. "uglify-js": "^3.17.4",
  190. "wcag-act-rules": "github:w3c/wcag-act-rules#dc90495a5533d326b300ee5a9487afdfc6d493c0",
  191. "weakmap-polyfill": "^2.0.4"
  192. },
  193. "lint-staged": {
  194. "*.{md,json,ts,html}": [
  195. "prettier --write"
  196. ],
  197. "*.js": [
  198. "prettier --write",
  199. "eslint --fix"
  200. ]
  201. }
  202. }