forked from microsoft/accessibility-insights-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
218 lines (218 loc) · 10.5 KB
/
package.json
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "accessibility-insights-web",
"private": true,
"version": "1.0.0",
"description": "Accessibility Insights for Web",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/accessibility-insights-web"
},
"engines": {
"node": ">=12.16.1"
},
"packageManager": "[email protected]",
"workspaces": [
"packages/*"
],
"browserslist": [
"chrome 88",
"edge 88",
"firefox 87"
],
"scripts": {
"packages": "yarn workspaces foreach --verbose",
"ada-cat": "grunt ada-cat",
"assessment": "npm-run-all --serial scss:clean fastpass build:all test test:e2e test:unified",
"build": "grunt",
"build:all": "grunt build-all",
"build:dev": "grunt build-dev",
"build:mock-adb": "grunt build-mock-adb",
"build:unified": "grunt build-unified",
"build:unified:all": "grunt build-unified-all",
"build:unified:canary": "grunt build-unified-canary",
"build:package:report": "yarn packages --include accessibility-insights-report run build",
"build:package:ui": "yarn packages --include accessibility-insights-ui run build",
"build:prod": "grunt build-prod",
"build:package:axe-config": "grunt generate-axe-config",
"change-log": "node ./tools/get-change-log-for-release.js",
"clean": "grunt clean:*",
"clean:mock-adb": "grunt clean:mock-adb",
"copy:prepare-binskim": "node ./pipeline/scripts/prepare-binskim-symbols.js",
"copyright:check": "license-check-and-add check -f copyright-header.config.json",
"copyright:fix": "license-check-and-add add -f copyright-header.config.json",
"download:electron-mirror:binaries": "node ./pipeline/scripts/download-electron-mirror-binaries.js",
"download:electron-mirror:symbols": "node ./pipeline/scripts/download-electron-mirror-symbols.js",
"fastpass": "npm-run-all --print-label scss:build --parallel type:check copyright:check lint:check lint:scss format:check null:check && grunt ada-cat",
"fastpass:fix": "npm-run-all --print-label --serial scss:clean copyright:fix lint:fix lint:scss:fix format:fix",
"format:check": "prettier --config prettier.config.js --check \"**/*\"",
"format:fix": "prettier --config prettier.config.js --write \"**/*\"",
"lint:check": "eslint \"**/*.{js,ts,tsx}\"",
"lint:check:all": "yarn lint:check && yarn lint:scss && yarn packages run lint:check",
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --quiet --fix",
"lint:scss": "stylelint \"**/*.scss\"",
"lint:scss:fix": "stylelint \"**/*.scss\" --fix",
"mock-adb": "node ./src/tests/miscellaneous/setup-mock-adb/setup-mock-adb-command.js",
"null:autoadd": "node ./tools/strict-null-checks/auto-add.js",
"null:check": "tsc -p ./tsconfig.strictNullChecks.json",
"null:find": "node ./tools/strict-null-checks/find.js",
"null:find-cycles": "node ./tools/strict-null-checks/find-cycles.js",
"null:progress": "node ./tools/strict-null-checks/progress.js",
"pack:unified:all": "grunt pack-unified-all",
"pack:unified:canary": "grunt unified-release-pack:unified-canary",
"pack:unified:insider": "grunt unified-release-pack:unified-insider",
"pack:unified:production": "grunt unified-release-pack:unified-production",
"react-devtools": "react-devtools",
"react-devtools:setup": "yarn add -W --dev react-devtools && echo \"react-devtools installed, rebuild required. Do not commit this package.json/yarn.lock change!\"",
"run:binskim": "node ./pipeline/scripts/run-binskim.js",
"scss:build": "typed-scss-modules \"src/**/*.scss\" --exportType default",
"scss:clean": "grunt clean:scss",
"start:unified": "electron drop/electron/unified-dev/product/bundle/main.bundle.js",
"start:unified:dev": "cross-env DEV_MODE=true yarnpkg start:unified",
"start:unified:mock-adb": "cross-env ANDROID_HOME=drop/mock-adb yarnpkg start:unified",
"test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict' jest --projects src/tests/unit",
"publish-code-coverage": "npx codecov",
"test:e2e": "cross-env NODE_OPTIONS='--unhandled-rejections=strict' jest --projects src/tests/end-to-end --runInBand --forceExit --detectOpenHandles",
"test:e2e:docker:build": "docker build -t accessibility-insights-e2e --target web .",
"test:e2e:docker:build:web": "docker build -t accessibility-insights-web-e2e --target web .",
"test:e2e:docker:build:unified": "docker build -t accessibility-insights-unified-e2e --target unified .",
"test:e2e:docker:run": "docker run -t accessibility-insights-e2e",
"test:e2e:docker:run:web": "docker run -t accessibility-insights-web-e2e",
"test:e2e:docker:run:unified": "docker run -t accessibility-insights-unified-e2e sh -c \"yarn test:unified --ci\"",
"test:e2e:docker": "npm-run-all --serial test:e2e:docker:build \"test:e2e:docker:run {@}\" --",
"test:unified": "cross-env NODE_OPTIONS='--unhandled-rejections=strict --max-old-space-size=512' jest --projects src/tests/electron --runInBand --forceExit --detectOpenHandles",
"test:report:e2e": "yarn packages --include accessibility-insights-report-e2e-tests run test",
"tbuild": "yarn build && yarn type:check",
"tbuild:all": "yarn build:all && yarn type:check",
"type:check": "tsc -noEmit",
"unified-mac-sign": "node ./pipeline/scripts/unified-mac-sign.js",
"watch": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:test watch:esbuild watch:webpack-unified",
"watch:build:all": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:esbuild watch:webpack-unified",
"watch:build:web": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:esbuild",
"watch:build:unified": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:webpack-unified",
"watch:scss": "typed-scss-modules \"src/**/*.scss\" --watch",
"watch:grunt": "grunt watch",
"watch:test": "jest --watch --projects src/tests/unit --coverage false --colors",
"watch:esbuild": "node esbuild.js --watch",
"watch:webpack-unified": "webpack --watch --config-name unified --color --progress"
},
"devDependencies": {
"7zip-bin": "^5.2.0",
"@electron/get": "^2.0.2",
"@esbuild-plugins/node-resolve": "^0.2.2",
"@swc/core": "^1.3.4",
"@swc/jest": "^0.2.24",
"@types/chrome": "0.0.224",
"@types/enzyme": "^3.10.12",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^29.5.0",
"@types/jsdom": "^20.0.1",
"@types/lodash": "^4.14.191",
"@types/luxon": "^3.2.0",
"@types/node": "^16.11.7",
"@types/react": "^16.14.25",
"@types/react-dom": "^16.9.15",
"@types/react-helmet": "^6.1.6",
"@types/react-router-dom": "^5.3.3",
"@types/serve-static": "^1.15.1",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^9.0.1",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.48.1",
"app-builder-lib": "^23.6.0",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"codecov": "^3.8.3",
"commander": "^10.0.0",
"core-js-bundle": "^3.29.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"electron-builder": "23.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"esbuild": "^0.17.8",
"eslint": "^8.35.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-security": "^1.7.1",
"express": "^4.18.2",
"extract-zip": "^2.0.1",
"fake-indexeddb": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"generic-names": "^4.0.0",
"grunt": "^1.6.1",
"grunt-bom-removal": "1.0.1",
"grunt-cli": "^1.4.3",
"grunt-concurrent": "^3.0.0",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0",
"grunt-sass": "^3.1.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "^15.0.0",
"js-yaml": "^4.1.0",
"license-check-and-add": "^4.0.5",
"mini-css-extract-plugin": "2.7.3",
"npm-run-all": "^4.1.5",
"playwright": "^1.31.2",
"postcss": "^8.4.21",
"postcss-modules": "^6.0.0",
"prettier": "^2.8.3",
"regenerator-runtime": "^0.13.11",
"sass": "^1.58.3",
"sass-loader": "^13.2.0",
"serve-static": "^1.15.0",
"simple-git": "^3.17.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^6.1.0",
"terser-webpack-plugin": "^5.3.7",
"ts-loader": "^9.4.2",
"typed-scss-modules": "^7.0.2",
"typemoq": "^2.1.0",
"typescript": "^4.9.5",
"webpack": "^5.76.1",
"webpack-cli": "^5.0.1",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@fluentui/react": "^8.96.1",
"@microsoft/applicationinsights-web": "^2.8.11",
"accessibility-insights-for-android-service-bin": "2.1.0",
"ajv": "^8.12.0",
"android-device-list": "^1.2.9",
"appium-adb": "^9.10.24",
"axe-core": "4.6.3",
"classnames": "^2.3.2",
"electron": "22.0.0",
"electron-log": "^4.4.8",
"electron-updater": "^5.3.0",
"idb-keyval": "^6.2.0",
"lodash": "^4.17.21",
"luxon": "^3.3.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"react-resize-detector": "^8.0.4",
"react-router-dom": "^6.8.1",
"tabbable": "^6.0.1",
"ua-parser-js": "^1.0.33",
"uuid": "^9.0.0",
"webextension-polyfill": "^0.10.0"
},
"resolutions": {
"@types/node": "^16.11.7",
"ansi-regex": "^5.0.1",
"got": "^11.8.5",
"jpeg-js": ">=0.4.4",
"kind-of": "^6.0.3",
"license-check-and-add/yargs": "^15.3.1",
"minimist": "^1.2.3",
"moment": "^2.29.4",
"nth-check": ">=2.0.1",
"plist": ">=3.0.6",
"tar": ">=6.1.9"
}
}