261 lines
9.0 KiB
JSON
261 lines
9.0 KiB
JSON
{
|
|
"name": "zeus",
|
|
"version": "0.11.2-alpha2",
|
|
"private": true,
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"watchPathIgnorePatterns": [
|
|
"<rootDir>/node_modules"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(react-native|@react-native|react-native-blob-util|react-native-randombytes|dateformat)/)"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"check-styles.test.ts"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"ra": "react-native run-android",
|
|
"ri": "react-native run-ios",
|
|
"postinstall": "rn-nodeify --install --hack & node patches/patch-sifir_android.mjs & npx jetify & yarn run fetch-libraries & pod-install",
|
|
"verify": "concurrently \"yarn test\" \"yarn prettier\" \"yarn tsc\" \"yarn lint\"",
|
|
"test": "jest",
|
|
"tsc": "tsc",
|
|
"lint": "eslint --ext .js,.ts,.tsx \"*.@(js|ts|tsx)\" . && yarn run test check-styles.test.ts --testPathIgnorePatterns=",
|
|
"prettier": "prettier --check \"**/*.ts*\"",
|
|
"prettier-write": "prettier --check --write \"**/*.ts*\"",
|
|
"gen-proto": "pbjs -t static-module --keep-case -w es6 --force-long -o proto/lightning.js proto/*.proto proto/*/*.proto && pbts -o proto/lightning.d.ts proto/lightning.js",
|
|
"gradlew": "cd android && ./gradlew",
|
|
"android:clean": "yarn gradlew clean",
|
|
"fetch-libraries": "bash fetch-libraries.sh"
|
|
},
|
|
"dependencies": {
|
|
"@bitcoinerlab/secp256k1": "1.1.1",
|
|
"@cashu/cashu-ts": "2.4.1",
|
|
"@getalby/sdk": "3.9.0",
|
|
"@keystonehq/bc-ur-registry": "0.7.0",
|
|
"@lightninglabs/lnc-core": "file:zeus_modules/@lightninglabs/lnc-core",
|
|
"@ngraveio/bc-ur": "1.1.12",
|
|
"@noble/secp256k1": "1.6.3",
|
|
"@nostr-dev-kit/ndk": "2.13.0-rc2",
|
|
"@react-native-async-storage/async-storage": "1.23.1",
|
|
"@react-native-clipboard/clipboard": "1.14.3",
|
|
"@react-native-community/slider": "4.5.2",
|
|
"@react-native-picker/picker": "2.6.1",
|
|
"@react-navigation/bottom-tabs": "7.0.0-alpha.22",
|
|
"@react-navigation/native": "7.0.0-alpha.18",
|
|
"@react-navigation/stack": "7.0.0-alpha.20",
|
|
"@scure/base": "1.1.6",
|
|
"@scure/bip39": "1.6.0",
|
|
"@tradle/react-native-http": "2.0.1",
|
|
"@types/dateformat": "5.0.0",
|
|
"@types/humanize-duration": "3.27.1",
|
|
"aez": "1.0.1",
|
|
"assert": "1.5.0",
|
|
"bech32": "2.0.0",
|
|
"bignumber.js": "9.0.2",
|
|
"bip32": "3.0.1",
|
|
"bip39": "3.1.0",
|
|
"bitcoinjs-lib": "6.1.5",
|
|
"bolt07": "1.9.4",
|
|
"bolt11": "1.4.1",
|
|
"browserify-zlib": "0.1.4",
|
|
"bs58check": "2.1.2",
|
|
"buffer": "5.6.0",
|
|
"console-browserify": "1.2.0",
|
|
"constants-browserify": "1.0.0",
|
|
"create-hash": "1.2.0",
|
|
"crypto-js": "4.2.0",
|
|
"dateformat": "5.0.3",
|
|
"dns.js": "1.0.1",
|
|
"domain-browser": "1.2.0",
|
|
"ecpair": "3.0.0-rc.0",
|
|
"elliptic": "6.6.1",
|
|
"events": "1.1.1",
|
|
"fast-crc32c": "2.0.0",
|
|
"fast-sha256": "1.3.0",
|
|
"hash.js": "1.1.7",
|
|
"https-browserify": "0.0.1",
|
|
"humanize-duration": "3.28.0",
|
|
"identicon.js": "2.3.3",
|
|
"js-lnurl": "0.5.1",
|
|
"js-sha256": "0.9.0",
|
|
"lodash": "4.17.21",
|
|
"long": "5.2.3",
|
|
"lottie-react-native": "5.1.6",
|
|
"message-port-polyfill": "0.2.0",
|
|
"mobx": "5.15.3",
|
|
"mobx-react": "6.1.4",
|
|
"moment": "2.29.4",
|
|
"nostr-tools": "1.16.0",
|
|
"object-hash": "1.3.1",
|
|
"pako": "2.1.0",
|
|
"path-browserify": "0.0.0",
|
|
"protobufjs": "7.2.5",
|
|
"punycode": "1.4.1",
|
|
"querystring-es3": "0.2.1",
|
|
"react": "18.2.0",
|
|
"react-native": "0.74.2",
|
|
"react-native-biometrics": "3.0.1",
|
|
"react-native-blob-util": "0.19.1",
|
|
"react-native-circular-progress-indicator": "4.4.2",
|
|
"react-native-crypto": "2.2.0",
|
|
"react-native-date-picker": "4.3.3",
|
|
"react-native-device-info": "11.1.0",
|
|
"react-native-document-picker": "9.3.1",
|
|
"react-native-draglist": "3.8.0",
|
|
"react-native-elements": "3.4.3",
|
|
"react-native-encrypted-storage": "4.0.3",
|
|
"react-native-fs": "2.20.0",
|
|
"react-native-gesture-handler": "2.16.2",
|
|
"react-native-get-random-values": "1.9.0",
|
|
"react-native-haptic-feedback": "2.2.0",
|
|
"react-native-hce": "0.1.2",
|
|
"react-native-image-picker": "5.0.1",
|
|
"react-native-keychain": "9.2.2",
|
|
"react-native-level-fs": "3.0.1",
|
|
"react-native-linear-gradient": "2.6.2",
|
|
"react-native-nfc-manager": "3.14.14",
|
|
"react-native-notifications": "5.1.0",
|
|
"react-native-os": "aprock/react-native-os#5/head",
|
|
"react-native-ping": "1.2.8",
|
|
"react-native-print": "0.11.0",
|
|
"react-native-qrcode-svg": "6.2.0",
|
|
"react-native-randombytes": "3.5.3",
|
|
"react-native-reanimated": "3.12.0",
|
|
"react-native-reanimated-carousel": "3.5.1",
|
|
"react-native-restart": "0.0.27",
|
|
"react-native-safe-area-context": "4.10.1",
|
|
"react-native-screens": "3.31.1",
|
|
"react-native-securerandom": "1.0.1",
|
|
"react-native-share": "12.0.3",
|
|
"react-native-svg": "15.3.0",
|
|
"react-native-svg-transformer": "1.3.0",
|
|
"react-native-system-navigation-bar": "2.6.4",
|
|
"react-native-tcp": "aprock/react-native-tcp#be5f656",
|
|
"react-native-tor": "0.1.8",
|
|
"react-native-udp": "4.1.7",
|
|
"react-native-v8": "0.61.5-patch.4",
|
|
"react-native-vector-icons": "7.1.0",
|
|
"react-native-view-shot": "4.0.3",
|
|
"react-native-vision-camera": "4.3.2",
|
|
"readable-stream": "1.0.33",
|
|
"rn-qr-generator": "1.4.3",
|
|
"scrypt-js": "3.0.1",
|
|
"sha.js": "2.4.11",
|
|
"socket.io-client": "4.7.2",
|
|
"stream-browserify": "1.0.0",
|
|
"text-encoding": "0.7.0",
|
|
"timers-browserify": "1.4.2",
|
|
"tty-browserify": "0.0.0",
|
|
"url": "0.10.3",
|
|
"util": "0.10.4",
|
|
"vm-browserify": "0.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.22.15",
|
|
"@babel/plugin-proposal-decorators": "7.22.15",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
|
"@babel/plugin-proposal-optional-chaining": "7.21.0",
|
|
"@babel/preset-env": "7.22.15",
|
|
"@babel/preset-typescript": "7.22.15",
|
|
"@babel/runtime": "7.26.10",
|
|
"@react-native/babel-preset": "0.74.84",
|
|
"@react-native/eslint-config": "0.74.84",
|
|
"@react-native/metro-config": "0.74.84",
|
|
"@types/create-hash": "1.2.2",
|
|
"@types/crypto-js": "4.1.1",
|
|
"@types/jest": "29.5.12",
|
|
"@types/lodash": "4.14.198",
|
|
"@types/object-hash": "1.3.4",
|
|
"@types/pako": "2.0.3",
|
|
"@types/react-native-vector-icons": "6.4.14",
|
|
"@types/react-test-renderer": "18.0.2",
|
|
"@types/sha.js": "2.4.1",
|
|
"@types/uuid": "9.0.7",
|
|
"@typescript-eslint/eslint-plugin": "6.13.1",
|
|
"@typescript-eslint/parser": "8.20.0",
|
|
"babel-jest": "29.7.0",
|
|
"compressing": "1.10.0",
|
|
"concurrently": "9.1.2",
|
|
"eslint": "8.45.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
"eslint-plugin-ft-flow": "2.0.3",
|
|
"eslint-plugin-import": "2.28.1",
|
|
"eslint-plugin-jest": "27.9.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-react": "7.31.8",
|
|
"graceful-fs": "4.2.8",
|
|
"jest": "29.7.0",
|
|
"jetifier": "2.0.0",
|
|
"pod-install": "0.1.38",
|
|
"prettier": "2.4.1",
|
|
"protobufjs-cli": "1.1.1",
|
|
"react-native-url-polyfill": "2.0.0",
|
|
"react-test-renderer": "18.2.0",
|
|
"rn-nodeify": "10.3.0",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "18.3.11",
|
|
"@types/react-native": "0.73.0"
|
|
},
|
|
"react-native": {
|
|
"zlib": "browserify-zlib",
|
|
"console": "console-browserify",
|
|
"constants": "constants-browserify",
|
|
"crypto": "react-native-crypto",
|
|
"dns": "dns.js",
|
|
"net": "react-native-tcp",
|
|
"domain": "domain-browser",
|
|
"http": "@tradle/react-native-http",
|
|
"https": "https-browserify",
|
|
"os": "react-native-os",
|
|
"path": "path-browserify",
|
|
"querystring": "querystring-es3",
|
|
"fs": "react-native-level-fs",
|
|
"_stream_transform": "readable-stream/transform",
|
|
"_stream_readable": "readable-stream/readable",
|
|
"_stream_writable": "readable-stream/writable",
|
|
"_stream_duplex": "readable-stream/duplex",
|
|
"_stream_passthrough": "readable-stream/passthrough",
|
|
"dgram": "react-native-udp",
|
|
"stream": "stream-browserify",
|
|
"timers": "timers-browserify",
|
|
"tty": "tty-browserify",
|
|
"vm": "vm-browserify",
|
|
"tls": false
|
|
},
|
|
"browser": {
|
|
"zlib": "browserify-zlib",
|
|
"console": "console-browserify",
|
|
"constants": "constants-browserify",
|
|
"crypto": "react-native-crypto",
|
|
"dns": "dns.js",
|
|
"net": "react-native-tcp",
|
|
"domain": "domain-browser",
|
|
"http": "@tradle/react-native-http",
|
|
"https": "https-browserify",
|
|
"os": "react-native-os",
|
|
"path": "path-browserify",
|
|
"querystring": "querystring-es3",
|
|
"fs": "react-native-level-fs",
|
|
"_stream_transform": "readable-stream/transform",
|
|
"_stream_readable": "readable-stream/readable",
|
|
"_stream_writable": "readable-stream/writable",
|
|
"_stream_duplex": "readable-stream/duplex",
|
|
"_stream_passthrough": "readable-stream/passthrough",
|
|
"dgram": "react-native-udp",
|
|
"stream": "stream-browserify",
|
|
"timers": "timers-browserify",
|
|
"tty": "tty-browserify",
|
|
"vm": "vm-browserify",
|
|
"tls": false
|
|
},
|
|
"reactNativePermissionsIOS": [
|
|
"Camera"
|
|
]
|
|
}
|