Skip to content

Instantly share code, notes, and snippets.

@alainpatrick
Created January 8, 2018 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alainpatrick/5a57a9e8451a22503c58c6011c25ffb9 to your computer and use it in GitHub Desktop.
Save alainpatrick/5a57a9e8451a22503c58c6011c25ffb9 to your computer and use it in GitHub Desktop.
is there a npm module that is corrupting the apk file generated by expo? - apk file generated can't be installed on android
{
"name": "Trail",
"version": "1.1.0",
"private": true,
"scripts": {
"start": "react-native-scripts start",
"test": "jest",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"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"
},
"dependencies": {
"apisauce": "^0.14.2",
"expo": "^24.0.0",
"format-json": "^1.0.3",
"identity-obj-proxy": "^3.0.0",
"lodash": "^4.17.4",
"native-base": "^2.3.5",
"prop-types": "^15.6.0",
"querystringify": "1.0.0",
"ramda": "^0.25.0",
"react": "16.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz",
"react-native-af-video-player": "^0.1.3",
"react-native-animatable": "^1.2.4",
"react-native-config": "^0.10.0",
"react-native-image-gallery": "^2.1.4",
"react-native-maps": "0.16.4",
"react-native-onboarding-swiper": "^0.3.1",
"react-native-root-modal": "^2.2.0",
"react-native-vector-icons": "^4.4.2",
"react-navigation": "^1.0.0-beta.21",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-persist": "^5.4.0",
"redux-saga": "^0.16.0",
"reduxsauce": "0.7.0",
"seamless-immutable": "^7.1.2"
},
"devDependencies": {
"@storybook/addon-storyshots": "^3.2.16",
"@storybook/addons": "^3.2.16",
"@storybook/channels": "^3.2.16",
"@storybook/react-native": "^3.2.16",
"babel-core": "6.26.0",
"babel-eslint": "7.1.1",
"babel-jest": "21.2.0",
"babel-plugin-ignite-ignore-reactotron": "^0.3.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react-native": "^3.0.2",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"husky": "^0.14.3",
"ignite-animatable": "^1.0.0",
"ignite-expo": "^0.1.1",
"ignite-maps": "^0.1.6",
"ignite-redux-persist": "^1.0.1",
"ignite-standard": "^1.0.0",
"jest": "21.2.1",
"jest-expo": "^24.0.0",
"mockery": "^2.1.0",
"react-addons-test-utils": "~15.4.1",
"react-dom": "16.0.0",
"react-native-scripts": "1.7.0",
"react-test-renderer": "16.0.0",
"reactotron-react-native": "^1.13.2",
"reactotron-redux": "^1.13.0",
"reactotron-redux-saga": "^1.13.0",
"snazzy": "^7.0.0",
"standard": "10.0.2"
},
"jest": {
"testMatch": [
"<rootDir>/Tests/**/*.js",
"**/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/Tests/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": [
"<rootDir>/Tests/Setup"
],
"preset": "jest-expo"
},
"main": "index.js",
"config": {},
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"test",
"jest",
"expect",
"fetch",
"navigator",
"__DEV__",
"XMLHttpRequest",
"FormData",
"React$Element"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment