-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
package.json
225 lines (225 loc) · 11.7 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
{
"name": "BlixtWallet",
"version": "0.7.0",
"private": true,
"nodeLinker": "node-modules",
"scripts": {
"android": "react-native run-android --appIdSuffix debug",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"start-metro": "react-native start",
"test": "jest",
"test-update-snapshot": "jest --silent --roots tests --updateSnapshot",
"gen-proto": "pbjs -t static-module -w es6 --force-long -o proto/lightning.js proto/*.proto proto/*/*.proto && pbts -o proto/lightning.d.ts proto/lightning.js",
"build-tor-lib": "./build-tor",
"build-unsigned-android": "chmod +x fetch_libraries.sh && ./fetch_libraries.sh && yarn && yarn gen-proto && yarn android:mainnet-unsigned",
"prepare-release": "yarn install && cd ios && pod install && cd ../macos && pod install",
"android:clean": "cd android && ./gradlew clean",
"android:regtest-debug": "react-native run-android --mode chainregtestNormalDebug --appIdSuffix regtest.debug --main-activity MainActivity",
"android:regtest": "react-native run-android --mode chainregtestNormalRelease --appIdSuffix regtest",
"android:testnet-debug": "react-native run-android --mode chaintestnetNormalDebug --appIdSuffix testnet.debug --main-activity MainActivity",
"android:testnet": "react-native run-android --mode chaintestnetNormalRelease --appIdSuffix testnet",
"android:mainnet-debug": "react-native run-android --mode chainmainnetNormalDebug --appIdSuffix debug --main-activity MainActivity",
"android:mainnet": "react-native run-android --mode chainmainnetNormalRelease",
"android:mainnet-fakelnd": "react-native run-android --mode chainmainnetFakelndRelease --appIdSuffix fakelnd",
"android:mainnet-fakelnd-debug": "react-native run-android --mode chainmainnetFakelndDebug --appIdSuffix fakelnd.debug",
"android:bundle-release": "NODE_OPTIONS=--openssl-legacy-provider cd android && ./gradlew clean && ./gradlew bundleChainmainnetNormalRelease && ./gradlew bundleChaintestnetNormalRelease",
"android:bundle-release-mainnet": "cd android && ./gradlew clean && NODE_OPTIONS=--openssl-legacy-provider ./gradlew bundlechainmainnetNormalRelease",
"android:bundle-release-testnet": "cd android && ./gradlew clean && NODE_OPTIONS=--openssl-legacy-provider ./gradlew bundlechaintestnetNormalRelease",
"android:bundle-js-debug": "react-native bundle --platform android --dev true --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle",
"android:bundle-js-release": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle",
"android:mainnet-unsigned": "cd android && ./gradlew assembleChainmainnetNormalRelease",
"ios:regtest-debug": "react-native run-ios --scheme BlixtWalletRegtest --configuration DebugRegtest",
"ios:regtest": "react-native run-ios --scheme BlixtWalletRegtest --configuration ReleaseRegtest",
"ios:testnet-debug": "react-native run-ios --scheme BlixtWalletTestnet --configuration DebugTestnet",
"ios:testnet": "react-native run-ios --scheme BlixtWalletTestnet --configuration ReleaseTestnet",
"ios:mainnet-debug": "react-native run-ios --scheme BlixtWallet --configuration Debug",
"ios:mainnet": "react-native run-ios --scheme BlixtWallet --configuration Release",
"ios:mainnet-fakelnd": "react-native run-ios --scheme BlixtWalletFakelnd --configuration ReleaseFakelnd",
"ios:mainnet-fakelnd-debug": "react-native run-ios --scheme BlixtWalletFakelnd --configuration DebugFakelnd",
"ios:bundle-js-release": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios/main.jsbundle",
"macos:regtest-debug": "react-native-macos run-macos --scheme BlixtWalletRegtest --configuration DebugRegtest",
"macos:regtest": "react-native-macos run-macos --scheme BlixtWalletRegtest --configuration ReleaseRegtest",
"macos:testnet-debug": "react-native-macos run-macos --scheme BlixtWalletTestnet --configuration DebugTestnet",
"macos:testnet": "react-native-macos run-macos --scheme BlixtWalletTestnet --configuration ReleaseTestnet",
"macos:mainnet-debug": "react-native-macos run-macos --scheme BlixtWallet --configuration Debug",
"macos:mainnet": "react-native-macos run-macos --scheme BlixtWallet --configuration Release",
"macos:mainnet-fakelnd-debug": "react-native-macos run-macos --scheme BlixtWalletFakelnd --configuration DebugFakelnd",
"macos:mainnet-fakelnd": "react-native-macos run-macos --scheme BlixtWalletFakelnd --configuration ReleaseFakelnd",
"web": "CHAIN=mainnet FLAVOR=fakelnd APPLICATION_ID=com.blixtwallet.webdemo webpack serve --config ./web/webpack.config.js",
"web:bundle": "rm -r web/dist || true && NODE_ENV=production CHAIN=mainnet FLAVOR=fakelnd APPLICATION_ID=com.blixtwallet.webdemo webpack --config ./web/webpack.config.js",
"electron:start": "CHAIN=mainnet FLAVOR=fakelnd APPLICATION_ID=com.blixtwallet.debug electron-forge start",
"electron:make": "NODE_ENV=production CHAIN=mainnet FLAVOR=fakelnd APPLICATION_ID=com.blixtwallet.webdemo electron-forge make",
"electron:package": "NODE_ENV=production CHAIN=mainnet FLAVOR=fakelnd APPLICATION_ID=com.blixtwallet.webdemo electron-forge package"
},
"dependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-export-namespace-from": "7.24.7",
"@babel/polyfill": "^7.12.1",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@notifee/react-native": "^7.8.2",
"@react-native-async-storage/async-storage": "2.0.0",
"@react-native-clipboard/clipboard": "1.14.3",
"@react-native-community/geolocation": "3.4.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "11.3.2",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-community/slider": "4.5.2",
"@react-native-google-signin/google-signin": "13.0.1",
"@react-native/gradle-plugin": "0.76.1",
"@react-navigation/bottom-tabs": "7.0.0",
"@react-navigation/drawer": "7.0.0",
"@react-navigation/native": "7.0.0",
"@react-navigation/stack": "7.0.0",
"@shopify/flash-list": "1.7.1",
"add": "^2.0.6",
"aes-js": "^3.1.2",
"base64-js": "1.5.1",
"bech32": "2.0.0",
"bignumber.js": "^9.1.1",
"color": "^4.2.3",
"copy-webpack-plugin": "12.0.2",
"date-fns": "3.6.0",
"deprecated-react-native-prop-types": "^5.0.0",
"easy-peasy": "^6.0.4",
"expr-eval": "^2.0.2",
"fast-sha256": "^1.3.0",
"file-loader": "^6.2.0",
"hermes-engine": "0.11.0",
"html-webpack-plugin": "5.6.0",
"i18next": "23.14.0",
"jetifier": "^2.0.0",
"long": "^5.2.3",
"metro-react-native-babel-preset": "^0.77.0",
"native-base": "github:hsjoberg/NativeBase#dcc1994745e1252eee4150a0424bae81518c5543",
"node-abi": "3.67.0",
"node-polyfill-webpack-plugin": "4.0.0",
"protobufjs": "7.2.5",
"protobufjs-cli": "1.1.3",
"react": "18.3.1",
"react-dom": "^18.2.0",
"react-google-maps": "^9.4.5",
"react-i18next": "15.0.1",
"react-native": "0.76.1",
"react-native-animatable": "^1.4.0",
"react-native-build-config": "github:hsjoberg/react-native-build-config#d53d9a486331dd8b06764a6bbc61e74eb253f475",
"react-native-camera-kit": "^13.0.0",
"react-native-dialogs": "1.1.2",
"react-native-document-picker": "8.2.1",
"react-native-easy-grid": "0.2.2",
"react-native-electron": "^0.19.0",
"react-native-element-dropdown": "2.12.1",
"react-native-enhanced-popup-menu": "^0.7.0",
"react-native-fingerprint-scanner": "github:hsjoberg/react-native-fingerprint-scanner#b568a440472a04ae8ec2c409c53ce80cbcb9bf00",
"react-native-fs": "^2.19.0",
"react-native-gesture-handler": "github:hsjoberg/react-native-gesture-handler#b7bff62a1e894eabb96faf6d8b7497e9b8162fb1",
"react-native-haptic-feedback": "2.3.3",
"react-native-hash": "^3.0.3",
"react-native-icloudstore": "github:hsjoberg/react-native-icloudstore#a68dc9cd260b9bd36fa1f1011d60a441c0c18db7",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keychain": "^8.1.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-macos": "^0.75.7",
"react-native-maps": "1.18.0",
"react-native-modal": "^13.0.1",
"react-native-paper": "5.12.5",
"react-native-permissions": "4.1.5",
"react-native-popup-menu": "^0.16.1",
"react-native-qrcode-svg": "6.3.2",
"react-native-reanimated": "3.16.1",
"react-native-safe-area-context": "4.10.9",
"react-native-screens": "3.34.0",
"react-native-securerandom": "github:hsjoberg/react-native-securerandom#b6bc5b7e68bd3e626536a3048e280f9130a8ebb4",
"react-native-sqlite-storage": "^6.0.1",
"react-native-status-bar-height": "github:wzs/react-native-status-bar-height#5b1d68a6c708c14af24b2546c659702fbfb82b99",
"react-native-svg": "15.8.0",
"react-native-svg-path-gradient": "^0.4.0",
"react-native-svg-web": "^1.0.9",
"react-native-tor": "^0.1.8",
"react-native-unimodules": "^0.14.10",
"react-native-vector-icons": "9.2.0",
"react-native-vision-camera": "4.6.0",
"react-native-web": "0.19.12",
"react-native-web-linear-gradient": "^1.1.2",
"react-native-web-maps": "^0.3.0",
"react-native-web-webview": "^1.0.2",
"react-native-webln": "0.1.11",
"react-native-webview": "13.12.1",
"react-qr-reader": "^3.0.0-beta-1",
"remote-redux-devtools": "^0.5.16",
"secp256k1": "^5.0.0",
"setimmediate": "^1.0.5",
"sha.js": "^2.4.11",
"sql.js": "1.11.0",
"use-debounce": "10.0.3",
"wasm-loader": "^1.3.0",
"webln": "^0.3.2"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@babel/runtime": "7.25.6",
"@electron-forge/cli": "7.4.0",
"@electron-forge/maker-zip": "7.4.0",
"@electron-forge/plugin-webpack": "7.4.0",
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
"@react-native/babel-preset": "0.76.1",
"@react-native/eslint-config": "0.76.1",
"@react-native/metro-config": "0.76.1",
"@react-native/typescript-config": "0.76.1",
"@testing-library/react-native": "12.6.1",
"@tsconfig/react-native": "^3.0.0",
"@types/aes-js": "^3.1.4",
"@types/base64-js": "^1.3.2",
"@types/bech32": "^1.1.4",
"@types/color": "^3.0.6",
"@types/crypto-js": "4.2.2",
"@types/jest": "^29.5.12",
"@types/long": "^5.0.0",
"@types/react": "18.3.5",
"@types/react-native-sqlite-storage": "^6.0.5",
"@types/react-native-vector-icons": "^6.4.18",
"@types/react-test-renderer": "^18.3.0",
"@types/remote-redux-devtools": "^0.5.8",
"@types/secp256k1": "^4.0.6",
"@types/sha.js": "^2.4.4",
"@types/sql.js": "^1.4.9",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.3",
"babel-plugin-react-native-web": "0.19.12",
"bolt11": "^1.4.1",
"electron": "32.0.1",
"eslint": "9.9.1",
"eslint-plugin-ft-flow": "3.0.11",
"eslint-plugin-prettier": "5.2.1",
"jest": "^29.6.4",
"jest-date-mock": "1.0.10",
"jest-fetch-mock": "3.0.3",
"node-loader": "^2.0.0",
"prettier": "3.3.3",
"react-test-renderer": "18.3.1",
"typescript": "5.5.4",
"webpack": "5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "5.0.4"
},
"engines": {
"node": ">=18"
},
"main": ".webpack/main",
"config": {
"forge": "./web/electron/forge.config.js"
},
"reactNativePermissionsIOS": [
"LocationAccuracy",
"LocationWhenInUse",
"Notifications",
"Camera"
],
"packageManager": "[email protected]"
}