Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.08 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
{
"name": "react-text-stream",
"version": "0.2.2",
"description": "A React component for streaming text using text/event-stream",
"type": "module",
"files": [
"dist"
],
"exports": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepublishOnly": "npm run build",
"build": "vite build",
"dev": "vite build --watch",
"demo:install": "npm install --prefix demo/server && npm install --prefix demo/client",
"demo:server": "npm run dev --prefix demo/server",
"demo:client": "npm run dev --prefix demo/client",
"demo:verify": "npm run build && npm install --prefix demo/client && npm run build --prefix demo/client",
"demo": "npm run demo:install && npm run build && npm-run-all --parallel --print-label demo:server demo:client",
"test": "vitest --config vitest.config.ts",
"test:ci": "vitest run --config vitest.config.ts",
"test:coverage": "vitest run --coverage --config vitest.config.ts",
"test:ui": "vitest --ui --config vitest.config.ts",
"version": "changeset && changeset version",
"release": "changeset publish"
},
"author": "Alek Merani",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/amerani/react-text-stream.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public",
"provenance": true
},
"peerDependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/express": "^5.0.6",
"@types/node": "^24.3.1",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@vitest/ui": "^3.2.4",
"amvite": "0.0.3",
"express": "^5.2.1",
"glob": "^11.0.3",
"happy-dom": "^18.0.1",
"jsdom": "^27.0.0",
"npm-run-all": "^4.1.5",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"unplugin-dts": "^1.0.0-beta.6",
"vite": "^7.1.4",
"vitest": "^3.2.4"
}
}