keyring-chatbot-agent-sdk-test 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keyring-chatbot-agent-sdk-test",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "description": "A React chat widget SDK with floating button and modal",
6
6
  "keywords": [
@@ -43,9 +43,13 @@
43
43
  "scripts": {
44
44
  "dev": "vite",
45
45
  "build": "yarn build:react && yarn build:wc",
46
- "build:react": "tsc -b && vite build",
47
- "build:wc": "BUILD_TARGET=web-component vite build",
46
+ "build:react": "tsc -b && vite build --mode development",
47
+ "build:wc": "BUILD_TARGET=web-component vite build --mode development",
48
+ "build:production": "yarn build:react:production && yarn build:wc:production",
49
+ "build:react:production": "tsc -b && vite build",
50
+ "build:wc:production": "BUILD_TARGET=web-component vite build",
48
51
  "watch": "chokidar 'src/**/*.{ts,tsx,css,json}' -c 'yarn build:react'",
52
+ "watch:production": "chokidar 'src/**/*.{ts,tsx,css,json}' -c 'yarn build:react:production'",
49
53
  "lint": "eslint .",
50
54
  "lint:fix": "eslint . --fix",
51
55
  "format": "prettier --write \"src/**/*.{ts,tsx,css,json}\"",