mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 11:28:00 +00:00
b3e9b70341
* add readme * react-native example app * update readme * add ios-cli dep * revert package.json change * update readme * update readme * don't auto launch metro * add react native scripts * nohoist @react-native-community/** * update readme * undo wrong README change * remove react-native root dep * copyright headers * semi-style * add default gitignore * finish linting * remove test for now * fix typescript errors * fix linting * update scripts * update deps and version * update readme * remove accidental dep * update readme * bump deps * update yarn.lock * actually update yarn.lock * fix yarn.lock conflicts by updating exampleReactNative deps
66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
{
|
|
"name": "exampleReactNative",
|
|
"version": "0.46.0-beta.2",
|
|
"private": true,
|
|
"workspaces": {
|
|
"nohoist": [
|
|
"react-native",
|
|
"react-native/**",
|
|
"react-native-randombytes",
|
|
"react-native-randombytes/**",
|
|
"@react-native-community/**",
|
|
"react-native-svg",
|
|
"react-native-svg/**"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"copy-workspace-packages": "yarn copy-identicon && yarn copy-ui-shared",
|
|
"copy-identicon": "mkdir -p node_modules/@polkadot/reactnative-identicon && cp -r ../reactnative-identicon/build/* ./node_modules/@polkadot/reactnative-identicon",
|
|
"copy-ui-shared": "mkdir -p node_modules/@polkadot/ui-shared && cp -r ../ui-shared/build/* ./node_modules/@polkadot/ui-shared",
|
|
"android": "react-native run-android --no-packager",
|
|
"ios": "react-native run-ios --no-packager",
|
|
"start": "NODE_OPTIONS=--max_old_space_size=8192 react-native start",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@polkadot/ui-keyring": "0.46.0-beta.7",
|
|
"@polkadot/ui-settings": "0.46.0-beta.7",
|
|
"@polkadot/reactnative-identicon": "0.46.0-beta.7",
|
|
"@react-native-community/async-storage": "^1.6.2",
|
|
"get-yarn-workspaces": "^1.0.2",
|
|
"os-browserify": "^0.3.0",
|
|
"process": "^0.11.10",
|
|
"react": "16.9.0",
|
|
"react-native": "^0.61.2",
|
|
"react-native-crypto": "^2.2.0",
|
|
"react-native-randombytes": "^3.5.3",
|
|
"react-native-svg": "^9.11.1",
|
|
"stream-http": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.6.2",
|
|
"@babel/runtime": "^7.6.2",
|
|
"@react-native-community/cli-platform-ios": "^2.9.0",
|
|
"@types/jest": "^24.0.18",
|
|
"@types/react": "16.9.0",
|
|
"@types/react-native": "^0.60.19",
|
|
"@types/react-test-renderer": "16.9.0",
|
|
"babel-jest": "^24.9.0",
|
|
"jest": "^24.9.0",
|
|
"metro-react-native-babel-preset": "^0.56.0",
|
|
"react-test-renderer": "16.9.0",
|
|
"typescript": "^3.6.3"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
]
|
|
}
|
|
}
|