reachat 0.0.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/LICENSE +201 -0
- package/README.md +41 -0
- package/dist/SessionInput.d.ts +22 -0
- package/dist/SessionListItem.d.ts +11 -0
- package/dist/SessionMessage.d.ts +10 -0
- package/dist/SessionMessages.d.ts +9 -0
- package/dist/Sessions.d.ts +48 -0
- package/dist/SessionsList.d.ts +11 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +3270 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.cjs +3273 -0
- package/dist/index.umd.cjs.map +1 -0
- package/dist/theme.d.ts +3 -0
- package/dist/types.d.ts +30 -0
- package/dist/useLlm.d.ts +3 -0
- package/package.json +111 -0
package/package.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "reachat",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Chat UI for Building LLMs",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build-storybook": "storybook build",
|
|
7
|
+
"build": "vite build --mode library",
|
|
8
|
+
"lint": "eslint --ext js,ts,tsx",
|
|
9
|
+
"lint:fix": "eslint --ext js,ts,tsx --fix src",
|
|
10
|
+
"lint:prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
|
|
11
|
+
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
|
|
12
|
+
"start": "storybook dev -p 9009",
|
|
13
|
+
"test": "vitest --passWithNoTests",
|
|
14
|
+
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
15
|
+
"prepare": "husky install"
|
|
16
|
+
},
|
|
17
|
+
"license": "Apache-2.0",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"main": "./dist/index.umd.cjs",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"source": "src/index.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"require": "./dist/index.umd.cjs",
|
|
30
|
+
"types": "./dist/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./index.css": "./dist/index.css"
|
|
33
|
+
},
|
|
34
|
+
"browser": "dist/index.js",
|
|
35
|
+
"typings": "dist/index.d.ts",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"reablocks": "^8.4.1",
|
|
38
|
+
"react-textarea-autosize": "^8.5.3",
|
|
39
|
+
"framer-motion": "^10.16.16"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@storybook/addon-docs": "^8.1.1",
|
|
43
|
+
"@storybook/addon-essentials": "^8.1.1",
|
|
44
|
+
"@storybook/addon-mdx-gfm": "^8.1.1",
|
|
45
|
+
"@storybook/addon-storysource": "^8.1.1",
|
|
46
|
+
"@storybook/addon-themes": "^8.1.1",
|
|
47
|
+
"@storybook/manager-api": "^8.1.1",
|
|
48
|
+
"@storybook/preview-api": "^8.1.1",
|
|
49
|
+
"@storybook/react": "^8.1.1",
|
|
50
|
+
"@storybook/react-vite": "^8.1.1",
|
|
51
|
+
"@storybook/theming": "^8.1.1",
|
|
52
|
+
"@types/classnames": "^2.3.1",
|
|
53
|
+
"@types/react": "^18.2.61",
|
|
54
|
+
"@types/react-dom": "^18.2.19",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
56
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
57
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
58
|
+
"@vitest/coverage-v8": "^1.4.0",
|
|
59
|
+
"autoprefixer": "^10.4.19",
|
|
60
|
+
"eslint": "^8.57.0",
|
|
61
|
+
"eslint-config-prettier": "^9.1.0",
|
|
62
|
+
"eslint-plugin-no-relative-import-paths": "^1.5.4",
|
|
63
|
+
"eslint-plugin-react": "^7.34.1",
|
|
64
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
65
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
66
|
+
"fast-glob": "^3.3.2",
|
|
67
|
+
"husky": "^9.0.11",
|
|
68
|
+
"jsdom": "^24.0.0",
|
|
69
|
+
"lint-staged": "^15.2.2",
|
|
70
|
+
"postcss-nested": "^6.0.1",
|
|
71
|
+
"postcss-preset-env": "^9.5.2",
|
|
72
|
+
"prettier": "^3.2.5",
|
|
73
|
+
"react": "^18.0.0",
|
|
74
|
+
"react-docgen-typescript": "^2.2.2",
|
|
75
|
+
"react-dom": "^18.0.0",
|
|
76
|
+
"react-hook-form": "^7.51.1",
|
|
77
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
78
|
+
"storybook": "^8.1.1",
|
|
79
|
+
"tailwindcss": "^3.4.1",
|
|
80
|
+
"tw-colors": "^3.3.1",
|
|
81
|
+
"typescript": "^4.9.5",
|
|
82
|
+
"typescript-rewrite-paths": "^1.3.1",
|
|
83
|
+
"vite": "^5.2.2",
|
|
84
|
+
"vite-plugin-checker": "^0.6.4",
|
|
85
|
+
"vite-plugin-css-injected-by-js": "^3.5.0",
|
|
86
|
+
"vite-plugin-dts": "^3.7.3",
|
|
87
|
+
"vite-plugin-static-copy": "^1.0.4",
|
|
88
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
89
|
+
"vite-tsconfig-paths": "^4.3.2",
|
|
90
|
+
"vitest": "^1.4.0"
|
|
91
|
+
},
|
|
92
|
+
"prettier": {
|
|
93
|
+
"semi": true,
|
|
94
|
+
"singleQuote": true,
|
|
95
|
+
"trailingComma": "none",
|
|
96
|
+
"arrowParens": "avoid",
|
|
97
|
+
"bracketSpacing": true,
|
|
98
|
+
"printWidth": 80
|
|
99
|
+
},
|
|
100
|
+
"lint-staged": {
|
|
101
|
+
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
102
|
+
"prettier --write",
|
|
103
|
+
"git add"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"husky": {
|
|
107
|
+
"hooks": {
|
|
108
|
+
"pre-commit": "lint-staged"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|