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