package.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. {
  2. "name": "axe-core",
  3. "description": "Accessibility engine for automated Web UI testing",
  4. "version": "4.4.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. "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 test/aria-practices/*.spec.js",
  87. "integration:chrome": "npm run integration -- browser=Chrome",
  88. "integration:firefox": "npm run integration -- browser=Firefox",
  89. "integration:ie": "npm run integration -- browser=IE",
  90. "test:integration": "npm run test:integration:chrome",
  91. "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
  92. "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
  93. "test:integration:ie": "start-server-and-test 9876 integration:ie",
  94. "test:examples": "node ./doc/examples/test-examples",
  95. "test:act": "karma start test/act-mapping/karma.config.js",
  96. "test:act:debug": "npm run test:act -- --no-single-run --browsers=Chrome",
  97. "test:apg": "start-server-and-test 9876 integration:apg",
  98. "test:locales": "mocha test/test-locales.js",
  99. "test:virtual-rules": "mocha test/test-virtual-rules.js",
  100. "test:rule-help-version": "mocha test/test-rule-help-version.js",
  101. "test:node": "mocha test/node/*.js",
  102. "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
  103. "release": "git fetch origin --tags --force && standard-version -a",
  104. "rule-gen": "node build/rule-generator",
  105. "next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
  106. "sri-update": "grunt build && node build/sri-update && git add sri-history.json",
  107. "sri-validate": "node build/sri-update --validate",
  108. "fmt": "prettier --write .*.json *.{json,md,js} **/*.ts './{.circleci,.github,build,doc,lib,locales,test,typings}/**/*.{json,md,js,ts,html}'"
  109. },
  110. "devDependencies": {
  111. "@axe-core/webdriverjs": "^4.3.2",
  112. "@babel/core": "^7.5.4",
  113. "@babel/plugin-proposal-object-rest-spread": "^7.5.4",
  114. "@babel/polyfill": "^7.4.4",
  115. "@babel/preset-env": "^7.5.4",
  116. "@deque/dot": "^1.1.5",
  117. "act-rules.github.io": "github:act-rules/act-rules.github.io#a5d7336e020fd04fd429f94c651102f8ab255f01",
  118. "aria-practices": "github:w3c/aria-practices#f7de7ec3a53534018237f24cb9e610f26c30c367",
  119. "aria-query": "^3.0.0",
  120. "browser-driver-manager": "1.0.3",
  121. "chai": "~4.2.0",
  122. "chalk": "^4.1.0",
  123. "chromedriver": "latest",
  124. "clone": "^2.1.2",
  125. "conventional-commits-parser": "^3.1.0",
  126. "css-selector-parser": "^1.3.0",
  127. "emoji-regex": "8.0.0",
  128. "es6-promise": "^4.2.6",
  129. "esbuild": "^0.7.19",
  130. "eslint": "^7.27.0",
  131. "eslint-config-prettier": "^6.2.0",
  132. "eslint-plugin-mocha-no-only": "^1.1.1",
  133. "execa": "^2.0.2",
  134. "globby": "^10.0.0",
  135. "grunt": "^1.0.3",
  136. "grunt-babel": "^8.0.0",
  137. "grunt-bytesize": "^0.2.0",
  138. "grunt-contrib-clean": "^2.0.0",
  139. "grunt-contrib-concat": "^1.0.1",
  140. "grunt-contrib-uglify": "^4.0.0",
  141. "grunt-contrib-watch": "^1.1.0",
  142. "html-entities": "^1.2.0",
  143. "http-server": "^14.1.0",
  144. "husky": "^3.1.0",
  145. "jquery": "^3.0.0",
  146. "jsdoc": "^3.6.10",
  147. "jsdom": "^16.3.0",
  148. "karma": "^6.3.16",
  149. "karma-chai": "^0.1.0",
  150. "karma-chrome-launcher": "^3.1.0",
  151. "karma-firefox-launcher": "^2.1.0",
  152. "karma-ie-launcher": "^1.0.0",
  153. "karma-mocha": "^2.0.1",
  154. "karma-sinon": "^1.0.5",
  155. "karma-spec-reporter": "0.0.33",
  156. "lint-staged": "^11.2.6",
  157. "make-dir": "^3.0.0",
  158. "markdown-table": "^1.1.2",
  159. "memoizee": "^0.4.14",
  160. "minami": "^1.2.3",
  161. "mocha": "^9.2.0",
  162. "node-notifier": "^8.0.1",
  163. "npm-run-all": "^4.1.5",
  164. "prettier": "^1.17.1",
  165. "proxyquire": "^2.1.3",
  166. "revalidator": "~0.3.1",
  167. "selenium-webdriver": "~3.6.0",
  168. "sinon": "^7.5.0",
  169. "sri-toolbox": "^0.2.0",
  170. "standard-version": "^9.0.0",
  171. "start-server-and-test": "^1.11.7",
  172. "typedarray": "^0.0.6",
  173. "typescript": "^3.5.3",
  174. "uglify-js": "^3.4.4",
  175. "weakmap-polyfill": "^2.0.0"
  176. },
  177. "husky": {
  178. "hooks": {
  179. "pre-commit": "grunt configure && lint-staged"
  180. }
  181. },
  182. "lint-staged": {
  183. "*.{md,json,ts,html}": [
  184. "prettier --write"
  185. ],
  186. "*.js": [
  187. "eslint --fix",
  188. "prettier --write"
  189. ]
  190. }
  191. }