-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.74 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.74 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
{
"name": "@msinternal/sample-customization-minimizable-web-chat",
"version": "0.1.0",
"private": true,
"homepage": "https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/",
"scripts": {
"build": "esbuild --bundle --entry-names=[name]/[ext]/main --jsx=automatic --loader:.jpg=file --minify --outdir=./public/static/ --sourcemap app=./src/index.tsx",
"bump": "vg bump prod && vg bump dev && (npm audit fix || exit 0)",
"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 $PACKAGES_TO_BUMP || true",
"start": "npm run build -- --servedir=./public"
},
"pinDependencies": {
"botframework-webchat": [
"main"
],
"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"
]
},
"dependencies": {
"botframework-webchat": "^4.18.2",
"classnames": "2.5.1",
"react": "16.8.6",
"react-dom": "16.8.6"
},
"devDependencies": {
"esbuild": "^0.28.0"
}
}