Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "",
- "version": "0.0.1",
- "private": true,
- "scripts": {
- "start": "node node_modules/react-native/local-cli/cli.js start",
- "test": "jest",
- "clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean --force",
- "clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
- "newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean --force && npm i",
- "test:watch": "jest --watch",
- "updateSnapshot": "jest --updateSnapshot",
- "coverage": "jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
- "android:build": "cd android && ./gradlew assembleRelease",
- "android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
- "android:hockeyapp": "cd android && ./gradlew assembleRelease && puck -submit=auto app/build/outputs/apk/app-release.apk",
- "android:devices": "$ANDROID_HOME/platform-tools/adb devices",
- "android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
- "android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82",
- "storybook": "storybook start -p 7007",
- "lint": "standard --verbose | snazzy",
- "lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
- "fixcode": "standard --fix",
- "git-hook": "npm run lint -s && npm run test -s",
- "and": "react-native run-android",
- "andd": "cd ~/Library/Android/sdk/tools && ./emulator -avd Pixel_API_26 && npm run and:release",
- "and:release": "react-native run-android --variant=release",
- "publish": "cd android && ./gradlew assembleRelease",
- "remove": "adb uninstall 'com.netekstre'",
- "cand": "cd android && ./gradlew clean && cd .. && npm run and",
- "ios": "react-native run-ios --simulator='iPhone 6s'"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement