-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.59 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.59 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
{
"name": "react-socket-monorepo",
"version": "1.0.0",
"author": "Lucio D'Alessandro",
"devDependencies": {
"@biomejs/biome": "2.3.14",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^5.1.4",
"jsdom": "^28.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.0.2",
"vite": "^7.3.1",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-static-copy": "^3.3.0",
"vitest": "^4.0.18",
"zustand": "^5.0.11"
},
"description": "Type safe React hooks for real time WebSocket communication. Automatic reconnection, optimistic updates, ref counted subscriptions, and offline message queuing out of the box.",
"license": "MIT",
"private": true,
"scripts": {
"dev": "bun run --filter react-socket-docs dev",
"dev:server": "bun run --filter react-socket-docs dev:server",
"build": "bun run build:lib && bun run build:docs",
"build:lib": "tsc && vite build -c vite.lib.config.mts",
"build:docs": "bun run --filter react-socket-docs build && cp packages/docs/public/.assetsignore packages/docs/dist/.assetsignore",
"deploy:docs": "cd packages/docs && npx wrangler deploy",
"npm": "bun run build:lib && cd packages/library && npm publish --access public",
"npm:test": "bun run build:lib && cd packages/library && npm pack --dry-run",
"format": "biome format --write .",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"unit-tests": "vitest",
"unit-tests:ci": "vitest run",
"test": "bun run unit-tests:ci"
},
"workspaces": [
"packages/*"
]
}