-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
62 lines (62 loc) · 1.95 KB
/
package.json
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
{
"name": "@localfirst/relay",
"version": "4.2.2",
"description": "A tiny service that helps local-first applications connect with peers on other devices",
"repository": "https://github.com/local-first-web/relay",
"author": "herb@devresults.com",
"license": "MIT",
"type": "module",
"private": false,
"exports": {
"./client": {
"types": "./dist/types.ts",
"default": "./dist/Client.js"
},
"./server": {
"types": "./dist/types.ts",
"default": "./dist/Server.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"dev": "cross-env DEBUG='lf*' DEBUG_COLORS=1 ts-node-dev src/start.ts --respawn --transpileOnly",
"start": "cross-env NODE_NO_WARNINGS=1 node dist/start.js",
"start:log": "cross-env DEBUG='lf*' DEBUG_COLORS=1 pnpm start",
"test": "vitest",
"test:log": "cross-env DEBUG='lf*' DEBUG_COLORS=1 pnpm test",
"version:alpha": "npm version prerelease --preid=alpha && git push --follow-tagsxs",
"version:beta": "npm version prerelease --preid=beta && git push --follow-tags",
"version:patch": "npm version patch && git push --follow-tags",
"version:minor": "npm version minor && git push --follow-tags",
"version:major": "npm version major && git push --follow-tags"
},
"dependencies": {
"cuid": "^3.0.0",
"debug": "^4.3.4",
"eventemitter3": "^5.0.1",
"express": "^4.18.2",
"express-ws": "^5.0.2",
"ws": "^8.15.0",
"isomorphic-ws": "^5.0.0",
"msgpackr": "^1.10.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/express-ws": "^3.0.4",
"@types/node": "^20.10.4",
"@types/ws": "^8.5.10",
"cross-env": "^7.0.3",
"jsdom": "^23.0.1",
"portfinder": "^1.0.32",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3",
"vitest": "^1.0.0"
}
}