@clivly/chat-widget 0.3.0-next.6

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 ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@clivly/chat-widget",
3
+ "version": "0.3.0-next.6",
4
+ "private": false,
5
+ "type": "module",
6
+ "description": "Clivly chat widget — embeddable React and script-tag entrypoints for Clivly conversations.",
7
+ "license": "MIT",
8
+ "sideEffects": false,
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.mts",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./browser": {
21
+ "import": {
22
+ "types": "./dist/browser.d.mts",
23
+ "default": "./dist/browser.mjs"
24
+ },
25
+ "require": {
26
+ "types": "./dist/browser.d.cts",
27
+ "default": "./dist/browser.cjs"
28
+ }
29
+ },
30
+ "./mount": {
31
+ "import": {
32
+ "types": "./dist/browser-mount.d.mts",
33
+ "default": "./dist/browser-mount.mjs"
34
+ },
35
+ "require": {
36
+ "types": "./dist/browser-mount.d.cts",
37
+ "default": "./dist/browser-mount.cjs"
38
+ }
39
+ },
40
+ "./script": {
41
+ "default": "./dist/widget.global.js"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "publishConfig": {
48
+ "jsdelivr": "./dist/widget.global.js"
49
+ },
50
+ "peerDependencies": {
51
+ "react": ">=18.0.0",
52
+ "react-dom": ">=18.0.0"
53
+ },
54
+ "devDependencies": {
55
+ "@testing-library/react": "^16.3.2",
56
+ "@types/react": "^19.2.15",
57
+ "@types/react-dom": "^19.2.3",
58
+ "jsdom": "^29.0.2",
59
+ "react": "^19.2.6",
60
+ "react-dom": "^19.2.6",
61
+ "tsdown": "^0.21.9",
62
+ "typescript": "^6",
63
+ "vitest": "3.2.7",
64
+ "@clivly.com/config": "0.0.0"
65
+ },
66
+ "scripts": {
67
+ "build": "tsdown",
68
+ "check-types": "tsc --noEmit",
69
+ "test": "vitest run --environment jsdom"
70
+ },
71
+ "main": "./dist/index.cjs",
72
+ "module": "./dist/index.mjs",
73
+ "types": "./dist/index.d.cts",
74
+ "unpkg": "./dist/widget.global.js"
75
+ }