-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
72 lines (72 loc) · 1.89 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
63
64
65
66
67
68
69
70
71
72
{
"name": "@zerva/websocket",
"type": "module",
"version": "0.64.0",
"description": "🌱 Zerva websocket module",
"author": {
"name": "Dirk Holtwick",
"email": "[email protected]",
"url": "https://holtwick.de"
},
"license": "MIT",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/holtwick"
},
"keywords": [
"server",
"typescript",
"event",
"websocket",
"socket",
"zerva",
"zeed"
],
"exports": {
".": {
"browser": "./dist/index.browser.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "pnpm run clean && pnpm run build:tsup",
"build:tsup": "tsup src/index.ts src/index.browser.ts ",
"check": "vue-tsc --noEmit -p ./tsconfig.json",
"clean": "rm -rf dist www",
"dbld": "zerva demo/zerva.ts --build && ZEED=* ZEED_COLOR=1 node dist/main.mjs",
"drun": "ZEED=* ZEED_COLOR=1 zerva demo/zerva.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "pnpm test && pnpm run build",
"release": "pnpm test && pnpm version patch && pnpm build && pnpm publish --no-git-checks",
"reset": "rm -rf node_modules pnpm-lock.yaml dist dist_www www",
"start": "pnpm run watch",
"test": "ZEED=* vitest --globals --run -r src",
"watch": "tsup src/index.ts src/index.browser.ts --watch"
},
"dependencies": {
"@types/ws": "^8.5.12",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"ws": "^8.18.0",
"zeed": "^0.25.4"
},
"devDependencies": {
"@types/node": "^22.8.1",
"@zerva/bin": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.4",
"vue-tsc": "^2.1.8"
}
}