|
1 | 1 | {
|
2 | 2 | "name": "rnloop",
|
3 |
| - "version": "1.0.0", |
| 3 | + "version": "1.1.0", |
4 | 4 | "private": true,
|
5 | 5 | "engines": {
|
6 | 6 | "node": "12.13.1",
|
|
13 | 13 | "ios": "npx react-native run-ios",
|
14 | 14 | "ios-link": "cd ios && pod install && cd .. && npm run ios",
|
15 | 15 | "android": "npx react-native run-android",
|
16 |
| - "jsbundle": "rm -rf android/app/src/main/assets/index.android.bundle && react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res", |
17 | 16 | "appbundle": "cd android && ./gradlew clean && ./gradlew bundleRelease",
|
18 |
| - "build-apks": "bundletool build-apks --bundle=android/app/build/outputs/bundle/release/app-release.aab --output=build/release.apks", |
19 |
| - "install-apks": "bundletool install-apks --apks=build/release.apks", |
20 |
| - "install-appbundle": "npm run jsbundle && npm run appbundle && npm run build-apks", |
| 17 | + "jsbundle": "rm -rf android/app/src/main/assets/index.android.bundle && react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle", |
| 18 | + "build-apks": "rm -rf build/release.apks && bundletool build-apks --bundle=android/app/build/outputs/bundle/release/app-release.aab --output=build/release.apks", |
| 19 | + "install-apks": "adb uninstall com.onemdev.rnloop && bundletool install-apks --apks=build/release.apks && adb shell am start -n com.onemdev.rnloop/com.onemdev.rnloop.MainActivity", |
| 20 | + "install-appbundle": "npm run appbundle && npm run build-apks && npm run install-apks", |
21 | 21 | "release-android": "cd android && ./gradlew assembleRelease",
|
22 | 22 | "install-android": "adb install android/app/build/outputs/apk/release/app-release.apk",
|
23 | 23 | "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",
|
|
26 | 26 | "eslint:fix": "eslint ./app --fix",
|
27 | 27 | "lint:staged": "lint-staged",
|
28 | 28 | "prettify": "prettier --config .prettierrc --write \"**/*.js\"",
|
29 |
| - "tmp-fix": "babel-node ./temp/fix.js", |
30 |
| - |
| 29 | + |
31 | 30 | },
|
32 | 31 | "lint-staged": {
|
33 | 32 | "*.js": [
|
|
0 commit comments