-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.71 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.71 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
{
"name": "websocket-dom",
"module": "src/index.ts",
"type": "module",
"version": "0.3.0",
"description": "Experimental 2-way sync between backend JSDOM and frontend DOM using WebSockets",
"repository": "https://github.com/patrickjm/websocket-dom",
"author": "Patrick Moriarty <patrick@moriarty.dev>",
"keywords": [
"websocket",
"dom",
"jsdom",
"sync",
"realtime"
],
"files": [
"README.md",
"src",
"dist",
"yarn.lock"
],
"scripts": {
"build:client": "vite build",
"build:server": "bun build src/index.ts --outdir dist --target node --format esm --sourcemap=inline -e jsdom",
"build:types": "tsc",
"clean": "touch ./dist && rm -r ./dist",
"build": "yarn clean && yarn build:server && yarn build:client && yarn build:types",
"start": "vite build && tsx ./src/index.ts",
"dev": "nodemon --watch src --watch vite.config.ts --watch index.html --watch public --ext ts,html,json,tsx --exec yarn start"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./client": {
"import": "./dist/client.js",
"types": "./dist/client/index.d.ts"
}
},
"packageManager": "yarn@1.22.22",
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.5.4",
"@types/ws": "^8.5.12",
"@vitejs/plugin-react": "^4.3.1",
"nodemon": "^3.1.4",
"tsx": "^4.19.0",
"typed-emitter": "^2.1.0",
"typescript": "^5.5.4"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"express": "^4.19.2",
"jsdom": "^25.0.0",
"vite": "^5.4.3",
"web-worker": "^1.3.0",
"ws": "^8.18.0"
},
"license": "MIT"
}