langchat-widget 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/README.md +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +635 -0
- package/dist/langchat-widget.css +1 -0
- package/dist/langchat-widget.es.js +22094 -0
- package/dist/langchat-widget.es.js.map +1 -0
- package/dist/langchat-widget.umd.js +25 -0
- package/dist/langchat-widget.umd.js.map +1 -0
- package/package.json +80 -0
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "langchat-widget",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "LangChat Widget 一个可配置的Vue3聊天小组件,支持Markdown渲染和OpenAI API集成",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/langchat-widget.umd.js",
|
|
7
|
+
"module": "./dist/langchat-widget.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/langchat-widget.es.js",
|
|
12
|
+
"require": "./dist/langchat-widget.umd.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./style": "./dist/langchat-widget.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"keywords": [
|
|
21
|
+
"vue3",
|
|
22
|
+
"chat",
|
|
23
|
+
"widget",
|
|
24
|
+
"openai",
|
|
25
|
+
"markdown",
|
|
26
|
+
"typescript",
|
|
27
|
+
"tailwindcss"
|
|
28
|
+
],
|
|
29
|
+
"author": "LangChat Team",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"github-markdown-css": "^5.0.0",
|
|
33
|
+
"markdown-it": "^14.0.0",
|
|
34
|
+
"openai": "^4.0.0",
|
|
35
|
+
"vue": "^3.5.17"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^22.16.0",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
|
40
|
+
"@typescript-eslint/parser": "^8.35.1",
|
|
41
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
42
|
+
"eslint": "^9.30.1",
|
|
43
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
44
|
+
"postcss": "^8.5.6",
|
|
45
|
+
"prettier": "^3.6.2",
|
|
46
|
+
"rimraf": "^6.0.1",
|
|
47
|
+
"tailwindcss": "^3.4.17",
|
|
48
|
+
"@vueuse/core": "^13.4.0",
|
|
49
|
+
"class-variance-authority": "^0.7.1",
|
|
50
|
+
"clsx": "^2.1.1",
|
|
51
|
+
"autoprefixer": "^10.4.21",
|
|
52
|
+
"tailwind-merge": "^2.6.0",
|
|
53
|
+
"typescript": "^5.8.3",
|
|
54
|
+
"vite": "^6.3.5",
|
|
55
|
+
"vite-plugin-dts": "^4.5.4",
|
|
56
|
+
"vue-tsc": "2.2.10"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=18.0.0"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/langchat/langchat-widget.git"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/langchat/langchat-widget/issues"
|
|
67
|
+
},
|
|
68
|
+
"homepage": "https://github.com/langchat/langchat-widget#readme",
|
|
69
|
+
"scripts": {
|
|
70
|
+
"dev": "vite",
|
|
71
|
+
"build": "vite build",
|
|
72
|
+
"preview": "vite --config vite.preview.config.ts",
|
|
73
|
+
"typecheck": "vue-tsc --noEmit",
|
|
74
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
75
|
+
"format": "prettier --write src/",
|
|
76
|
+
"clean": "rimraf dist",
|
|
77
|
+
"push": "pnpm build && pnpm publish --no-git-checks --registry https://registry.npmjs.org/",
|
|
78
|
+
"prebuild": "npm run clean"
|
|
79
|
+
}
|
|
80
|
+
}
|