-
Notifications
You must be signed in to change notification settings - Fork 150
/
package.json
182 lines (182 loc) · 8 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
{
"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",
"build": "grunt",
"build:all": "grunt build-all",
"build:dev": "grunt build-dev",
"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:*",
"codeshift": "node ./tools/jscodeshift/codeshift.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",
"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",
"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",
"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!\"",
"scss:build": "typed-scss-modules \"src/**/*.scss\" --exportType default",
"scss:clean": "grunt clean:scss",
"test": "jest --projects src/tests/unit",
"publish-code-coverage": "npx codecov",
"test:e2e": "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:run": "docker run -t accessibility-insights-e2e",
"test:e2e:docker:run:web": "docker run -t accessibility-insights-web-e2e",
"test:e2e:docker": "npm-run-all --serial test:e2e:docker:build \"test:e2e:docker:run {@}\" --",
"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",
"watch": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:test watch:esbuild",
"watch:build:all": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:esbuild",
"watch:build:web": "npm-run-all --parallel --race --print-label watch:scss watch:grunt watch:esbuild",
"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"
},
"devDependencies": {
"@esbuild-plugins/node-resolve": "^0.2.2",
"@swc/core": "^1.3.107",
"@swc/jest": "^0.2.36",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16.0.1",
"@types/chrome": "0.0.260",
"@types/jest": "^29.5.11",
"@types/jsdom": "^21.1.6",
"@types/lodash": "^4.17.12",
"@types/luxon": "^3.4.2",
"@types/node": "^16.11.7",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.11",
"@types/react-router-dom": "^5.3.3",
"@types/serve-static": "^1.15.5",
"@types/ua-parser-js": "^0.7.39",
"@types/uuid": "^9.0.7",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^6.18.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"codecov": "^3.8.3",
"commander": "^11.1.0",
"core-js-bundle": "^3.35.0",
"cross-env": "^7.0.3",
"css-loader": "^6.10.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.4",
"eslint-plugin-security": "^1.7.1",
"express": "^4.20.0",
"extract-zip": "^2.0.1",
"fake-indexeddb": "^4.0.2",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"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.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"js-yaml": "^4.1.0",
"jscodeshift": "^0.16.1",
"license-check-and-add": "^4.0.5",
"mini-css-extract-plugin": "2.9.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.48.1",
"postcss": "^8.4.41",
"postcss-modules": "^6.0.0",
"prettier": "^3.3.3",
"regenerator-runtime": "^0.14.1",
"sass": "^1.69.7",
"sass-loader": "^13.3.3",
"serve-static": "^1.16.0",
"simple-git": "^3.22.0",
"stylelint": "^15.11.0",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"typed-scss-modules": "^8.0.0",
"typemoq": "^2.1.0",
"typescript": "^5.4.5",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@fluentui/react": "^8.118.1",
"@microsoft/applicationinsights-web": "^2.8.15",
"@testing-library/user-event": "^14.5.2",
"ajv": "^8.12.0",
"axe-core": "4.10.2",
"classnames": "^2.5.1",
"idb-keyval": "^6.2.1",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
"react-resize-detector": "^9.1.1",
"react-router-dom": "^6.21.3",
"tabbable": "^6.2.0",
"ua-parser-js": "^1.0.37",
"uuid": "^9.0.1",
"webextension-polyfill": "^0.12.0"
},
"resolutions": {
"@types/node": "^16.11.7",
"ansi-regex@^2.0.0": "^5.0.1",
"license-check-and-add/yargs@^13.3.0": "^15.3.1",
"nth-check@~1.0.1": "^2.0.1",
"semver@^6.0.0": "^6.3.1",
"semver@^7.0.0": "^7.5.2"
}
}