|
55 | 55 | ], |
56 | 56 | "homepage": "https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/component#readme", |
57 | 57 | "scripts": { |
58 | | - "build": "npm run build:tsup", |
59 | | - "build:tsup": "tsup --config ./tsup.config.ts", |
| 58 | + "build": "tsup", |
60 | 59 | "bump": "npm run bump:prod && npm run bump:dev && (npm audit fix || exit 0)", |
61 | 60 | "bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localDependencies // {} | keys) 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", |
62 | 61 | "bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localDependencies // {} | keys) 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", |
|
66 | 65 | "precommit:eslint": "../../node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0", |
67 | 66 | "precommit:typecheck": "tsc --project ./src --emitDeclarationOnly false --esModuleInterop true --noEmit --pretty false", |
68 | 67 | "preversion": "cat package.json | jq '(.localDependencies // {} | to_entries | map([if .value == \"production\" then \"dependencies\" else \"devDependencies\" end, .key])) as $P | delpaths($P)' > package-temp.json && mv package-temp.json package.json", |
69 | | - "start": "npm run build:tsup -- --onSuccess=\"touch ../bundle/src/FullComposer.tsx\" --watch" |
| 68 | + "start": "npm run build -- --onSuccess=\"touch ../bundle/src/FullComposer.tsx\" --watch" |
70 | 69 | }, |
71 | 70 | "localDependencies": { |
72 | 71 | "@msinternal/botframework-webchat-base": "development", |
|
100 | 99 | ] |
101 | 100 | }, |
102 | 101 | "devDependencies": { |
103 | | - "@babel/cli": "^7.28.0", |
104 | 102 | "@babel/core": "^7.28.0", |
105 | 103 | "@babel/preset-env": "^7.28.0", |
106 | 104 | "@babel/preset-react": "^7.27.1", |
|
113 | 111 | "@types/react": "^16.14.65", |
114 | 112 | "babel-plugin-istanbul": "^7.0.0", |
115 | 113 | "babel-plugin-transform-inline-environment-variables": "^0.4.4", |
116 | | - "concurrently": "^9.2.0", |
117 | 114 | "core-js": "^3.44.0", |
118 | 115 | "cross-env": "^10.0.0", |
119 | | - "node-dev": "^8.0.0", |
120 | 116 | "type-fest": "^4.41.0", |
121 | 117 | "typescript": "~5.8.3" |
122 | 118 | }, |
|
0 commit comments