@nexvio-ai/widget-js 0.1.0

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,88 @@
1
+ {
2
+ "name": "@nexvio-ai/widget-js",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Embeddable Nexvio chat widget custom element and React bindings.",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "require": "./dist/index.cjs",
13
+ "import": "./dist/index.js"
14
+ },
15
+ "./react": {
16
+ "types": "./dist/react.d.ts",
17
+ "require": "./dist/react.cjs",
18
+ "import": "./dist/react.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md",
25
+ "CHANGELOG.md"
26
+ ],
27
+ "sideEffects": [
28
+ "./dist/index.js",
29
+ "./dist/index.cjs",
30
+ "./dist/widget.js"
31
+ ],
32
+ "unpkg": "./dist/widget.js",
33
+ "jsdelivr": "./dist/widget.js",
34
+ "keywords": [
35
+ "widget",
36
+ "chat",
37
+ "chatbot",
38
+ "customer-support",
39
+ "custom-element",
40
+ "web-component",
41
+ "react",
42
+ "nexvio",
43
+ "ai"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/nexvioai/widget-js.git"
48
+ },
49
+ "homepage": "https://nexvio.ai",
50
+ "bugs": {
51
+ "url": "https://github.com/nexvioai/widget-js/issues"
52
+ },
53
+ "peerDependencies": {
54
+ "react": "^18.0.0 || ^19.0.0",
55
+ "react-dom": "^18.0.0 || ^19.0.0"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "react": {
59
+ "optional": true
60
+ },
61
+ "react-dom": {
62
+ "optional": true
63
+ }
64
+ },
65
+ "devDependencies": {
66
+ "@types/react": "^18.3.26",
67
+ "@types/react-dom": "^18.3.7",
68
+ "@biomejs/biome": "^2.3.4",
69
+ "tsup": "^8.3.0",
70
+ "typescript": "^5.6.3",
71
+ "vitest": "^2.1.4"
72
+ },
73
+ "author": "Nexvio",
74
+ "license": "MIT",
75
+ "scripts": {
76
+ "build": "tsup",
77
+ "clean": "rm -rf dist",
78
+ "dev": "tsup --watch",
79
+ "lint": "biome check src/",
80
+ "lint:fix": "biome check --fix src/",
81
+ "format": "biome format src/",
82
+ "format:fix": "biome format --fix src/",
83
+ "typecheck": "tsc --noEmit",
84
+ "test": "vitest run",
85
+ "pack": "pnpm run build && pnpm pack",
86
+ "publish:npm": "pnpm publish --access public"
87
+ }
88
+ }