|
13 | 13 | },
|
14 | 14 | "engines": {
|
15 | 15 | "node": ">=10.15.1",
|
16 |
| - "yarn": ">=1.13.0" |
| 16 | + "yarn": "1.x" |
17 | 17 | },
|
18 | 18 | "scripts": {
|
19 | 19 | "cleanup": "watchman watch-del-all && rm -rf node_modules && yarn cache clean && yarn install && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-* && rm -rf ~/.rncache",
|
|
31 | 31 | },
|
32 | 32 | "lint-staged": {
|
33 | 33 | "*.js": [
|
34 |
| - "yarn lint --fix", |
35 |
| - "git add" |
| 34 | + "yarn lint --fix" |
36 | 35 | ],
|
37 | 36 | "*.{js,json,md}": [
|
38 |
| - "yarn format", |
39 |
| - "git add" |
| 37 | + "prettier --write" |
40 | 38 | ]
|
41 | 39 | },
|
42 | 40 | "devDependencies": {
|
43 | 41 | "babel-eslint": "9.x",
|
44 | 42 | "babel-jest": "^22.1.0",
|
45 | 43 | "babel-preset-react-native": "^4.0.1",
|
46 |
| - "bip39": "^2.5.0", |
| 44 | + "bip39": "^3.0.2", |
47 | 45 | "eslint": "5.x",
|
48 | 46 | "eslint-config-react-app": "^3.0.8",
|
49 | 47 | "eslint-plugin-flowtype": "2.x",
|
50 | 48 | "eslint-plugin-import": "2.x",
|
51 | 49 | "eslint-plugin-jsx-a11y": "6.x",
|
52 | 50 | "eslint-plugin-react": "7.x",
|
53 | 51 | "eslint-plugin-react-hooks": "1.5.0",
|
54 |
| - "husky": "^1.3.1", |
| 52 | + "husky": "^4.3.0", |
55 | 53 | "jest": "^22.1.0",
|
56 |
| - "lint-staged": "^8.1.5", |
57 |
| - "prettier": "^1.16.4", |
| 54 | + "lint-staged": "^10.3.0", |
| 55 | + "prettier": "^2.1.1", |
58 | 56 | "redux-logger": "^3.0.6"
|
59 | 57 | },
|
60 | 58 | "dependencies": {
|
61 |
| - "bignumber.js": "^8.1.1", |
62 |
| - "bip21": "^2.0.2", |
| 59 | + "bignumber.js": "^9.0.0", |
| 60 | + "bip21": "^2.0.3", |
63 | 61 | "bitcore-wallet-client": "^6.7.5",
|
64 | 62 | "bs58check": "^2.1.2",
|
65 | 63 | "cryptocompare": "^1.0.0",
|
66 | 64 | "ethers": "^4.0.27",
|
67 | 65 | "lodash.flattendeep": "^4.4.0",
|
68 |
| - "node-libs-browser": "^2.2.0", |
| 66 | + "node-libs-browser": "^2.2.1", |
69 | 67 | "prop-types": "^15.7.2",
|
70 |
| - "rc-form": "^2.4.3", |
| 68 | + "rc-form": "^2.4.11", |
71 | 69 | "react": "^16.2.0",
|
72 | 70 | "react-native": "0.53.3",
|
73 | 71 | "react-native-camera": "^1.12.0",
|
74 | 72 | "react-native-dropdownalert": "^3.9.2",
|
75 | 73 | "react-native-qrcode-scanner": "^1.1.2",
|
76 | 74 | "react-native-qrcode-svg": "^5.1.2",
|
77 | 75 | "react-native-radio-buttons": "^1.0.0",
|
78 |
| - "react-native-randombytes": "^3.5.2", |
| 76 | + "react-native-randombytes": "^3.5.3", |
79 | 77 | "react-native-svg": "~6.5.2",
|
80 | 78 | "react-navigation": "~2.18.3",
|
81 | 79 | "react-redux": "^5.1.1",
|
82 |
| - "redux": "^4.0.1", |
83 |
| - "redux-persist": "^5.10.0", |
84 |
| - "redux-saga": "^1.0.2", |
| 80 | + "redux": "^4.0.5", |
| 81 | + "redux-persist": "^6.0.0", |
| 82 | + "redux-saga": "^1.1.3", |
85 | 83 | "reselect": "^4.0.0"
|
86 | 84 | },
|
87 | 85 | "jest": {
|
88 | 86 | "preset": "react-native"
|
| 87 | + }, |
| 88 | + "prettier": { |
| 89 | + "printWidth": 100, |
| 90 | + "singleQuote": true |
89 | 91 | }
|
90 | 92 | }
|
0 commit comments