-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
191 lines (191 loc) · 6.81 KB
/
package.json
File metadata and controls
191 lines (191 loc) · 6.81 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
{
"name": "botframework-webchat-component",
"version": "0.0.0-0",
"description": "React component of botframework-webchat",
"main": "./dist/botframework-webchat-component.js",
"types": "./dist/botframework-webchat-component.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/botframework-webchat-component.d.mts",
"default": "./dist/botframework-webchat-component.mjs"
},
"require": {
"types": "./dist/botframework-webchat-component.d.ts",
"default": "./dist/botframework-webchat-component.js"
}
},
"./component": {
"import": {
"types": "./dist/botframework-webchat-component.component.d.mts",
"default": "./dist/botframework-webchat-component.component.mjs"
},
"require": {
"types": "./dist/botframework-webchat-component.component.d.ts",
"default": "./dist/botframework-webchat-component.component.js"
}
},
"./decorator": {
"import": {
"types": "./dist/botframework-webchat-component.decorator.d.mts",
"default": "./dist/botframework-webchat-component.decorator.mjs"
},
"require": {
"types": "./dist/botframework-webchat-component.decorator.d.ts",
"default": "./dist/botframework-webchat-component.decorator.js"
}
},
"./hook": {
"import": {
"types": "./dist/botframework-webchat-component.hook.d.mts",
"default": "./dist/botframework-webchat-component.hook.mjs"
},
"require": {
"types": "./dist/botframework-webchat-component.hook.d.ts",
"default": "./dist/botframework-webchat-component.hook.js"
}
},
"./internal": {
"import": {
"types": "./dist/botframework-webchat-component.internal.d.mts",
"default": "./dist/botframework-webchat-component.internal.mjs"
},
"require": {
"types": "./dist/botframework-webchat-component.internal.d.ts",
"default": "./dist/botframework-webchat-component.internal.js"
}
}
},
"publishConfig": {
"access": "public"
},
"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"
},
"files": [
"./*.js",
"./dist/**/*",
"./src/**/*"
],
"homepage": "https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/component#readme",
"scripts": {
"build": "npm run --if-present build:pre && npm run build:run && npm run --if-present build:post",
"build:post": "npm run build:post:dtsroll && npm run build:post:validate",
"build:post:dtsroll": "dtsroll ./dist/*.d.*",
"build:post:validate": "npm run build:post:validate:css && npm run build:post:validate:inject-css && npm run build:post:validate:dts",
"build:post:validate:css": "vg ast-check lightning-css ./dist/*.css",
"build:post:validate:dts": "vg ast-check dist-types ./dist/*.d.*",
"build:post:validate:inject-css": "vg ast-check css-inject dist/*.js dist/*.mjs",
"build:pre": "npm run build:pre:local-dependencies && npm run build:pre:watch",
"build:pre:local-dependencies": "../../scripts/npm/build-local-dependencies.sh",
"build:pre:watch": "../../scripts/npm/build-watch.sh",
"build:run": "tsup",
"bump": "vg bump prod && vg bump dev && (npm audit fix || exit 0)",
"eslint": "npm run precommit",
"postversion": "../../scripts/npm/postversion.sh",
"precommit": "npm run precommit:eslint -- src && npm run precommit:typecheck",
"precommit:eslint": "../../node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0",
"precommit:typecheck": "tsc --project ./src --emitDeclarationOnly false --esModuleInterop true --noEmit --pretty false",
"preversion": "../../scripts/npm/preversion.sh",
"start": "../../scripts/npm/notify-build.sh \"src\" \"../styles/package.json\" \"../api/package.json\""
},
"pinDependencies": {
"@types/jest": [
"29",
"pinned jest@29"
],
"@types/react": [
"16",
"react@16.8.6 is our baseline"
],
"compute-scroll-into-view": [
"1",
"@>=2 does not support IE Mode"
],
"markdown-it": [
"13",
"markdown-it@14.1.0 has module field and it is breaking Webpack 4 because cross loading CJS and ESM"
],
"react-redux": [
"7"
],
"react-scroll-to-bottom": [
"main"
],
"react-wrap-with": [
"0.1.0",
"0.2.0 is having compatibility issues with preact@10.25.4"
]
},
"localDependencies": {
"@msinternal/botframework-webchat-base": "development",
"@msinternal/botframework-webchat-react-hooks": "development",
"@msinternal/botframework-webchat-react-valibot": "development",
"@msinternal/botframework-webchat-styles": "development",
"@msinternal/botframework-webchat-tsconfig": "development",
"botframework-webchat-api": "production",
"botframework-webchat-core": "production"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@msinternal/botframework-webchat-base": "0.0.0-0",
"@msinternal/botframework-webchat-react-hooks": "0.0.0-0",
"@msinternal/botframework-webchat-react-valibot": "0.0.0-0",
"@msinternal/botframework-webchat-styles": "0.0.0-0",
"@msinternal/botframework-webchat-tsconfig": "0.0.0-0",
"@types/dom-speech-recognition": "^0.0.7",
"@types/jest": "^29.5.14",
"@types/mdast": "^4.0.4",
"@types/node": "^25.3.3",
"@types/react": "^16.14.69",
"babel-plugin-istanbul": "^7.0.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"core-js": "^3.48.0",
"cross-env": "^10.1.0",
"type-fest": "^5.4.4",
"typescript": "^5.9.3"
},
"dependencies": {
"@emotion/css": "11.13.5",
"base64-js": "1.5.1",
"botframework-webchat-api": "0.0.0-0",
"botframework-webchat-core": "0.0.0-0",
"classnames": "2.5.1",
"compute-scroll-into-view": "1.0.20",
"deep-freeze-strict": "1.1.1",
"markdown-it": "14.1.1",
"math-random": "2.0.1",
"mdast-util-from-markdown": "2.0.3",
"memoize-one": "6.0.0",
"merge-refs": "2.0.0",
"prop-types": "15.8.1",
"punycode": "2.3.1",
"react-chain-of-responsibility": "0.4.2",
"react-dictate-button": "4.0.1",
"react-film": "4.0.0",
"react-redux": "7.2.9",
"react-say": "2.2.1",
"react-scroll-to-bottom": "4.2.1-main.53844f5",
"react-wrap-with": "0.1.0",
"redux": "5.0.1",
"simple-update-in": "2.2.0",
"use-propagate": "0.2.2",
"use-reduce-memo": "0.1.0",
"use-ref-from": "0.2.1",
"use-state-with-ref": "0.2.1",
"valibot": "1.3.1"
},
"peerDependencies": {
"react": ">= 16.8.6",
"react-dom": ">= 16.8.6"
}
}