oasis-chat 0.3.3 → 0.3.5

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.
Files changed (1) hide show
  1. package/package.json +14 -11
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "oasis-chat",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Vanilla JS button component with axios for API requests.",
5
5
  "license": "MIT",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "vite build",
9
+ "build:lib": "vite build --config vite.lib.config.js && vite build --config vite.react.config.js && vite build --config vite.vue.config.js && cp src/app/index.d.ts dist/index.d.ts && mkdir -p dist/react && cp src/wrapper/react/index.d.ts dist/react/index.d.ts && mkdir -p dist/vue && cp src/wrapper/vue/index.d.ts dist/vue/index.d.ts && cp dist/oasis-chat.css dist/react/oasis-chat.css && cp dist/oasis-chat.css dist/vue/oasis-chat.css && node scripts/post-build-react.js && node scripts/post-build-vue.js",
10
+ "preview": "vite preview",
11
+ "format": "prettier --write ."
12
+ },
6
13
  "keywords": [],
7
14
  "author": "",
8
15
  "files": [
@@ -47,25 +54,21 @@
47
54
  "@tailwindcss/vite": "^4.1.16",
48
55
  "@vitejs/plugin-react": "^4.3.4",
49
56
  "@vitejs/plugin-vue": "^5.2.1",
57
+ "playwright": "^1.57.0",
50
58
  "prettier": "^3.6.2",
51
59
  "prettier-plugin-tailwindcss": "^0.7.1",
52
60
  "tailwindcss": "^4.1.16",
53
61
  "vite": "^6.0.0"
54
62
  },
55
63
  "dependencies": {
56
- "axios": "^1.7.0"
64
+ "axios": "^1.7.0",
65
+ "highlight.js": "^11.11.1",
66
+ "marked": "^17.0.1"
57
67
  },
58
68
  "peerDependencies": {
59
69
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || >=20.0.0",
60
70
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || >=20.0.0",
61
71
  "vue": "^3.0.0"
62
72
  },
63
- "type": "module",
64
- "scripts": {
65
- "dev": "vite",
66
- "build": "vite build",
67
- "build:lib": "vite build --config vite.lib.config.js && vite build --config vite.react.config.js && vite build --config vite.vue.config.js && cp src/app/index.d.ts dist/index.d.ts && mkdir -p dist/react && cp src/wrapper/react/index.d.ts dist/react/index.d.ts && mkdir -p dist/vue && cp src/wrapper/vue/index.d.ts dist/vue/index.d.ts && cp dist/oasis-chat.css dist/react/oasis-chat.css && cp dist/oasis-chat.css dist/vue/oasis-chat.css && node scripts/post-build-react.js && node scripts/post-build-vue.js",
68
- "preview": "vite preview",
69
- "format": "prettier --write ."
70
- }
71
- }
73
+ "type": "module"
74
+ }