package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "name": "axe-core",
  3. "description": "Accessibility engine for automated Web UI testing",
  4. "version": "4.7.0",
  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. "homepage": "https://www.deque.com/axe/",
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/dequelabs/axe-core.git"
  41. },
  42. "keywords": [
  43. "Accessibility",
  44. "a11y",
  45. "testing",
  46. "unit",
  47. "tdd",
  48. "bdd",
  49. "axe"
  50. ],
  51. "main": "axe.js",
  52. "typings": "axe.d.ts",
  53. "files": [
  54. "axe.js",
  55. "axe.min.js",
  56. "axe.d.ts",
  57. "sri-history.json",
  58. "locales/"
  59. ],
  60. "standard-version": {
  61. "scripts": {
  62. "postbump": "npm ci && npm run sri-update && git add doc/rule-descriptions.md"
  63. },
  64. "skip": {
  65. "tag": true
  66. }
  67. },
  68. "scripts": {
  69. "start": "http-server -p 9876 --silent",
  70. "develop": "grunt dev --force",
  71. "api-docs": "jsdoc --configure .jsdoc.json",
  72. "build": "grunt",
  73. "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'",
  74. "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
  75. "test:tsc": "tsc",
  76. "test:unit": "karma start test/karma.conf.js",
  77. "test:debug": "npm run test:unit -- --no-single-run --browsers=Chrome",
  78. "test:unit:core": "npm run test:unit -- testDirs=core",
  79. "test:unit:commons": "npm run test:unit -- testDirs=commons",
  80. "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches",
  81. "test:unit:checks": "npm run test:unit -- testDirs=checks",
  82. "test:unit:api": "npm run test:unit -- testDirs=api",
  83. "test:unit:integration": "npm run test:unit -- testDirs=integration",
  84. "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules",
  85. "integration": "node test/integration/full/test-webdriver.js",
  86. "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
  87. "integration:chrome": "npm run integration -- browser=Chrome",
  88. "integration:firefox": "npm run integration -- browser=Firefox",
  89. "test:integration": "npm run test:integration:chrome",
  90. "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
  91. "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
  92. "test:examples": "node ./doc/examples/test-examples",
  93. "test:act": "mocha --fail-zero test/act-rules/*.spec.js",
  94. "test:apg": "start-server-and-test 9876 integration:apg",
  95. "test:locales": "mocha test/test-locales.js",
  96. "test:virtual-rules": "mocha test/test-virtual-rules.js",
  97. "test:rule-help-version": "mocha test/test-rule-help-version.js",
  98. "test:node": "mocha test/node/*.js",
  99. "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
  100. "release": "git fetch origin --tags --force && standard-version -a",
  101. "rule-gen": "node build/rule-generator",
  102. "next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
  103. "sri-update": "grunt build && node build/sri-update && git add sri-history.json",
  104. "sri-validate": "node build/sri-update --validate",
  105. "fmt": "prettier --write .",
  106. "prepare": "husky install",
  107. "prebuild": "node ./build/check-node-version.js",
  108. "pretest": "node ./build/check-node-version.js",
  109. "postbuild": "prettier --write ./locales/_template.json ./doc/rule-descriptions.md"
  110. },
  111. "devDependencies": {
  112. "@axe-core/webdriverjs": "^4.5.2",
  113. "@babel/core": "^7.20.12",
  114. "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
  115. "@babel/preset-env": "^7.20.2",
  116. "@babel/runtime-corejs3": "^7.20.7",
  117. "@deque/dot": "^1.1.5",
  118. "aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
  119. "aria-query": "^5.1.3",
  120. "browser-driver-manager": "1.0.4",
  121. "chai": "^4.3.7",
  122. "chalk": "^4.x",
  123. "chromedriver": "latest",
  124. "clone": "^2.1.2",
  125. "conventional-commits-parser": "^3.2.4",
  126. "core-js": "^3.27.1",
  127. "css-selector-parser": "^1.4.1",
  128. "emoji-regex": "^10.2.1",
  129. "es6-promise": "^4.2.8",
  130. "esbuild": "^0.10.x",
  131. "eslint": "^8.31.0",
  132. "eslint-config-prettier": "^8.6.0",
  133. "eslint-plugin-mocha-no-only": "^1.1.1",
  134. "execa": "5.x",
  135. "globby": "11.x",
  136. "grunt": "^1.5.3",
  137. "grunt-babel": "^8.0.0",
  138. "grunt-bytesize": "^0.2.0",
  139. "grunt-contrib-clean": "^2.0.1",
  140. "grunt-contrib-concat": "^2.1.0",
  141. "grunt-contrib-uglify": "^5.2.2",
  142. "grunt-contrib-watch": "^1.1.0",
  143. "html-entities": "1.x",
  144. "http-server": "^14.1.1",
  145. "husky": "^8.0.3",
  146. "jquery": "^3.6.3",
  147. "jsdoc": "^3.6.11",
  148. "jsdom": "^21.0.0",
  149. "karma": "^6.4.1",
  150. "karma-chai": "^0.1.0",
  151. "karma-chrome-launcher": "^3.1.1",
  152. "karma-firefox-launcher": "^2.1.2",
  153. "karma-ie-launcher": "^1.0.0",
  154. "karma-mocha": "^2.0.1",
  155. "karma-sinon": "^1.0.5",
  156. "karma-spec-reporter": "^0.0.36",
  157. "lint-staged": "^13.1.0",
  158. "make-dir": "^3.1.0",
  159. "markdown-table": "2.x",
  160. "memoizee": "^0.4.15",
  161. "minami": "^1.2.3",
  162. "mocha": "^10.2.0",
  163. "node-notifier": "^10.0.1",
  164. "npm-run-all": "^4.1.5",
  165. "prettier": "^2.8.2",
  166. "proxyquire": "^2.1.3",
  167. "revalidator": "^0.3.1",
  168. "selenium-webdriver": "^4.7.1",
  169. "serve-handler": "^6.1.5",
  170. "sinon": "^15.0.1",
  171. "sri-toolbox": "^0.2.0",
  172. "standard-version": "^9.5.0",
  173. "start-server-and-test": "^1.15.2",
  174. "typedarray": "^0.0.7",
  175. "typescript": "^4.9.4",
  176. "uglify-js": "^3.17.4",
  177. "wcag-act-rules": "github:w3c/wcag-act-rules#2341a1b",
  178. "weakmap-polyfill": "^2.0.4"
  179. },
  180. "lint-staged": {
  181. "*.{md,json,ts,html}": [
  182. "prettier --write"
  183. ],
  184. "*.js": [
  185. "eslint --fix",
  186. "prettier --write"
  187. ]
  188. }
  189. }