-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
216 lines (216 loc) · 10.5 KB
/
package.json
File metadata and controls
216 lines (216 loc) · 10.5 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
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
{
"name": "@msinternal/botframework-webchat-root",
"version": "4.18.1-0",
"private": true,
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/BotFramework-WebChat.git"
},
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"homepage": "https://github.com/microsoft/BotFramework-WebChat#readme",
"keywords": [],
"cldr-data-coverage": "full",
"workspaces": [
"./packages/tsconfig",
"./packages/base",
"./packages/test/dev-server",
"./packages/test/harness",
"./packages/test/web-server",
"./packages/core",
"./packages/react-hooks",
"./packages/react-valibot",
"./packages/redux-store",
"./packages/styles",
"./packages/support/cldr-data-downloader",
"./packages/support/cldr-data",
"./packages/api-middleware",
"./packages/api",
"./packages/isomorphic-react",
"./packages/isomorphic-react-dom",
"./packages/component",
"./packages/directlinespeech",
"./packages/bundle",
"./packages/test/page-object",
"./packages/debug-theme",
"./packages/fluent-theme"
],
"scripts": {
"audit-all": "find -name package-lock.json | xargs dirname | xargs -I {} sh -c 'cd {} && npm audit'",
"biome": "biome check ./packages",
"browser": "node ./packages/test/harness/src/host/dev/index http://localhost:5001/__tests__/html/",
"browser:watch": "node-dev --no-notify --respawn ./packages/test/harness/src/host/dev/index http://localhost:5001/__tests__/html/",
"build": "npm run build:production && npm run build:html2-samples",
"build:html2-samples": "cd __tests__/html2/samples/ && esbuild --bundle --format=esm --outbase=. --outdir=./dist/ --minify **/*.tsx --splitting",
"build:production": "npm run build --if-present --workspaces",
"bump": "npm run bump:prod && npm run bump:dev && (npm audit fix || exit 0) && npm run bump:packages && npm run bump:samples",
"bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // []) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | contains([$K]) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
"bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // []) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | contains([$K]) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install --save-exact $PACKAGES_TO_BUMP || true",
"bump:packages": "npm run bump --workspaces",
"bump:samples": "cd samples && npm run bump",
"docker": "npm run docker:up",
"docker:down": "docker compose -f docker-compose-wsl2.yml down --rmi all",
"docker:up": "docker compose -f docker-compose-wsl2.yml down && docker compose -f docker-compose-wsl2.yml up --build --scale chrome=4",
"eslint": "npm run precommit",
"lint-staged": "lint-staged",
"precommit": "npm run precommit --if-present --workspaces",
"precommit:biome": "npm run biome -- --no-errors-on-unmatched",
"precommit:eslint:api": "cd packages && cd api && npm run precommit:eslint",
"precommit:eslint:api-middleware": "cd packages && cd api-middleware && npm run precommit:eslint",
"precommit:eslint:base": "cd packages && cd base && npm run precommit:eslint",
"precommit:eslint:bundle": "cd packages && cd bundle && npm run precommit:eslint",
"precommit:eslint:component": "cd packages && cd component && npm run precommit:eslint",
"precommit:eslint:core": "cd packages && cd core && npm run precommit:eslint",
"precommit:eslint:debug-theme": "cd packages && cd debug-theme && npm run precommit:eslint",
"precommit:eslint:directlinespeech": "cd packages && cd directlinespeech && npm run precommit:eslint",
"precommit:eslint:fluent-theme": "cd packages && cd fluent-theme && npm run precommit:eslint",
"precommit:eslint:isomorphic-react-dom": "cd packages && cd isomorphic-react-dom && npm run precommit:eslint",
"precommit:eslint:isomorphic-react": "cd packages && cd isomorphic-react && npm run precommit:eslint",
"precommit:eslint:react-hooks": "cd packages && cd react-hooks && npm run precommit:eslint",
"precommit:eslint:react-valibot": "cd packages && cd react-valibot && npm run precommit:eslint",
"precommit:eslint:redux-store": "cd packages && cd redux-store && npm run precommit:eslint",
"precommit:eslint:styles": "cd packages && cd styles && npm run precommit:eslint",
"precommit:eslint:support-cldr-data-downloader": "cd packages && cd support && cd cldr-data-downloader && npm run precommit:eslint",
"precommit:eslint:support-cldr-data": "cd packages && cd support && cd cldr-data && npm run precommit:eslint",
"precommit:eslint:test-harness": "cd packages && cd test && cd harness && npm run precommit:eslint",
"precommit:eslint:test-page-object": "cd packages && cd test && cd page-object && npm run precommit:eslint",
"precommit:eslint:web-server": "cd packages && cd test && cd web-server && npm run precommit:eslint",
"precommit:typecheck": "concurrently \"npm:precommit:typecheck:*\"",
"precommit:typecheck:api": "cd packages && cd api && npm run precommit:typecheck",
"precommit:typecheck:api-middleware": "cd packages && cd api-middleware && npm run precommit:typecheck",
"precommit:typecheck:base": "cd packages && cd base && npm run precommit:typecheck",
"precommit:typecheck:bundle": "cd packages && cd bundle && npm run precommit:typecheck",
"precommit:typecheck:component": "cd packages && cd component && npm run precommit:typecheck",
"precommit:typecheck:core": "cd packages && cd core && npm run precommit:typecheck",
"precommit:typecheck:debug-theme": "cd packages && cd debug-theme && npm run precommit:typecheck",
"precommit:typecheck:fluent-theme": "cd packages && cd fluent-theme && npm run precommit:typecheck",
"precommit:typecheck:react-hooks": "cd packages && cd react-hooks && npm run precommit:typecheck",
"precommit:typecheck:react-valibot": "cd packages && cd react-valibot && npm run precommit:typecheck",
"precommit:typecheck:redux-store": "cd packages && cd redux-store && npm run precommit:typecheck",
"precommit:typecheck:styles": "cd packages && cd styles && npm run precommit:typecheck",
"prepare": "husky",
"start": "cross-env NODE_OPTIONS=--no-deprecation concurrently --kill-others --prefix-colors \"auto\" \"npm:start:*\"",
"start:api": "cd packages && cd api && npm start",
"start:api-middleware": "cd packages && cd api-middleware && npm start",
"start:base": "cd packages && cd base && npm start",
"start:bundle": "cd packages && cd bundle && npm start",
"start:component": "cd packages && cd component && npm start",
"start:core": "cd packages && cd core && npm start",
"start:debug-theme": "cd packages && cd debug-theme && npm start",
"start:directlinespeech": "cd packages && cd directlinespeech && npm start",
"start:fluent-theme": "cd packages && cd fluent-theme && npm start",
"start:react-hooks": "cd packages && cd react-hooks && npm start",
"start:react-valibot": "cd packages && cd react-valibot && npm start",
"start:redux-store": "cd packages && cd redux-store && npm start",
"start:server": "serve -p 5000",
"start:test-dev-server": "cd packages && cd test && cd dev-server && npm start",
"start:test-harness": "cd packages && cd test && cd harness && npm start",
"start:test-page-object": "cd packages && cd test && cd page-object && npm start",
"test": "jest --watch"
},
"pinDependencies": {
"@testing-library/react": [
"12",
"@testing-library/react@12 is targeting react@16"
],
"@types/jest": [
"29",
"pinned jest@29"
],
"@types/react": [
"16",
"react@16.8.6 is our baseline"
],
"@types/react-dom": [
"16",
"react@16.8.6 is our baseline"
],
"babel-jest": [
"29",
"jest-image-snapshot@6.5.1 does not support jest@29 yet"
],
"eslint": [
"8",
"@typescript-eslint/eslint-plugin does not support eslint@9 yet"
],
"get-port": [
"5",
"get-port@6 dropped support of CommonJS"
],
"jest": [
"29",
"jest-image-snapshot@6.5.1 does not support jest@29 yet"
],
"react": [
"16.8.6",
"using react@16.8.6 to make sure this is the minimum supported version"
],
"react-dom": [
"16.8.6",
"using react-dom@16.8.6 to make sure this is the minimum supported version"
],
"strip-ansi": [
"6",
"strip-ansi@7 dropped support of CommonJS"
],
"typescript": [
"~5.8.3",
"@typescript-eslint/parser@8.38.0 does not support typescript@5.9.2 yet"
]
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@babel/runtime": "^7.28.4",
"@biomejs/biome": "^2.1.3",
"@happy-dom/jest-environment": "^18.0.1",
"@testing-library/react": "^12.1.5",
"@types/jest": "^29.5.14",
"@types/react": "^16.14.65",
"@types/react-dom": "^16.9.25",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^7.0.0",
"concurrently": "^9.2.0",
"core-js": "^3.44.0",
"cross-env": "^10.0.0",
"dotenv": "^17.2.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-local-rules": "^3.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-security": "^3.0.1",
"get-port": "^5.1.1",
"global-agent": "^3.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-image-snapshot": "^6.5.1",
"jest-junit": "^16.0.0",
"jest-trx-results-processor": "^3.0.2",
"lint-staged": "^16.1.2",
"lolex": "^6.0.0",
"node-dev": "^8.0.0",
"prettier": "^3.6.2",
"selenium-webdriver": "^4.34.0",
"serve": "^14.2.4",
"serve-handler": "^6.1.6",
"strip-ansi": "^6.0.1",
"tsup": "^8.5.0",
"typescript": "~5.8.3",
"unplugin-lightningcss": "^0.4.1"
},
"dependencies": {
"react": "16.8.6",
"react-dom": "16.8.6"
}
}