forked from jamaljsr/lnd-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.35 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.35 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
{
"name": "@lightningpolar/lnd-api",
"version": "0.19.0-beta",
"description": "A Typescript gRPC client for LND with support for all LND sub-servers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"config": {
"lnd_release_tag": "v0.19.0-beta"
},
"files": [
"dist",
"package.json",
"protos",
"README.md"
],
"scripts": {
"push": "tsc && npm publish --access public",
"build": "tsc",
"generate:clean": "rm -rf ./src/types",
"generate:protos": "sh ./scripts/update_protos.sh ${npm_package_config_lnd_release_tag}",
"generate:types": "./node_modules/.bin/proto-loader-gen-types --longs=String --enums=String --defaults --oneofs --inputTemplate=%sPartial --outputTemplate=%s --grpcLib=@grpc/grpc-js --includeDirs=./protos/ --outDir=./src/types/ protos/*.proto protos/**/*.proto",
"generate:index": "node ./scripts/generateTypesIndex.js",
"generate": "npm run generate:clean && npm run generate:protos && npm run generate:types && npm run generate:index"
},
"author": {
"name": "Jamal James",
"url": "https://github.com/jamaljsr"
},
"license": "MIT",
"dependencies": {
"@grpc/grpc-js": "1.10.8",
"@grpc/proto-loader": "0.7.13"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jamaljsr/lnd-api.git"
},
"devDependencies": {
"typescript": "4.8.4"
}
}