forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
221 lines (221 loc) · 9.16 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
219
220
221
{
"name": "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/base",
"./packages/test/dev-server",
"./packages/test/harness",
"./packages/test/web-server",
"./packages/core",
"./packages/styles",
"./packages/support/cldr-data-downloader",
"./packages/support/cldr-data",
"./packages/api",
"./packages/isomorphic-react",
"./packages/isomorphic-react-dom",
"./packages/component",
"./packages/directlinespeech",
"./packages/bundle",
"./packages/test/page-object",
"./packages/fluent-theme",
"./packages/test/fluent-bundle"
],
"scripts": {
"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 --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 --workspaces",
"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: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: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: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: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:fluent-theme": "cd packages && cd fluent-theme && npm run precommit:typecheck",
"prepare": "husky",
"start": "NODE_OPTIONS=--no-deprecation concurrently --kill-others --prefix-colors \"auto\" \"npm:start:*\"",
"start:api": "cd packages && cd api && 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:directlinespeech": "cd packages && cd directlinespeech && npm start",
"start:fluent-theme": "cd packages && cd fluent-theme && npm start",
"start:server": "serve -p 5000",
"start:test-dev-server": "cd packages && cd test && cd dev-server && npm start",
"start:test-fluent-bundle": "cd packages && cd test && cd fluent-bundle && 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": {
"@babel/plugin-transform-runtime": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-env": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-react": [
"7.18.6",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-typescript": [
"7.18.6",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/runtime": [
"7.19.0",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@testing-library/react": [
"12",
"@testing-library/react@12 is targeting react@16"
],
"@types/jest": [
"28",
"pinned jest@28"
],
"@types/react": [
"16",
"[email protected] is our baseline"
],
"@types/react-dom": [
"16",
"[email protected] is our baseline"
],
"babel-jest": [
"28",
"[email protected] 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": [
"28",
"[email protected] does not support jest@29 yet"
],
"jest-environment-jsdom": [
"28",
"[email protected] does not support jest@29 yet"
],
"lerna": [
"6",
"lerna@7 use npm workspaces and we fund the migration work"
],
"node-fetch": [
"2",
"node-fetch@3 dropped support of CommonJS"
],
"react": [
"16.8.6",
"using [email protected] to make sure this is the minimum supported version"
],
"react-dom": [
"16.8.6",
"using [email protected] to make sure this is the minimum supported version"
],
"strip-ansi": [
"6",
"strip-ansi@7 dropped support of CommonJS"
]
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.19.0",
"@biomejs/biome": "1.9.3",
"@testing-library/react": "^12.1.5",
"@types/jest": "^28.1.8",
"@types/react": "^16.14.60",
"@types/react-dom": "^16.9.24",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"abort-controller": "^3.0.0",
"babel-jest": "^28.1.3",
"babel-plugin-istanbul": "^6.1.1",
"concurrently": "^8.2.2",
"core-js": "^3.37.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"error-stack-parser": "^2.1.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-security": "^3.0.0",
"get-port": "^5.1.1",
"global-agent": "^3.0.0",
"husky": "^9.0.11",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-image-snapshot": "^6.4.0",
"jest-junit": "^16.0.0",
"jest-trx-results-processor": "^3.0.2",
"lint-staged": "^15.2.2",
"lolex": "^6.0.0",
"node-dev": "^8.0.0",
"node-fetch": "^2.7.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"selenium-webdriver": "^4.20.0",
"serve": "^14.2.3",
"serve-handler": "^6.1.5",
"strip-ansi": "^6.0.1",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-plugin-css-modules": "^5.1.0",
"xmlbuilder": "^15.1.1"
},
"dependencies": {
"react": "16.8.6",
"react-dom": "16.8.6"
}
}