-
Notifications
You must be signed in to change notification settings - Fork 447
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.58 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.58 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@nostrwatch/nocap",
"version": "0.9.2",
"license": "MIT",
"type": "module",
"entry": "src/index.ts",
"exports": {
".": {
"types": "./dist/server/types/index.d.ts",
"import": "./dist/server/index.js",
"require": "./dist/server/cjs/index.cjs.js"
},
"./web": {
"types": "./dist/web/index.d.ts",
"import": "./dist/web/index.esm.js"
}
},
"scripts": {
"build": "pnpm run clean && pnpm run transpile && rollup -c && pnpm run transpile:alias",
"build:all": "pnpm run build && pnpm run build:adapters",
"build:server": "pnpm run clean && pnpm run transpile:server && rollup -c && pnpm run transpile:alias",
"clean": "rm -fr ./dist && mkdir -p ./dist",
"transpile": "pnpm run transpile:server && pnpm run transpile:web",
"transpile:web": "tsc -p tsconfig.web.json",
"transpile:server": "tsc -p tsconfig.server.json",
"transpile:alias": "pnpm run transpile:server:alias",
"transpile:server:alias": "tsc-alias -p tsconfig.server.json",
"build:adapters": "./scripts/build-adapters.sh",
"dev": "rollup -c -w",
"lint": "eslint . --ext .ts",
"test": "vitest",
"test-ui": "vitest --ui --testTimeout=15000"
},
"dependencies": {
"@nostrwatch/logger": "workspace:^",
"@nostrwatch/utils": "workspace:^",
"fetch-h2": "3.0.2",
"get-ssl-certificate": "2.3.3",
"jest": "29.7.0",
"murmurhash": "^2.0.1",
"object-hash": "3.0.0",
"performance-now": "^2.1.0",
"promise-deferred": "2.0.4",
"socks-proxy-agent": "8.0.2",
"ws": "8.21.0"
},
"peerDependencies": {
"@nostrwatch/websocket": "workspace:^"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-json": "^5.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-replace": "^5.0.0",
"@rollup/plugin-typescript": "^10.0.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.10.2",
"@types/promise-deferred": "2.0.5",
"@types/ws": "^8.5.12",
"@vitest/ui": "0.34.6",
"@web/rollup-plugin-import-meta-assets": "^2.2.1",
"rimraf": "^6.0.1",
"rollup": "^3.0.0",
"rollup-plugin-polyfill-node": "^0.10.2",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-tsc-alias": "^1.1.2",
"tsc-alias": "^1.8.10",
"tsc-watch": "6.2.0",
"tslib": "^2.7.0",
"typescript": "^5.0.0",
"vitest": "3.2.6",
"vitest-nostr": "0.4.1",
"vitest-websocket-mock": "0.2.2"
}
}