@yushaw/sanqian-chat 0.1.1

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,84 @@
1
+ {
2
+ "name": "@yushaw/sanqian-chat",
3
+ "version": "0.1.1",
4
+ "description": "Floating chat window SDK for Sanqian AI Assistant",
5
+ "main": "./dist/main/index.js",
6
+ "types": "./dist/main/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/core/index.d.ts",
10
+ "import": "./dist/core/index.mjs",
11
+ "require": "./dist/core/index.js"
12
+ },
13
+ "./main": {
14
+ "types": "./dist/main/index.d.ts",
15
+ "import": "./dist/main/index.mjs",
16
+ "require": "./dist/main/index.js"
17
+ },
18
+ "./renderer": {
19
+ "types": "./dist/renderer/index.d.ts",
20
+ "import": "./dist/renderer/index.mjs",
21
+ "require": "./dist/renderer/index.js"
22
+ },
23
+ "./preload": {
24
+ "types": "./dist/preload/index.d.ts",
25
+ "require": "./dist/preload/index.js"
26
+ }
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "scripts": {
32
+ "build": "tsup",
33
+ "dev": "tsup --watch",
34
+ "typecheck": "tsc --noEmit",
35
+ "clean": "rimraf dist",
36
+ "test": "vitest run",
37
+ "test:watch": "vitest"
38
+ },
39
+ "peerDependencies": {
40
+ "@yushaw/sanqian-sdk": ">=0.2.14",
41
+ "electron": ">=28.0.0",
42
+ "react": ">=18.0.0",
43
+ "react-dom": ">=18.0.0",
44
+ "tailwindcss": ">=3.0.0"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "electron": {
48
+ "optional": true
49
+ },
50
+ "tailwindcss": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "devDependencies": {
55
+ "@testing-library/jest-dom": "^6.9.1",
56
+ "@testing-library/react": "^16.3.1",
57
+ "@types/node": "^20.10.0",
58
+ "@types/react": "^18.2.0",
59
+ "@types/react-dom": "^18.2.0",
60
+ "@vitejs/plugin-react": "^5.1.2",
61
+ "electron": "^28.0.0",
62
+ "jsdom": "^27.4.0",
63
+ "react": "^18.2.0",
64
+ "react-dom": "^18.2.0",
65
+ "rimraf": "^5.0.0",
66
+ "tsup": "^8.0.0",
67
+ "typescript": "^5.3.0",
68
+ "vitest": "^4.0.16"
69
+ },
70
+ "keywords": [
71
+ "sanqian",
72
+ "chat",
73
+ "electron",
74
+ "floating-window",
75
+ "ai"
76
+ ],
77
+ "author": "yushaw",
78
+ "license": "MIT",
79
+ "repository": {
80
+ "type": "git",
81
+ "url": "https://github.com/yushaw/sanqian.git",
82
+ "directory": "packages/chat"
83
+ }
84
+ }