-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 3.34 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
73
74
75
76
77
{
"name": "@litecoinfoundation/react-native-lndltc",
"title": "react-native-lndltc",
"version": "0.0.12",
"description": "React Native library for Lightning Litecoin",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"README.md",
"android",
"ios",
"react-native-lndltc.podspec",
"dist"
],
"keywords": [
"javascript",
"litecoin",
"lightning",
"lndltc",
"neutrino"
],
"scripts": {
"build": "rm -rf dist && mkdir dist/ && npm run protobuf && bun tsc -p ./src",
"watch": "bun run build -- -w",
"lint": "bun run lint:ts",
"lint:ts": "eslint . --ext .ts,.tsx --fix",
"protobuf": "bun run protobuf:rpc && bun run protobuf:walletunlocker && bun run protobuf:stateservice && bun run protobuf:wtclient",
"protobuf:rpc": "mkdir -p dist/protos && pbjs -t static-module -w commonjs -o dist/protos/rpc.js src/protos/rpc.proto && pbjs -t static-module src/protos/rpc.proto | pbts -o dist/protos/rpc.d.ts - && cp dist/protos/rpc.* ./src/protos/",
"protobuf:walletunlocker": "mkdir -p dist/protos && pbjs -t static-module -w commonjs -o dist/protos/walletunlocker.js src/protos/walletunlocker.proto && pbjs -t static-module src/protos/walletunlocker.proto | pbts -o dist/protos/walletunlocker.d.ts - && cp dist/protos/walletunlocker.* ./src/protos/",
"protobuf:stateservice": "mkdir -p dist/protos && pbjs -t static-module -w commonjs -o dist/protos/stateservice.js src/protos/stateservice.proto && pbjs -t static-module src/protos/stateservice.proto | pbts -o dist/protos/stateservice.d.ts - && cp dist/protos/stateservice.* ./src/protos/",
"protobuf:wtclient": "mkdir -p dist/protos && pbjs -t static-module -w commonjs -o dist/protos/wtclient.js src/protos/wtclient.proto && pbjs -t static-module src/protos/wtclient.proto | pbts -o dist/protos/wtclient.d.ts - && cp dist/protos/wtclient.* ./src/protos/",
"prepublish": "bun run lint && bun run build && npm --no-git-tag-version version patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/litecoin-foundation/react-native-lndltc.git",
"baseUrl": "https://github.com/litecoin-foundation/react-native-lndltc"
},
"author": "synonymdev",
"license": "MIT",
"licenseFilename": "LICENSE",
"peerDependencies": {
"react-native": "^0.71.0"
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.0.0",
"@types/react-native": "0.71.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-config-standard-with-typescript": "18.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"prettier": "^2.6.2",
"typescript": "^4.7.2"
},
"dependencies": {
"@babel/runtime": "^7.18.0",
"base64-js": "^1.5.1",
"protobufjs": "^6.11.4",
"react-native-fs": "^2.18.0",
"react-native-zip-archive": "^6.1.0"
},
"bugs": {
"url": "https://github.com/litecoin-foundation/react-native-lndltc/issues"
},
"homepage": "https://github.com/litecoin-foundation/react-native-lndltc#readme",
"trustedDependencies": [
"protobufjs"
]
}