-
Notifications
You must be signed in to change notification settings - Fork 446
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.75 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
{
"name": "@nostrwatch/nocap-dns-adapter-default",
"version": "1.1.6",
"type": "module",
"license": "MIT",
"main": "dist/server/cjs/index.cjs.js",
"module": "dist/server/index.js",
"types": "dist/server/types/index.d.ts",
"exports": {
".": {
"import": "./dist/server/index.js",
"require": "./dist/server/cjs/index.cjs.js",
"types": "./dist/server/types/index.d.ts"
},
"./web": {
"import": "./dist/web/index.esm.js",
"types": "./dist/web/types/index.d.ts"
}
},
"scripts": {
"build": "pnpm run clean && pnpm run transpile && rollup -c && pnpm run transpile:alias",
"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 run --passWithNoTests",
"test-ui": "vitest --ui --testTimeout=15000"
},
"dependencies": {
"cross-fetch": "^4.0.0",
"@nostrwatch/nocap": "workspace:^"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@nostrwatch/nocap": "workspace:^",
"@types/promise-deferred": "2.0.5",
"@vitest/ui": "0.34.6",
"tsc-alias": "^1.8.10",
"vitest": "^3.2.6",
"vitest-nostr": "0.4.1",
"vitest-websocket-mock": "^0.4.0",
"webpack": "^5.104.1"
},
"peerDependencies": {}
}