-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@smooai/chat-widget",
"version": "0.16.1",
"description": "Embeddable AI chat as a framework-light web component — the Aurora Glass design, streaming replies, grounded sources, and per-brand theming. Speaks the smooth-operator WebSocket protocol.",
"license": "MIT",
"author": "SmooAI",
"type": "module",
"homepage": "https://github.com/SmooAI/chat-widget#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/SmooAI/chat-widget.git"
},
"bugs": {
"url": "https://github.com/SmooAI/chat-widget/issues"
},
"keywords": [
"chat-widget",
"chatbot",
"ai",
"ai-chat",
"web-component",
"custom-element",
"embeddable",
"websocket",
"streaming",
"smooth-operator",
"support-chat",
"livechat"
],
"engines": {
"node": ">=22"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./standalone": "./dist/chat-widget.global.js",
"./loader": "./dist/chat-widget-loader.global.js"
},
"files": [
"dist",
"src",
"!src/**/*.test.ts"
],
"sideEffects": [
"**/standalone.ts",
"**/standalone.js",
"**/chat-widget.global.js",
"**/loader.ts",
"**/loader.js",
"**/chat-widget-loader.global.js"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"typecheck": "tsc --noEmit",
"typecheck:e2e": "tsc --noEmit -p tsconfig.e2e.json",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test --project=chromium",
"check": "pnpm typecheck && pnpm test && pnpm build",
"changeset": "changeset",
"ci:publish": "pnpm build && changeset publish"
},
"dependencies": {
"@smooai/smooth-operator": "^1.22.15",
"libphonenumber-js": "^1.13.7",
"zustand": "^5.0.14"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@playwright/test": "^1.49.0",
"@types/node": "^22.10.0",
"jsdom": "^25.0.1",
"tsdown": "^0.22.0",
"typescript": "^5.7.3",
"vitest": "^2.1.8"
}
}