feat: Add westend network support (#541)
* fix path * merge master branch * build: update polkadot dependencies and remove redundant packages * update kusama metadata to latest * fix tests
4.77 KB
... | ... | @@ -8,18 +8,18 @@ |
"yarn": "^1.3.2" | ||
}, | ||
"scripts": { | ||
"android": "yarn run build-rust-android && react-native run-android", | ||
"build-prod:ios": "NODE_OPTIONS=--max_old_space_size=8192 react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --assets-dest='./ios'", | ||
"android": "yarn run build-rust-android && npx react-native run-android", | ||
"build-prod:ios": "NODE_OPTIONS=--max_old_space_size=8192 npx react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --assets-dest='./ios'", | ||
"build-rust-ios": "cd rust/signer && make ios", | ||
"build-rust-android": "cd rust/signer && make android", | ||
"clean": "watchman watch-del-all && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-* && rm -rf node_modules/ && yarn cache clean --force && rm -rf ./android/app/build && rm -rf ./ios/build && yarn clean-rust", | ||
"clean-rust": "cd rust/signer && cargo clean && cd ../..", | ||
"commit": "commit-wizard", | ||
"ios": "yarn run build-rust-ios && react-native run-ios", | ||
"ios": "yarn run build-rust-ios && npx react-native run-ios", | ||
"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore", | ||
"lint:fix": "npx eslint . --ext .js,.jsx,.ts,.tsx --fix --ignore-path .gitignore", | ||
"postinstall": "npx jetify && chmod +x ./scripts/fix-rn-camera-path.sh && ./scripts/fix-rn-camera-path.sh ./node_modules/react-native-camera/ios/RNCamera.xcodeproj/project.pbxproj", | ||
"start": "NODE_OPTIONS=--max_old_space_size=8192 react-native start", | ||
"start": "NODE_OPTIONS=--max_old_space_size=8192 npx react-native start", | ||
"unit": "jest --config ./test/unit/jest.config.js", | ||
"unit:debug": "node --inspect node_modules/.bin/jest --watch --runInBand", | ||
"test-rust": "cd ./rust/signer && cargo test && cd ../..", | ||
... | ... | @@ -36,22 +36,18 @@ |
} | ||
}, | ||
"dependencies": { | ||
"@plugnet/util": "^1.1.100", | ||
"@plugnet/wasm-crypto-js": "^0.11.102", | ||
"@polkadot/api": "1.0.0-beta.7", | ||
"@polkadot/reactnative-identicon": "0.48.0-beta.12", | ||
"@polkadot/types": "1.0.0-beta.7", | ||
"@polkadot/util": "2.0.0-beta.4", | ||
"@polkadot/util-crypto": "2.0.0-beta.4", | ||
"@polkadot/wasm-crypto": "0.20.0-beta.1", | ||
"@polkadot/api": "1.6.0-beta.1", | ||
"@polkadot/reactnative-identicon": "0.51.1", | ||
"@polkadot/types": "1.6.0-beta.1", | ||
"@polkadot/util": "2.6.1", | ||
"@polkadot/util-crypto": "2.6.1", | ||
"@react-native-community/masked-view": "^0.1.6", | ||
"@react-native-community/netinfo": "^4.1.5", | ||
"@tradle/react-native-http": "^2.0.1", | ||
"bignumber.js": "^9.0.0", | ||
"hoist-non-react-statics": "^3.3.0", | ||
"node-libs-react-native": "^1.0.3", | ||
"react": "^16.9.0", | ||
"react-native": "0.60.5", | ||
"react-native": "0.61.5", | ||
"react-native-camera": "^3.4.0", | ||
"react-native-elements": "^1.2.6", | ||
"react-native-gesture-handler": "^1.4.1", | ||
... | ... | @@ -61,7 +57,7 @@ |
"react-native-randombytes": "^3.5.3", | ||
"react-native-screens": "^2.0.0-alpha.32", | ||
"react-native-secure-storage": "git+https://github.com/paritytech/react-native-secure-storage.git", | ||
"react-native-svg": "^9.7.1", | ||
"react-native-svg": "^12.0.2", | ||
"react-native-tabs": "^1.0.9", | ||
"react-native-vector-icons": "^6.6.0", | ||
"react-navigation": "^4.2.2", | ||
... | ... | @@ -89,6 +85,7 @@ |
"babel-jest": "^25.1.0", | ||
"babel-plugin-module-resolver": "^4.0.0", | ||
"babel-plugin-rewrite-require": "^1.14.5", | ||
"babel-plugin-tester": "^8.0.1", | ||
"detox": "^15.4.2", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.2.0", | ||
... | ... | @@ -106,7 +103,7 @@ |
"react-test-renderer": "16.9.0", | ||
"reactotron-react-native": "^3.6.5", | ||
"ts-jest": "^25.2.1", | ||
"typescript": "^3.7.5" | ||
"typescript": "^3.8.3" | ||
}, | ||
"resolutions": { | ||
"@react-native-community/eslint-config/babel-eslint": "10.0.3", | ||
... | ... |
res/img/logos/westend.png
0 → 100644
4.77 KB
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
test/unit/specs/mocks.ts
0 → 100644