react-optimistic-chat 1.0.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,47 @@
1
+ {
2
+ "name": "react-optimistic-chat",
3
+ "version": "1.0.0",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/index.mjs",
6
+ "types": "./dist/index.d.ts",
7
+ "peerDependencies": {
8
+ "@tanstack/react-query": ">=5",
9
+ "react": ">=18",
10
+ "react-dom": ">=18"
11
+ },
12
+ "scripts": {
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "build:css": "npx tailwindcss -i ./src/styles/style.css -o ./src/styles/style.css --minify",
15
+ "copy:css": "copy src\\styles\\style.css public\\style.css",
16
+ "build:lib": "tsup",
17
+ "build": "npm run build:css && npm run copy:css && npm run build:lib"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "keywords": [],
23
+ "author": "",
24
+ "license": "MTI",
25
+ "description": "Optimistic AI Chat state manager for React and TanStack Query",
26
+ "devDependencies": {
27
+ "@tanstack/react-query": "^5.90.11",
28
+ "@types/react": "^19.2.6",
29
+ "@types/react-dom": "^19.2.3",
30
+ "autoprefixer": "^10.4.22",
31
+ "postcss": "^8.5.6",
32
+ "tailwindcss": "^3.4.18",
33
+ "tsup": "^8.5.1",
34
+ "typescript": "^5.9.3"
35
+ },
36
+ "exports": {
37
+ "./style.css": "./dist/style.css",
38
+ ".": {
39
+ "import": "./dist/index.mjs",
40
+ "require": "./dist/index.js",
41
+ "types": "./dist/index.d.ts"
42
+ }
43
+ },
44
+ "sideEffects": [
45
+ "./dist/style.css"
46
+ ]
47
+ }