{
  "version": "0.0.1",
  "scripts": {
    "clean": "rimraf $TMPDIR/react-* && watchman watch-del-all && npm cache clean --force",
    "clean:android": "cd android/ && ./gradlew clean && cd .. && npx react-native run-android",
    "newclear": "rimraf $TMPDIR/react-* && watchman watch-del-all && rimraf ios/build && rimraf 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",
    "lint": "eslint app test index.js --ext .js",
    "prettier": "prettier --write \"app/**/*.js\" \"test/**/*.js\" index.js",
    <%_ if (!props.skipCommitHook) { _%>
    "precommit": "lint-staged",
    <%_ } _%>
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@react-native-community/async-storage": "REPLACE_WITH_VERSION",
    "apisauce": "REPLACE_WITH_VERSION",
    "format-json": "REPLACE_WITH_VERSION",
    "identity-obj-proxy": "REPLACE_WITH_VERSION",
    "lodash": "REPLACE_WITH_VERSION",
    "prop-types": "REPLACE_WITH_VERSION",
    "querystringify": "REPLACE_WITH_VERSION",
    "ramda": "REPLACE_WITH_VERSION",
    "react-native-vector-icons": "REPLACE_WITH_VERSION",
    "react-native-keyboard-aware-scroll-view": "REPLACE_WITH_VERSION",
    "react-redux": "REPLACE_WITH_VERSION",
    "redux": "REPLACE_WITH_VERSION",
    "redux-persist": "REPLACE_WITH_VERSION",
    "redux-saga": "REPLACE_WITH_VERSION",
    "reduxsauce": "REPLACE_WITH_VERSION",
    "react-native-navigation": "REPLACE_WITH_VERSION",
    "seamless-immutable": "REPLACE_WITH_VERSION",
    <%_ if (props.authType === 'session' || props.authType === 'uaa' || props.authType === 'oauth2') { _%>
    "@react-native-community/cookies": "REPLACE_WITH_VERSION",
    <%_ } _%>
    <%_ if (props.websockets) { _%>
    "stompjs": "REPLACE_WITH_VERSION",
    "sockjs-client": "REPLACE_WITH_VERSION",
    "net": "REPLACE_WITH_VERSION",
    <%_ } _%>
    "tcomb-form-native": "REPLACE_WITH_VERSION"
  },
  "devDependencies": {
    "@storybook/addons": "REPLACE_WITH_VERSION",
    "@storybook/react-native": "REPLACE_WITH_VERSION",
    "@storybook/theming": "REPLACE_WITH_VERSION",
    "babel-preset-env": "REPLACE_WITH_VERSION",
    "buffer": "REPLACE_WITH_VERSION",
    "enzyme": "REPLACE_WITH_VERSION",
    "enzyme-adapter-react-16": "REPLACE_WITH_VERSION",
    "eslint-config-prettier": "REPLACE_WITH_VERSION",
    "eslint-plugin-prettier": "REPLACE_WITH_VERSION",
    "ignite-jhipster": "<%= props.packageVersion %>",
    <%_ if (!props.skipCommitHook) { _%>
    "lint-staged": "REPLACE_WITH_VERSION",
    <%_ } _%>
    <%_ if (props.authType === 'oauth2') { _%>
    "react-native-app-auth": "REPLACE_WITH_VERSION",
    <%_ } _%>
    <%_ if (props.detox) { _%>
    "detox": "REPLACE_WITH_VERSION",
    "mocha": "REPLACE_WITH_VERSION",
    <%_ } _%>
    "mockery": "REPLACE_WITH_VERSION",
    "react-dom": "REPLACE_WITH_VERSION",
    "prettier": "REPLACE_WITH_VERSION",
    "reactotron-react-native": "REPLACE_WITH_VERSION",
    "reactotron-redux": "REPLACE_WITH_VERSION",
    "reactotron-redux-saga": "REPLACE_WITH_VERSION",
    "patch-package": "REPLACE_WITH_VERSION",
    "rimraf": "REPLACE_WITH_VERSION"
  },
  <%_ if (!props.skipCommitHook) { _%>
  "lint-staged": {
    "{,app/**/,test/**/}*.{js}": [
      "prettier --write",
      "eslint --fix --ext .js"
    ]
  },
  <%_ } _%>
  "jest": {
    "testMatch": [
      "**/test/**/*.js",
      "**/?(*.)(spec|test).js?(x)"
    ],
    "testPathIgnorePatterns":[
      "/node_modules/",
      "/e2e/",
      "test/setup.js"
    ],
    "moduleNameMapper": {
      "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy"
    },
    "setupFiles": [
      "./test/setup"
    ],
    "transform": {
      "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
    },
    "transformIgnorePatterns": [
      "node_modules/(?!(@react-native-community|tcomb-form-native|react-native))"
    ],
    "coveragePathIgnorePatterns": [
      "app/shared/services/api.js",
      "app/shared/themes/",
      "/storybook/",
      "/*\\.story\\.js"
    ],
    "preset": "react-native"
  },
  "config": { }
}
