Add npm script to refresh the web component bundle
authorAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 12:04:45 +0000 (13:04 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 14 Nov 2022 12:04:45 +0000 (13:04 +0100)
package.json

index 0e6ca5eef0e3f2948e39bae63b8cf266f91a5725..32182d0b785b94f46ab4cd595bb6843e4002f8eb 100644 (file)
@@ -1,6 +1,9 @@
 {
   "name": "@woltlab/wcf",
-  "version": "5.4.0",
+  "version": "6.0.0",
+  "scripts": {
+    "bundle-web-components": "npx esbuild ts/WoltLabSuite/WebComponent/index.ts --bundle --outfile=wcfsetup/install/files/js/WoltLabSuite/WebComponent.js"
+  },
   "files": [
     "ts/**/*",
     "global.d.ts"