Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.16 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.16 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@dogejs/backends",
"version": "0.4.0",
"description": "Bring-your-own-endpoint Dogecoin chain data clients: Esplora (electrs-doge), Dogecoin Core JSON-RPC, a fallback/agreement wrapper, network detection, address/transaction watchers, and keyless clients for the free SoChain, Dogechain.com, BlockCypher and Blockchair services, pooled with automatic fall-back and a client-side request budget, with a slim /lite entry. Zero dependencies, static-only.",
"keywords": [
"dogecoin",
"doge",
"esplora",
"electrs",
"json-rpc",
"indexer",
"blockchain",
"typescript",
"blockcypher"
],
"homepage": "https://dogejs.com/backends/",
"bugs": {
"url": "https://github.com/DogeJS-Dev/backends/issues",
"email": "hello@dogejs.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DogeJS-Dev/backends.git"
},
"author": "DogeJS contributors <hello@dogejs.com> (https://dogejs.com/)",
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./esplora": {
"types": "./dist/entry-esplora.d.ts",
"import": "./dist/esplora.mjs"
},
"./core-rpc": {
"types": "./dist/entry-core-rpc.d.ts",
"import": "./dist/core-rpc.mjs"
},
"./fallback": {
"types": "./dist/entry-fallback.d.ts",
"import": "./dist/fallback.mjs"
},
"./watch": {
"types": "./dist/entry-watch.d.ts",
"import": "./dist/watch.mjs"
},
"./lite": {
"types": "./dist/entry-lite.d.ts",
"import": "./dist/lite.mjs"
},
"./public": {
"types": "./dist/entry-public.d.ts",
"import": "./dist/public.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "node build.mjs",
"test": "vitest run",
"typecheck": "tsc --noEmit -p . && tsc --noEmit -p tsconfig.test.json",
"size": "node size.mjs",
"docs:check": "node scripts/check-readme-examples.mjs && node tools/docs-check.mjs api --entry src/index.ts --codes src/errors.ts:BackendErrorCode",
"docs:api": "node tools/docs-check.mjs api --write --entry src/index.ts",
"prepare": "node -e \"if(!require('fs').existsSync('build.mjs'))process.exit(0);require('child_process').execSync('npm run build',{stdio:'inherit'})\""
},
"devDependencies": {
"@dogejs/core": "github:DogeJS-Dev/core#v0.4.1",
"@types/node": "^26.6.11",
"esbuild": "^0.24.0",
"typescript": "^5.6.0",
"vitest": "^2.1.0"
},
"typesVersions": {
"*": {
"esplora": [
"dist/entry-esplora.d.ts"
],
"core-rpc": [
"dist/entry-core-rpc.d.ts"
],
"fallback": [
"dist/entry-fallback.d.ts"
],
"watch": [
"dist/entry-watch.d.ts"
],
"lite": [
"dist/entry-lite.d.ts"
],
"public": [
"dist/entry-public.d.ts"
]
}
},
"publishConfig": {
"access": "public"
}
}