266 lines
9.6 KiB
JSON
266 lines
9.6 KiB
JSON
{
|
|
"name": "zeus",
|
|
"version": "13.1.0-alpha",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">= 22.11.0"
|
|
},
|
|
"jest": {
|
|
"preset": "@react-native/jest-preset",
|
|
"watchPathIgnorePatterns": [
|
|
"<rootDir>/node_modules"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(react-native|@react-native|react-native-blob-util|react-native-randombytes|react-native-nfc-manager|dateformat|nostr-tools|@nostr|@noble|@scure|uuid)/)"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"check-styles.test.ts"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@noble/hashes/_assert$": "<rootDir>/node_modules/@noble/hashes/_assert.js",
|
|
"^@noble/hashes/pbkdf2$": "<rootDir>/node_modules/@noble/hashes/pbkdf2.js",
|
|
"^@noble/hashes/sha256$": "<rootDir>/node_modules/@noble/hashes/sha256.js",
|
|
"^@noble/hashes/sha512$": "<rootDir>/node_modules/@noble/hashes/sha512.js",
|
|
"^@noble/hashes/utils$": "<rootDir>/node_modules/@noble/hashes/utils.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"ra": "react-native run-android",
|
|
"ri": "react-native run-ios",
|
|
"ios": "react-native run-ios",
|
|
"android": "react-native run-android",
|
|
"postinstall": "node patches/index.mjs && rn-nodeify --install crypto,stream,dgram --hack && yarn run fetch-libraries && pod-install",
|
|
"verify": "concurrently \"yarn test\" \"yarn prettier\" \"yarn tsc\" \"yarn lint\"",
|
|
"test": "jest",
|
|
"tsc": "tsc",
|
|
"lint": "eslint . && 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": "rm -rf android/app/.cxx android/build && yarn gradlew clean",
|
|
"fetch-libraries": "bash fetch-libraries.sh",
|
|
"fix-all": "yarn prettier-write && yarn lint-fix",
|
|
"lint-fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@bitcoinerlab/secp256k1": "1.1.1",
|
|
"@getalby/sdk": "8.0.1",
|
|
"@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",
|
|
"@nostr/tools": "npm:@jsr/nostr__tools",
|
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
"@react-native-clipboard/clipboard": "1.16.3",
|
|
"@react-native-community/datetimepicker": "8.5.1",
|
|
"@react-native-community/netinfo": "11.4.1",
|
|
"@react-native-community/slider": "5.1.1",
|
|
"@react-native-documents/picker": "11.0.3",
|
|
"@react-native-picker/picker": "2.11.4",
|
|
"@react-native-vector-icons/feather": "12.4.0",
|
|
"@react-native-vector-icons/fontawesome": "12.4.0",
|
|
"@react-native-vector-icons/material-design-icons": "12.4.0",
|
|
"@react-native-vector-icons/material-icons": "12.4.0",
|
|
"@react-navigation/bottom-tabs": "7.9.0",
|
|
"@react-navigation/native": "7.1.28",
|
|
"@react-navigation/native-stack": "7.12.0",
|
|
"@rneui/base": "5.0.0-beta.1",
|
|
"@rneui/themed": "5.0.0-beta.1",
|
|
"@scure/base": "1.1.6",
|
|
"@scure/bip39": "1.6.0",
|
|
"@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",
|
|
"bitcoinjs-lib": "6.1.5",
|
|
"bolt07": "1.9.4",
|
|
"bs58check": "2.1.2",
|
|
"buffer": "5.6.0",
|
|
"create-hash": "1.2.0",
|
|
"crypto-js": "4.2.0",
|
|
"dateformat": "5.0.3",
|
|
"ecpair": "3.0.1",
|
|
"events": "1.1.1",
|
|
"fast-crc32c": "2.0.0",
|
|
"fast-sha256": "1.3.0",
|
|
"hash.js": "1.1.7",
|
|
"humanize-duration": "3.28.0",
|
|
"identicon.js": "2.3.3",
|
|
"js-lnurl": "0.5.1",
|
|
"js-sha256": "0.9.0",
|
|
"lodash": "4.18.1",
|
|
"long": "5.2.3",
|
|
"lottie-react-native": "7.3.4",
|
|
"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",
|
|
"process": "0.11.10",
|
|
"protobufjs": "7.5.8",
|
|
"punycode": "1.4.1",
|
|
"querystring-es3": "0.2.1",
|
|
"react": "19.2.3",
|
|
"react-native": "0.85.3",
|
|
"react-native-biometrics": "3.0.1",
|
|
"react-native-blob-util": "0.24.6",
|
|
"react-native-circular-progress-indicator": "4.4.2",
|
|
"react-native-crypto": "2.2.0",
|
|
"react-native-device-info": "15.0.1",
|
|
"react-native-draglist": "3.8.0",
|
|
"react-native-encrypted-storage": "4.0.3",
|
|
"react-native-fs": "2.20.0",
|
|
"react-native-gesture-handler": "2.31.2",
|
|
"react-native-get-random-values": "1.9.0",
|
|
"react-native-haptic-feedback": "2.3.3",
|
|
"react-native-hce": "0.3.0",
|
|
"react-native-image-picker": "8.2.1",
|
|
"react-native-keychain": "10.0.0",
|
|
"react-native-nfc-manager": "3.17.2",
|
|
"react-native-notifications": "5.2.2",
|
|
"react-native-print": "0.11.0",
|
|
"react-native-qr-kit": "1.0.5",
|
|
"react-native-qrcode-svg": "6.3.21",
|
|
"react-native-randombytes": "3.5.3",
|
|
"react-native-reanimated": "4.3.1",
|
|
"react-native-reanimated-carousel": "4.0.3",
|
|
"react-native-restart": "0.0.27",
|
|
"react-native-safe-area-context": "5.6.2",
|
|
"react-native-screens": "4.19.0",
|
|
"react-native-securerandom": "1.0.1",
|
|
"react-native-share": "12.2.1",
|
|
"react-native-svg": "15.15.5",
|
|
"react-native-svg-transformer": "1.5.3",
|
|
"react-native-system-navigation-bar": "2.8.0",
|
|
"react-native-nitro-tor": "0.5.3",
|
|
"react-native-udp": "4.1.7",
|
|
"react-native-view-shot": "5.1.0",
|
|
"react-native-vision-camera": "4.7.3",
|
|
"react-native-worklets": "0.8.3",
|
|
"readable-stream": "1.0.33",
|
|
"scrypt-js": "3.0.1",
|
|
"sha.js": "2.4.12",
|
|
"socket.io-client": "4.8.3",
|
|
"stream-browserify": "1.0.0",
|
|
"text-encoding": "0.7.0",
|
|
"url": "0.10.3",
|
|
"util": "0.10.4",
|
|
"uuid": "14.0.0"
|
|
},
|
|
"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-community/cli": "20.1.3",
|
|
"@react-native/babel-preset": "0.85.3",
|
|
"@react-native/eslint-config": "0.85.3",
|
|
"@react-native/jest-preset": "0.85.3",
|
|
"@react-native/metro-config": "0.85.3",
|
|
"@react-native/typescript-config": "0.85.3",
|
|
"@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": "19.1.1",
|
|
"@types/react-test-renderer": "19.1.0",
|
|
"@types/sha.js": "2.4.1",
|
|
"@types/uuid": "9.0.8",
|
|
"@typescript-eslint/eslint-plugin": "8.59.3",
|
|
"@typescript-eslint/parser": "8.59.3",
|
|
"babel-jest": "29.7.0",
|
|
"compressing": "1.10.5",
|
|
"concurrently": "9.1.2",
|
|
"eslint": "9.39.4",
|
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
"eslint-plugin-import": "2.32.0",
|
|
"eslint-plugin-jest": "29.15.2",
|
|
"eslint-plugin-prettier": "5.5.5",
|
|
"graceful-fs": "4.2.8",
|
|
"jest": "29.7.0",
|
|
"pod-install": "0.1.38",
|
|
"prettier": "2.4.1",
|
|
"protobufjs-cli": "1.2.1",
|
|
"react-native-url-polyfill": "2.0.0",
|
|
"react-test-renderer": "19.2.3",
|
|
"rn-nodeify": "10.3.0",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"resolutions": {
|
|
"**/@types/react": "19.1.1",
|
|
"@types/react": "19.1.1",
|
|
"@typescript-eslint/eslint-plugin": "8.59.3",
|
|
"@typescript-eslint/parser": "8.59.3",
|
|
"@typescript-eslint/scope-manager": "8.59.3",
|
|
"@typescript-eslint/type-utils": "8.59.3",
|
|
"@typescript-eslint/types": "8.59.3",
|
|
"@typescript-eslint/typescript-estree": "8.59.3",
|
|
"@typescript-eslint/utils": "8.59.3",
|
|
"@typescript-eslint/visitor-keys": "8.59.3",
|
|
"asn1.js/bn.js": "4.12.3",
|
|
"bolt07/bn.js": "5.2.3",
|
|
"brace-expansion": "1.1.13",
|
|
"browserify-rsa/bn.js": "5.2.3",
|
|
"browserify-sign/bn.js": "5.2.3",
|
|
"create-ecdh/bn.js": "4.12.3",
|
|
"diffie-hellman/bn.js": "4.12.3",
|
|
"elliptic/bn.js": "4.12.3",
|
|
"eslint-import-resolver-typescript/picomatch": "4.0.4",
|
|
"markdown-it": "14.1.1",
|
|
"miller-rabin/bn.js": "4.12.3",
|
|
"minimatch": "3.1.5",
|
|
"pbkdf2": "3.1.5",
|
|
"picomatch": "2.3.2",
|
|
"protobufjs-cli/brace-expansion": "2.0.3",
|
|
"public-encrypt/bn.js": "4.12.3",
|
|
"react-native-blob-util/minimatch": "10.2.5",
|
|
"tinyglobby/picomatch": "4.0.4",
|
|
"underscore": "1.13.8"
|
|
},
|
|
"react-native": {
|
|
"crypto": "react-native-crypto",
|
|
"querystring": "querystring-es3",
|
|
"_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",
|
|
"tls": false
|
|
},
|
|
"browser": {
|
|
"crypto": "react-native-crypto",
|
|
"querystring": "querystring-es3",
|
|
"_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",
|
|
"tls": false
|
|
},
|
|
"reactNativePermissionsIOS": [
|
|
"Camera"
|
|
],
|
|
"reanimated": {
|
|
"staticFeatureFlags": {
|
|
"ENABLE_SHARED_ELEMENT_TRANSITIONS": true
|
|
}
|
|
}
|
|
}
|