forked from polkawallet-io/polkawallet-RN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·132 lines (132 loc) · 4.25 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
{
"name": "Polkawallet",
"version": "0.1.7",
"private": true,
"scripts": {
"start": "node --max_old_space_size=4096 node_modules/react-native/local-cli/cli.js start",
"postinstall": "sh postinstall.sh",
"test": "jest",
"bundle-android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --sourcemap-output android/app/src/main/assets/index.android.map --assets-dest android/app/src/main/res/",
"bundle-ios": "node --max_old_space_size=4096 node_modules/react-native/local-cli/cli.js bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle",
"android": "react-native run-android",
"ios": "react-native run-ios",
"adb": "adb connect 127.0.0.1:21503",
"lint": "eslint --ext .js ./src --fix",
"precommit": "pretty-quick --staged",
"prettier": "prettier --write src/**/*.js"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"react-native-svg": "^8.0.11"
},
"dependencies": {
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/runtime": "^7.4.5",
"@polkadot/api": "^0.79.0-beta.31",
"@plugnet/wasm-crypto-js": "^0.11.102",
"@tradle/react-native-http": "^2.0.1",
"buffer": "^4.9.1",
"events": "^3.0.0",
"jcore-react-native": "^1.3.2",
"jpush-react-native": "^2.5.3",
"jsc-android": "236355.x.x",
"mobx": "^5.10.1",
"mobx-react": "^5.4.4",
"native-echarts": "^0.5.0",
"node-libs-react-native": "^1.0.3",
"process": "^0.11.10",
"querystring": "^0.2.0",
"react": "^16.8.6",
"react-native": "0.59.9",
"react-native-camera": "git+https://github.com/lwansbrough/react-native-camera.git",
"react-native-crypto": "^2.1.2",
"react-native-drawer": "^2.5.1",
"react-native-gesture-password": "^0.3.6",
"react-native-i18n": "^2.0.15",
"react-native-qr-scanner": "^1.3.2",
"react-native-qrcode": "^0.2.7",
"react-native-randombytes": "^3.5.3",
"react-native-secure-storage": "^0.1.2",
"react-native-sensitive-info": "^5.4.1",
"react-native-update": "^5.1.8",
"react-native-yusha-customkeyboard": "^0.1.3",
"react-navigation": "^2.18.3",
"readable-stream": "^3.4.0",
"socket.io-client": "^2.2.0",
"string_decoder": "^0.10.31",
"styled-components": "^4.3.2",
"timers-browserify": "^1.4.2",
"typedarray": "^0.0.6",
"victory-native": "^31.0.0",
"vm-browserify": "0.0.4"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^23.6.0",
"babel-plugin-rewrite-require": "^1.14.5",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-preset-react-native-stage-0": "^1.0.1",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^5.1.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.2",
"husky": "^2.4.1",
"jest": "^23.6.0",
"lint-staged": "^8.2.1",
"metro-react-native-babel-preset": "0.51.1",
"polkadot-identicon-react-native": "0.0.5",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"react-test-renderer": "16.6.3",
"regenerator-runtime": "^0.13.2"
},
"jest": {
"preset": "react-native",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/index.tsx",
"!src/setupTests.ts",
"!src/components/**/index.{ts,tsx}",
"!src/**/*.stories.{ts,tsx}",
"!src/**/*.style.ts",
"!src/styles/**/*"
],
"coverageDirectory": "./coverage/",
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}