Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. {
  2. "name": "",
  3. "version": "0.0.1",
  4. "private": true,
  5. "scripts": {
  6. "start": "node node_modules/react-native/local-cli/cli.js start",
  7. "test": "jest",
  8. "clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean --force",
  9. "clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
  10. "newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean --force && npm i",
  11. "test:watch": "jest --watch",
  12. "updateSnapshot": "jest --updateSnapshot",
  13. "coverage": "jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
  14. "android:build": "cd android && ./gradlew assembleRelease",
  15. "android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
  16. "android:hockeyapp": "cd android && ./gradlew assembleRelease && puck -submit=auto app/build/outputs/apk/app-release.apk",
  17. "android:devices": "$ANDROID_HOME/platform-tools/adb devices",
  18. "android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
  19. "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",
  20. "storybook": "storybook start -p 7007",
  21. "lint": "standard --verbose | snazzy",
  22. "lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
  23. "fixcode": "standard --fix",
  24. "git-hook": "npm run lint -s && npm run test -s",
  25. "and": "react-native run-android",
  26. "andd": "cd ~/Library/Android/sdk/tools && ./emulator -avd Pixel_API_26 && npm run and:release",
  27. "and:release": "react-native run-android --variant=release",
  28. "publish": "cd android && ./gradlew assembleRelease",
  29. "remove": "adb uninstall 'com.netekstre'",
  30. "cand": "cd android && ./gradlew clean && cd .. && npm run and",
  31. "ios": "react-native run-ios --simulator='iPhone 6s'"
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement