@animuz/embed 0.2.2-rc8 → 0.2.3

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": "@animuz/embed",
3
- "version": "0.2.2-rc8",
3
+ "version": "0.2.3",
4
4
  "description": "Embeddable chat widget for Rudi by Animuz",
5
5
  "type": "module",
6
6
  "main": "dist/animuz-chat-widget.min.js",
@@ -17,13 +17,14 @@
17
17
  "markdown-it": "^14.1.0",
18
18
  "react": "^18.3.1",
19
19
  "react-dom": "^18.3.1",
20
- "react-helmet": "^6.1.0",
21
20
  "sse.js": "^2.5.0",
22
21
  "uuid": "^10.0.0"
23
22
  },
24
23
  "devDependencies": {
25
24
  "@svgr/plugin-jsx": "^8.1.0",
26
25
  "@svgr/plugin-svgo": "^8.1.0",
26
+ "@testing-library/jest-dom": "^6.9.1",
27
+ "@testing-library/react": "^16.3.2",
27
28
  "@types/react": "^18.3.3",
28
29
  "@types/react-dom": "^18.3.0",
29
30
  "@vitejs/plugin-react-swc": "^3.5.0",
@@ -34,6 +35,7 @@
34
35
  "eslint-plugin-react": "^7.34.2",
35
36
  "eslint-plugin-react-hooks": "^4.6.2",
36
37
  "eslint-plugin-react-refresh": "^0.4.7",
38
+ "jsdom": "^24.1.3",
37
39
  "nodemon": "^3.1.4",
38
40
  "postcss": "^8.4.39",
39
41
  "serve": "^14.2.3",
@@ -42,7 +44,8 @@
42
44
  "terser": "^5.31.2",
43
45
  "unplugin-tailwindcss-mangle": "^4.0.2",
44
46
  "vite": "^5.3.1",
45
- "vite-plugin-svgr": "^4.2.0"
47
+ "vite-plugin-svgr": "^4.2.0",
48
+ "vitest": "^2.1.9"
46
49
  },
47
50
  "scripts": {
48
51
  "dev": "nodemon -e js,jsx,css --watch src --exec \"pnpm dev:preview\"",
@@ -51,6 +54,8 @@
51
54
  "styles": "npx cleancss -O2 -o dist/animuz-chat-widget.min.css dist/style.css",
52
55
  "build": "vite build && pnpm styles && npx terser --compress -o dist/animuz-chat-widget.min.js -- dist/animuz-chat-widget.js",
53
56
  "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
54
59
  "preview": "vite preview"
55
60
  }
56
61
  }