|
1 | 1 | { |
2 | 2 | "name": "rnloop", |
3 | | - "version": "0.0.1", |
| 3 | + "version": "1.0.0", |
4 | 4 | "private": true, |
| 5 | + "engines": { |
| 6 | + "node": "12.13.1", |
| 7 | + "npm": "6.12.1" |
| 8 | + }, |
5 | 9 | "scripts": { |
6 | 10 | "start": "npx react-native start", |
7 | 11 | "setup-ios": "cd node_modules/react-native && scripts/ios-install-third-party.sh && cd third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh", |
8 | 12 | "setup-pods": "cd ios && pod install", |
9 | 13 | "ios": "npx react-native run-ios --simulator=\"iPhone 8\"", |
| 14 | + "ios-link": "cd ios && pod install && cd .. && npm run ios", |
10 | 15 | "android": "npx react-native run-android", |
11 | 16 | "clean-native": "rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && rm -rf .git/index.lock package-lock.json yarn.lock node_modules/ ios/build android/build/ android/app/build && npm i && cd ios && pod cache clean -all && pod install && cd .. && npm start -- --reset-cache", |
12 | 17 | "clean-android": "rm -rf android/app/build", |
13 | | - "extract-intl": "babel-node ./internals/scripts/extract-intl.js", |
14 | | - "npmcheckversion": "node ./internals/scripts/npmcheckversion.js", |
15 | | - "generate": "plop --plopfile internals/generators/index.js", |
16 | 18 | "eslint": "eslint ./app", |
17 | 19 | "eslint:fix": "eslint ./app --fix", |
18 | 20 | "lint:staged": "lint-staged", |
19 | 21 | "prettify": "prettier --config .prettierrc --write \"**/*.js\"", |
20 | 22 | "tmp-fix": "babel-node ./temp/fix.js", |
21 | | - "setup": "npm i react-native-asset eslint -g" |
| 23 | + "setup": "npm i react-native-asset@2.0.0 eslint@6.8.0 prettier@1.19.1 react-native-cli@2.0.1 -g" |
22 | 24 | }, |
23 | 25 | "lint-staged": { |
24 | 26 | "*.js": [ |
|
45 | 47 | "react": "16.12.0", |
46 | 48 | "react-intl": "3.9.1", |
47 | 49 | "react-native": "0.61.5", |
48 | | - "react-native-animatable": "^1.3.3", |
| 50 | + "react-native-animatable": "1.3.3", |
49 | 51 | "react-native-device-info": "5.3.1", |
50 | 52 | "react-native-gesture-handler": "1.5.2", |
51 | 53 | "react-native-global-props": "1.1.5", |
|
80 | 82 | "babel-plugin-transform-react-remove-prop-types": "0.4.24", |
81 | 83 | "babel-polyfill": "6.26.0", |
82 | 84 | "babel-preset-react-native": "4.0.1", |
83 | | - "eslint": "6.7.2", |
| 85 | + "eslint": "6.8.0", |
84 | 86 | "eslint-config-airbnb": "18.0.1", |
85 | 87 | "eslint-config-airbnb-base": "14.0.0", |
86 | 88 | "eslint-config-prettier": "6.7.0", |
|
0 commit comments