-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
197 lines (197 loc) · 7.31 KB
/
Copy pathpackage.json
File metadata and controls
197 lines (197 loc) · 7.31 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "nault",
"version": "1.18.3",
"packageManager": "pnpm@11.1.0",
"license": "MIT",
"description": "Wallet for interacting with nano",
"author": "Conny Brunnkvist <cbrunnkvist@gmail.com>",
"main": "desktop-app/dist/desktop-app.js",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"ng": "pnpm run version && ng",
"start": "pnpm run version && ng serve",
"build": "pnpm run version && ng build",
"test": "pnpm run test:vitest && pnpm run test:vitest:nanonyms && pnpm run verify:test-inventory",
"test:vitest": "pnpm run version && ng run nault:test-vitest --watch=false",
"test:vitest:nanonyms": "pnpm run version && ng run nault:test-vitest-nanonyms --watch=false",
"test:watch": "pnpm run version && ng run nault:test-vitest",
"lint": "pnpm run version && ng lint",
"e2e": "pnpm run version && ng e2e",
"publish": "build -wml --x64 -p always",
"release": "pnpm run desktop:build && electron-builder",
"wallet:dev": "pnpm run version && ng serve --open",
"wallet:dev-ssl": "pnpm run version && ng serve --ssl --open",
"version": "node scripts/generate-version.js",
"wallet:build": "pnpm run version && ng build --configuration production --base-href /NaultCore/",
"wallet:build:naultcore": "FEATURE_NANONYMS=false pnpm run version && FEATURE_NANONYMS=false ng build --configuration naultcore --base-href /NaultCore/",
"wallet:build:naultcore:preview": "FEATURE_NANONYMS=false pnpm run version && FEATURE_NANONYMS=false ng build --configuration naultcore-preview --base-href /",
"verify:pwa:preview": "node scripts/verify-pwa-preview.js",
"verify:branding": "node scripts/verify-branding.js",
"verify:test-inventory": "node scripts/verify-vitest-inventory.js",
"wallet:build-desktop": "FEATURE_NANONYMS=false pnpm run version && FEATURE_NANONYMS=false ng build --configuration=desktop --base-href ",
"wallet:build-desktop:nanonyms": "FEATURE_NANONYMS=true pnpm run version && FEATURE_NANONYMS=true ng build --configuration=nanonyms --base-href ",
"desktop:compile": "cd desktop-app && tsc && cd ..",
"desktop:build": "pnpm run wallet:build-desktop && pnpm run desktop:compile",
"desktop:build-local": "pnpm run desktop:build && pnpm run desktop:local",
"desktop:dev": "pnpm run desktop:compile && electron desktop-app/dist/desktop-app.js",
"desktop:local": "electron-builder -p never",
"e2e:pw": "PLAYWRIGHT_HEADLESS=true pnpm exec playwright test",
"e2e:pw:local": "PLAYWRIGHT_HEADLESS=true pnpm exec playwright test",
"e2e:pw:ui": "pnpm exec playwright test --ui",
"build:packages": "pnpm --recursive --filter @nanonyms/* run build",
"clean:packages": "pnpm --recursive --filter @nanonyms/* run clean",
"test:packages": "pnpm --recursive --filter @nanonyms/* run test",
"publish:packages": "pnpm --recursive --filter @nanonyms/* publish",
"pack:packages": "pnpm --recursive --filter @nanonyms/* pack:dry-run",
"check:packages": "pnpm run clean:packages && pnpm run build:packages && pnpm run test:packages && pnpm run pack:packages"
},
"private": true,
"dependencies": {
"@angular-devkit/core": "22.1.5",
"@angular/animations": "^22.1.3",
"@angular/common": "^22.1.3",
"@angular/compiler": "^22.1.3",
"@angular/core": "^22.1.3",
"@angular/forms": "^22.1.3",
"@angular/localize": "^22.1.3",
"@angular/platform-browser": "^22.1.3",
"@angular/platform-browser-dynamic": "^22.1.3",
"@angular/router": "^22.1.3",
"@angular/service-worker": "^22.1.3",
"@jsverse/transloco": "^8.4.0",
"@ledgerhq/hw-transport": "^6.27.1",
"@ledgerhq/hw-transport-node-ble": "^6.27.1",
"@ledgerhq/hw-transport-node-hid": "^6.27.1",
"@ledgerhq/hw-transport-u2f": "^5.34.0",
"@ledgerhq/hw-transport-web-ble": "^6.27.1",
"@ledgerhq/hw-transport-webhid": "^6.27.1",
"@ledgerhq/hw-transport-webusb": "^6.27.1",
"@ledgerhq/logs": "^6.10.0",
"@libp2p/peer-id-factory": "^4.2.4",
"@ng-bootstrap/ng-bootstrap": "^21.0.0",
"@noble/curves": "1.2.0",
"@noble/ed25519": "^3.0.0",
"@noble/hashes": "1.3.2",
"@noble/secp256k1": "^3.0.0",
"@openrai/nano-core": "3.5.0",
"@popperjs/core": "^2.11.8",
"@types/crypto-js": "^3.1.38",
"@types/w3c-web-hid": "^1.0.2",
"@types/w3c-web-usb": "^1.0.5",
"@zxing/browser": "^0.2.1",
"@zxing/library": "^0.23.0",
"@zxing/ngx-scanner": "^22.0.1",
"babel-polyfill": "^6.26.0",
"babel-runtime": "^6.26.0",
"bignumber.js": "^5.0.0",
"bip39": "^3.0.2",
"blakejs": "^1.1.0",
"buffer": "^6.0.3",
"core-js": "^3.6.5",
"crypto-js": "^4.2.0",
"electron-log": "^4.3.1",
"electron-settings": "^4.0.2",
"electron-updater": "^4.3.5",
"hermes-channel": "0.0.6",
"hw-app-nano": "^1.3.0",
"nano-base32": "^1.0.1",
"nano-rspow-web": "0.17.1",
"nanocurrency": "^2.5.0",
"nanocurrency-web": "^1.4.3",
"ngx-clipboard": "^16.0.0",
"node-hid": "^2.2.0",
"nostr-tools": "^2.7.0",
"pbkdf2": "^3.1.2",
"qrcode": "^1.4.4",
"rxjs": "^7.8.2",
"rxjs-compat": "^6.5.5",
"safe-buffer": "^5.2.1",
"stream-browserify": "^3.0.0",
"three": "^0.185.1",
"tslib": "^2.0.0",
"tweetnacl": "^1.0.0",
"url": "^0.11.0",
"usb": "^2.0.3",
"zone.js": "~0.15.1"
},
"devDependencies": {
"@angular-eslint/builder": "22.1.0",
"@angular-eslint/eslint-plugin": "22.1.0",
"@angular-eslint/eslint-plugin-template": "22.1.0",
"@angular-eslint/schematics": "22.1.0",
"@angular-eslint/template-parser": "22.1.0",
"@angular/build": "22.1.5",
"@angular/cli": "^22.1.5",
"@angular/compiler-cli": "^22.1.3",
"@angular/language-service": "^22.1.3",
"@playwright/test": "^1.59.1",
"@types/bip39": "^2.4.0",
"@types/ledgerhq__hw-transport": "^4.21.3",
"@types/node": "^22.20.1",
"@types/qrcode": "^0.8.1",
"@types/three": "^0.185.4",
"@typescript-eslint/eslint-plugin": "^8.67.0",
"@typescript-eslint/parser": "^8.67.0",
"dotenv": "^17.4.2",
"electron": "^19.0.0",
"electron-builder": "^24.0.0",
"eslint": "^9.39.5",
"jsdom": "^26.1.0",
"less": "4.9.0",
"ts-node": "~3.2.0",
"typescript": "~6.0.3",
"uikit": "3.9.4",
"vitest": "^4.1.11"
},
"build": {
"appId": "cc.nault",
"buildVersion": "1.0.0",
"productName": "NaultCore",
"copyright": "Copyright © 2025 Conny Brunnkvist <cbrunnkvist@gmail.com>",
"directories": {
"output": "desktop-app/build",
"buildResources": "desktop-app/assets",
"app": "./"
},
"mac": {
"target": "dmg",
"artifactName": "Nault-${version}.${ext}",
"category": "public.app-category.finance",
"extendInfo": {
"CFBundleURLTypes": [
{
"CFBundleURLName": "nano",
"CFBundleURLSchemes": [
"nano"
]
}
]
}
},
"linux": {
"target": "AppImage",
"artifactName": "Nault-${version}.${ext}",
"icon": "desktop-app/assets/linux",
"desktop": {
"GenericName": "Nano Wallet"
}
},
"win": {
"artifactName": "Nault Setup ${version}.${ext}"
},
"protocols": {
"name": "nano",
"schemes": [
"nano",
"nanorep",
"nanoseed",
"nanokey",
"nanosign",
"nanoprocess"
],
"role": "Viewer"
}
}
}