forked from 00-Protocol/00-Wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.54 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.54 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
{
"name": "bch-stealth-wallet",
"version": "1.0.0",
"private": true,
"main": "desktop/main.js",
"scripts": {
"tsc:check": "tsc --noEmit",
"build:desktop:main": "esbuild desktop/main.ts --bundle --platform=node --target=node18 --external:electron --format=cjs --outfile=desktop/main.js",
"relay": "node relay.js",
"relay:joiner-only": "node relay.js --joiner-only",
"relay:indexer-only": "node relay.js --indexer-only",
"indexer": "node pubkey-indexer.js --mode serve",
"scan": "node pubkey-indexer.js --mode scan",
"desktop:build:win": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win nsis --x64 --arm64 --publish=never",
"desktop:build:linux": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --linux AppImage --x64 --arm64 --publish=never",
"desktop:build:mac": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac zip --x64 --arm64 --publish=never",
"android:build": "node scripts/build-android.mjs",
"build:libs": "node scripts/bundle-libs.mjs",
"build:landing": "node scripts/build-landing.mjs",
"build": "npm run build:landing && npm run build:desktop:main"
},
"build": {
"appId": "com.zeroprotocol.bchstealthwallet",
"productName": "BCH Stealth Wallet",
"directories": {
"output": "dist/desktop"
},
"files": [
"desktop/**/*",
"!desktop/**/*.ts",
"landing/**/*",
"!landing/**/*.ts",
"package.json"
],
"extraMetadata": {
"main": "desktop/main.js"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"arm64"
]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"category": "Utility"
},
"mac": {
"target": [
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
]
}
},
"devDependencies": {
"@capacitor/android": "^7.2.0",
"@capacitor/cli": "^7.2.0",
"@capacitor/core": "^7.2.0",
"@types/node": "^25.6.0",
"@types/ws": "^8.18.1",
"cross-env": "^7.0.3",
"electron": "^33.3.2",
"electron-builder": "^25.1.8",
"typescript": "^6.0.3"
},
"dependencies": {
"@noble/ciphers": "^1.2.1",
"@noble/curves": "^1.8.1",
"@noble/hashes": "^1.7.1",
"esbuild": "^0.28.0",
"monero-ts": "^0.11.8",
"qrcode": "^1.5.4",
"ws": "^8.19.0"
}
}