-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
143 lines (143 loc) · 7.14 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
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
{
"name": "@brumeproject/wallet",
"version": "0.6.535",
"private": true,
"scripts": {
"dev": "next dev",
"macro": "saumon build -r ./src",
"watch": "npm-watch",
"build": "npm run build:!before && npm run build:!website && npm run build:!android && npm run build:!apple && npm run build:!chrome && npm run build:!safari && npm run build:!firefox",
"build:!before": "next build && rimraf ./dist && mkdir ./dist",
"build:!website": "mkdir ./dist/website && cp -R ./out/* ./dist/website && node ./scripts/build.website.mjs",
"build:!android": "mkdir ./dist/android && cp -R ./out/* ./dist/android && node ./scripts/build.android.mjs",
"build:!apple": "mkdir ./dist/apple && cp -R ./out/* ./dist/apple && node ./scripts/build.apple.mjs",
"build:!chrome": "mkdir ./dist/chrome && cp -R ./out/* ./dist/chrome && mv ./dist/chrome/chrome/* ./dist/chrome && node ./scripts/build.chrome.mjs",
"build:!firefox": "mkdir ./dist/firefox && cp -R ./out/* ./dist/firefox && mv ./dist/firefox/firefox/* ./dist/firefox/ && node ./scripts/build.firefox.mjs",
"build:!safari": "mkdir ./dist/safari && cp -R ./out/* ./dist/safari && mv ./dist/safari/safari/* ./dist/safari/ && node ./scripts/build.safari.mjs",
"build:website": "npm run build:!before && npm run build:!website && rimraf ./out && cp -R ./dist/website ./out",
"build:chrome": "npm run build:!before && npm run build:!chrome && rimraf ./out && cp -R ./dist/chrome ./out",
"build:vercel": "npm run build:website",
"zip": "npm run zip:!website && npm run zip:!chrome && npm run zip:!firefox && npm run zip:!macos",
"zip:!website": "cd ./dist/website && zip -r -X ../website.zip .",
"zip:!chrome": "cd ./dist/chrome && zip -r -X ../chrome.zip .",
"zip:!firefox": "cd ./dist/firefox && zip -r -X ../firefox.zip .",
"zip:!macos": "cd './dist/Brume Wallet.app' && zip -r -X ../macos.zip .",
"preversion": "echo $npm_package_version > ./preversion.txt",
"version": "npm run version:!script",
"version:!script": "node ./scripts/version.1.mjs && npm run version:!clean",
"version:!clean": "find . -name '.DS_Store' -delete && npm run version:!build",
"version:!build": "npm run build && npm run version:!sync",
"version:!sync": "npm run sync && npm run version:!script2",
"version:!script2": "node ./scripts/version.2.mjs && npm run version:!echo",
"version:!echo": "echo Open Android Studio and generate a signed APK for release && read && npm run version:!echo2",
"version:!echo2": "echo Open Xcode and generate a macOS Archive for Direct Distribution with default name && read && npm run version:!echo3",
"version:!echo3": "echo Open Xcode and generate an iOS Archive for Release Testing with name \"ios\" && read && npm run version:!echo4",
"version:!echo4": "echo Open Xcode and generate a macOS Archive for App Store Connect && read && npm run version:!echo5",
"version:!echo5": "echo Open Xcode and generate an iOS Archive for App Store Connect && read && npm run version:!zip",
"version:!zip": "npm run zip && npm run version:!copy",
"version:!copy": "cp ./apps/android/app/release/app-release.apk ./dist/android.apk && npm run version:!copy2",
"version:!copy2": "cp './dist/ios/Brume Wallet.ipa' ./dist/ios-and-ipados.ipa && npm run version:!script3",
"version:!script3": "node ./scripts/version.3.mjs && npm run version:!git",
"version:!git": "git add . && npm run version:!git2",
"version:!git2": "git update-index --no-assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md && npm run version:!git3",
"version:!git3": "git add --force ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md && npm run version:!git4",
"version:!git4": "git update-index --assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md",
"clean": "rimraf ./node_modules ./.next ./out ./dist ./website ./chrome ./firefox ./safari ./package-lock.json",
"sync": "PLATFORM=android npx cap sync && PLATFORM=apple npx cap sync",
"lint": "next lint",
"start": "serve --config ../../serve.json ./dist/website"
},
"dependencies": {
"@brumewallet/wallet.wasm": "^1.0.2",
"@capacitor/android": "^6.2.0",
"@capacitor/core": "^6.2.0",
"@capacitor/ios": "^6.2.0",
"@hazae41/apdu": "^1.0.1",
"@hazae41/arrays": "^1.1.5",
"@hazae41/asn1": "^1.3.31",
"@hazae41/base16": "^1.0.18",
"@hazae41/base58": "^1.0.7",
"@hazae41/base64": "^1.0.15",
"@hazae41/base64url": "^1.0.17",
"@hazae41/binary": "^1.3.5",
"@hazae41/box": "^2.0.1",
"@hazae41/bytes": "^1.2.11",
"@hazae41/cadenas": "^0.4.2",
"@hazae41/chacha20poly1305": "^1.0.8",
"@hazae41/chemin": "^2.0.10",
"@hazae41/cubane": "^0.2.1",
"@hazae41/cursor": "^1.2.4",
"@hazae41/disposer": "^2.0.20",
"@hazae41/echalote": "^0.4.18",
"@hazae41/ed25519": "^2.1.22",
"@hazae41/fleche": "^1.4.5",
"@hazae41/future": "^1.0.3",
"@hazae41/gardien": "^0.1.1",
"@hazae41/glacier": "^2.2.6",
"@hazae41/immutable": "^1.0.13",
"@hazae41/jsonrpc": "^1.1.6",
"@hazae41/kcp": "^1.1.3",
"@hazae41/keccak256": "^1.0.10",
"@hazae41/latrine": "^1.1.4",
"@hazae41/ledger": "^0.1.4",
"@hazae41/mutex": "^2.1.0",
"@hazae41/option": "^1.1.4",
"@hazae41/piscine": "^2.1.4",
"@hazae41/plume": "^3.0.5",
"@hazae41/react-close-context": "^1.0.2",
"@hazae41/result": "^1.3.2",
"@hazae41/ripemd160": "^1.0.3",
"@hazae41/secp256k1": "^1.0.1",
"@hazae41/sha1": "^1.1.14",
"@hazae41/signals": "^1.0.2",
"@hazae41/smux": "^1.1.3",
"@hazae41/symbol-dispose-polyfill": "^1.0.2",
"@hazae41/webauthnstorage": "^1.0.1",
"@hazae41/worker-online-polyfill": "^1.0.0",
"@hazae41/x25519": "^2.2.9",
"@heroicons/react": "^2.2.0",
"@nuintun/qrcode": "^3.4.0",
"@paulmillr/qr": "^0.3.0",
"@scure/bip32": "^1.6.0",
"@scure/bip39": "^1.5.0",
"ethers": "^6.13.4",
"next": "15.1.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@capacitor/cli": "^6.1.2",
"@hazae41/next-sidebuild": "^1.0.2",
"@hazae41/phobos": "^1.0.10",
"@hazae41/rimraf": "^1.0.1",
"@hazae41/saumon": "^0.2.14",
"@mdx-js/loader": "^3.1.0",
"@next/mdx": "^15.1.2",
"@types/chrome": "^0.0.287",
"@types/node": "22.10.2",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"@types/w3c-web-usb": "^1.0.10",
"autoprefixer": "^10.4.20",
"blockstore-core": "^5.0.2",
"dotenv": "^16.4.7",
"eslint": "^9.17.0",
"eslint-config-next": "15.1.2",
"ipfs-unixfs-importer": "^15.3.1",
"npm-watch": "^0.13.0",
"postcss": "^8.4.49",
"serve": "^14.2.4",
"tailwindcss": "^3.4.17",
"tslib": "^2.8.1",
"typescript": "5.7.2"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "js,jsx,ts,tsx,md,mdx,css,json",
"delay": 2500
}
}
}