335 lines
15 KiB
JSON
335 lines
15 KiB
JSON
{
|
|
"name": "MAAGApp",
|
|
"version": "0.0.12",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android --variant=devDebug",
|
|
"android:rnd": "export ENVFILE=.env.rnd && react-native run-android --variant=rndDebug --appId com.creedon.Nixplay.rnd",
|
|
"android:qa": "export ENVFILE=.env.qa && react-native run-android --variant=qaDebug --appId com.creedon.Nixplay.qa",
|
|
"android:alpha": "export ENVFILE=.env.alpha && react-native run-android --variant=alphaDebug --appId com.creedon.Nixplay.alpha",
|
|
"android:beta": "export ENVFILE=.env.beta && react-native run-android --variant=betaDebug --appId com.creedon.Nixplay.beta",
|
|
"android:prod": "export ENVFILE=.env.props && react-native run-android --variant=prodDebug --appId com.creedon.Nixplay",
|
|
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'",
|
|
"coverage": "jest --coverage",
|
|
"ios": "react-native run-ios",
|
|
"ios:rnd": "react-native run-ios --scheme \"NixplayRnd\"",
|
|
"ios:qa": "react-native run-ios --scheme \"NixplayQA\"",
|
|
"ios:alpha": "react-native run-ios --scheme \"NixplayAlpha\"",
|
|
"ios:release:testflight": "npm ci && bundle exec fastlane ios alpha_testflight --env alpha_testflight",
|
|
"ios:release:alpha": "npm ci && bundle exec fastlane ios alpha --env alpha",
|
|
"ios:release:beta": "npm ci && bundle exec fastlane ios beta --env beta",
|
|
"ios:release:qa": "npm ci && bundle exec fastlane ios qa --env qa",
|
|
"ios:release:rnd": "npm ci && bundle exec fastlane ios rnd --env rnd",
|
|
"ios:release:prod": "npm ci && bundle exec fastlane ios production",
|
|
"android:release:alpha": "export ENVFILE=.env.alpha && npm ci && bundle exec fastlane android alpha --env alpha",
|
|
"android:release:beta": "export ENVFILE=.env.beta && npm ci && bundle exec fastlane android beta --env beta",
|
|
"android:release:rnd": "export ENVFILE=.env.rnd && npm ci && bundle exec fastlane android rnd --env rnd",
|
|
"android:release:qa": "export ENVFILE=.env.qa && npm ci && bundle exec fastlane android qa --env qa",
|
|
"android:release:production": "export ENVFILE=.env && npm ci && bundle exec fastlane android production",
|
|
"release:rnd": "npm ci && bundle exec fastlane ios rnd --env rnd && export ENVFILE=.env.rnd && bundle exec fastlane android rnd --env rnd",
|
|
"release:qa": "npm ci && bundle exec fastlane ios qa --env qa && export ENVFILE=.env.qa && bundle exec fastlane android qa --env qa",
|
|
"release:alpha": "npm ci && bundle exec fastlane ios alpha_testflight --env alpha_testflight && export ENVFILE=.env.alpha && bundle exec fastlane android alpha --env alpha",
|
|
"ios:release:reset": "rm -rf ~/Library/Developer/Xcode/DerivedData/ && rm -rf ./ios/build && rm -rf node_modules && npm ci",
|
|
"increment-build": "react-native-version -b ",
|
|
"lint": "eslint .",
|
|
"postinstall": "./postinstall.sh && npx jetify",
|
|
"prestart": "./update-revision.sh",
|
|
"prepush": "is-git-status-clean && npm run lint",
|
|
"prerelease": "react-native-version && git add . && version=$( jq -r '.version' package.json)-$(grep -o \"versionCode\\s\\+\\d\\+\" android/app/build.gradle | awk '{ print $2 }') && git commit -m 'Bumped build number' && git push --no-verify",
|
|
"create:release:branch": "git flow release start $( jq -r '.version' package.json)",
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"preversion": "npm test",
|
|
"postversion": "react-native-version",
|
|
"test": "jest --coverage",
|
|
"test:clear": "jest --clearCache",
|
|
"test:watch": "jest --watch --coverage",
|
|
"update-snapshot": "jest -u",
|
|
"clean:android": "./android/gradlew -p ./android clean",
|
|
"bump:build:ios": "cd ios/ && agvtool next-version -all && cd ..",
|
|
"set:build:ios": "cd ios/ && agvtool new-version -all",
|
|
"set:version:ios": "cd ios/ && agvtool new-marketing-version",
|
|
"android:reset": "rm -rf ./android/build && rm -rf ./android/app/build",
|
|
"android:uninstall:rnd": "adb uninstall com.creedon.Nixplay.rnd",
|
|
"android:uninstall:qa": "adb uninstall com.creedon.Nixplay.qa",
|
|
"android:uninstall:dev": "adb uninstall com.creedon.Nixplay.dev",
|
|
"android:uninstall:alpha": "adb uninstall com.creedon.Nixplay.alpha",
|
|
"android:uninstall:beta": "adb uninstall com.creedon.Nixplay.beta",
|
|
"android:uninstall:prod": "adb uninstall com.creedon.Nixplay",
|
|
"android:uninstall:all": "npm run android:uninstall:qa && npm run android:uninstall:dev && npm run android:uninstall:rnd && npm run android:uninstall:alpha && npm run android:uninstall:beta && npm run android:uninstall:prod",
|
|
"clean": "watchman watch-del-all && rm -rf node_modules && rm -rf android/build/ && rm -rf ./android/app/build/ && find . -name \"*.iml\" | xargs -n 1 rm && rm -rf ./android/.gradle/ && rm -rf ./android/.idea/ && rm -rf ./ios/build && rm -rf ~/Library/Developer/Xcode/DerivedData && npm install",
|
|
"pod": "cd ios && pod install && pod update && cd ../"
|
|
},
|
|
"dependencies": {
|
|
"@react-native-community/async-storage": "1.2.4",
|
|
"@react-native-community/blur": "^3.3.1",
|
|
"@react-native-community/cameraroll": "^1.4.1",
|
|
"@react-native-community/geolocation": "^1.4.2",
|
|
"@react-native-community/image-editor": "^2.2.0",
|
|
"@react-native-community/netinfo": "^4.0.0",
|
|
"@react-native-community/push-notification-ios": "^1.0.3",
|
|
"@react-native-community/slider": "^2.0.8",
|
|
"@react-native-community/viewpager": "^1.1.7",
|
|
"@tradle/react-native-http": "^2.0.1",
|
|
"apollo-client": "^2.6.4",
|
|
"apollo-link": "^1.2.12",
|
|
"apollo-link-context": "^1.0.18",
|
|
"apollo-link-http": "^1.5.15",
|
|
"assert": "^1.5.0",
|
|
"browserify-zlib": "^0.1.4",
|
|
"console-browserify": "^1.2.0",
|
|
"constants-browserify": "^1.0.0",
|
|
"core-js": "^3.0.0",
|
|
"dns.js": "^1.0.1",
|
|
"domain-browser": "^1.2.0",
|
|
"events": "^1.1.1",
|
|
"faker": "^4.1.0",
|
|
"graceful-fs": "^4.1.11",
|
|
"graphql": "^15.0.0",
|
|
"graphql-tag": "^2.10.1",
|
|
"https-browserify": "0.0.1",
|
|
"i18n-js": "^3.2.1",
|
|
"immer": "^3.1.3",
|
|
"jsc-android": "^241213.1.0",
|
|
"jwt-decode": "^2.2.0",
|
|
"lodash": "^4.17.15",
|
|
"metro-config": "^0.54.1",
|
|
"nixplay-ui-kit": "git+ssh://git@git.nixplay.ninja:mobile/nixplay-ui-kit.git#1.8.10",
|
|
"object-diff": "0.0.4",
|
|
"path-browserify": "0.0.0",
|
|
"polyfills": "^2.1.1",
|
|
"prop-types": "15.7.2",
|
|
"querystring-es3": "^0.2.1",
|
|
"react": "16.9.0",
|
|
"react-apollo": "^3.0.1",
|
|
"react-native": "0.61.5",
|
|
"react-native-actionsheet": "^2.4.2",
|
|
"react-native-animatable": "^1.3.2",
|
|
"react-native-app-settings": "^2.0.1",
|
|
"react-native-bluetooth-escpos-printer": "0.0.5",
|
|
"react-native-camera": "^3.23.1",
|
|
"react-native-code-push": "^6.2.0",
|
|
"react-native-config": "^0.11.5",
|
|
"react-native-creedon-imagepicker": "git+ssh://git@git.nixplay.ninja:mobile/react-native-creedon-imagepicker.git#1.3.2",
|
|
"react-native-crypto": "^2.2.0",
|
|
"react-native-default-preference": "^1.3.2",
|
|
"react-native-detect-navbar-android": "^0.2.0",
|
|
"react-native-device-detection": "^0.2.0",
|
|
"react-native-device-info": "^1.4.1",
|
|
"react-native-draggable-flatlist": "git+https://github.com/nixplay/react-native-draggable-flatlist.git#a33fa1ea4e747b0a2a7cf9164de5ed77e25f7af5",
|
|
"react-native-email": "^1.0.2",
|
|
"react-native-fabric": "^0.5.2",
|
|
"react-native-fabric-crashlytics": "^0.1.8",
|
|
"react-native-fast-image": "^6.0.1",
|
|
"react-native-file-type": "0.0.8",
|
|
"react-native-firebase": "^5.6.0",
|
|
"react-native-fs": "^2.16.0",
|
|
"react-native-geocoder": "^0.5.0",
|
|
"react-native-gesture-handler": "^1.6.0",
|
|
"react-native-haptic-feedback": "^1.7.1",
|
|
"react-native-image-gallery": "git+https://github.com/kundarmah/react-native-image-gallery.git",
|
|
"react-native-image-pan-zoom": "git+https://github.com/nixplay/react-native-image-zoom.git#2.1.12",
|
|
"react-native-image-progress": "git+https://github.com/nixplay/react-native-image-progress.git#1.0.0",
|
|
"react-native-image-resizer": "^1.0.1",
|
|
"react-native-interactable": "^1.0.0",
|
|
"react-native-iphone-x-helper": "^1.2.0",
|
|
"react-native-keyboard-spacer": "^0.4.1",
|
|
"react-native-keychain": "^3.1.1",
|
|
"react-native-largelist-v3": "^3.0.15",
|
|
"react-native-level-fs": "^3.0.1",
|
|
"react-native-linear-gradient": "^2.5.4",
|
|
"react-native-loading-spinner-overlay": "^1.0.1",
|
|
"react-native-localize": "^1.1.2",
|
|
"react-native-log-level": "^1.1.0",
|
|
"react-native-mime-types": "^2.2.1",
|
|
"react-native-mixpanel": "^1.1.1",
|
|
"react-native-modal": "^11.5.4",
|
|
"react-native-modalbox": "^1.7.1",
|
|
"react-native-nixplay-core": "git+ssh://git@git.nixplay.ninja:mobile/react-native-nixplay-core.git#1.1.5",
|
|
"react-native-offline": "^5.2.0",
|
|
"react-native-os": "^1.2.6",
|
|
"react-native-permissions": "^2.0.0",
|
|
"react-native-popup-dialog": "^0.18.0",
|
|
"react-native-progress": "^4.0.3",
|
|
"react-native-push-notification": "^3.1.2",
|
|
"react-native-qrcode-generator": "^1.2.2",
|
|
"react-native-qrcode-scanner": "^1.4.0",
|
|
"react-native-randombytes": "^3.5.3",
|
|
"react-native-reanimated": "^1.7.0",
|
|
"react-native-remote-svg": "^2.0.3",
|
|
"react-native-safe-area": "^0.5.0",
|
|
"react-native-shimmer-placeholder": "^1.0.35",
|
|
"react-native-simple-image-cropper": "git+https://github.com/nixplay/react-native-simple-image-cropper.git#2.0.3-dev1",
|
|
"react-native-splash-screen": "^3.2.0",
|
|
"react-native-star-rating": "^1.1.0",
|
|
"react-native-svg": "^9.5.1",
|
|
"react-native-tcp": "^3.3.2",
|
|
"react-native-udp": "^2.7.0",
|
|
"react-native-user-defaults": "^0.1.5",
|
|
"react-native-vector-icons": "^6.4.2",
|
|
"react-native-view-overflow": "git+https://www.github.com/QuartermasterInc/react-native-view-overflow.git",
|
|
"react-native-webview": "^8.1.2",
|
|
"react-native-windows": "^1.0.0",
|
|
"react-navigation": "^3.7.1",
|
|
"react-navigation-tabs": "^2.6.2",
|
|
"react-redux": "^7.0.3",
|
|
"readable-stream": "^1.0.33",
|
|
"recyclerlistview": "^1.3.4",
|
|
"redux": "4.0.1",
|
|
"redux-form": "^8.2.0",
|
|
"redux-logger": "*",
|
|
"redux-persist": "6.0.0",
|
|
"redux-persist-filesystem-storage": "^2.1.0",
|
|
"redux-saga": "^1.1.3",
|
|
"reselect": "^4.0.0",
|
|
"rn-fetch-blob": "^0.10.13",
|
|
"rn-viewpager": "^1.2.9",
|
|
"stream-browserify": "^1.0.0",
|
|
"string_decoder": "^0.10.31",
|
|
"timers-browserify": "^1.4.2",
|
|
"tty-browserify": "0.0.0",
|
|
"url": "^0.10.3",
|
|
"util": "^0.10.4",
|
|
"validate.js": "^0.12.0",
|
|
"vm-browserify": "0.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.6.2",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
|
|
"@babel/plugin-transform-spread": "^7.2.2",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/runtime": "^7.6.2",
|
|
"@react-native-community/eslint-config": "^0.0.5",
|
|
"@types/react": "^16.8.24",
|
|
"alias": "0.0.5",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-plugin-import-glob": "^2.0.0",
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
|
"babel-plugin-relay": "^1.7.0",
|
|
"babel-preset-react-native-stage-0": "^1.0.1",
|
|
"detox": "^12.0.0",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"eslint": "^6.5.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-import-resolver-babel-module": "^5.0.1",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
"eslint-plugin-react": "^7.8.2",
|
|
"husky": "^0.14.3",
|
|
"is-git-status-clean": "^1.0.0",
|
|
"jest": "^24.9.0",
|
|
"jest-fetch-mock": "^1.6.2",
|
|
"jest-prop-type-error": "^1.1.0",
|
|
"metro-react-native-babel-preset": "^0.56.0",
|
|
"mocha": "^5.2.0",
|
|
"papaparse": "^4.4.0",
|
|
"react-dom": "^16.4.0",
|
|
"react-native-svg-transformer": "^0.13.0",
|
|
"react-native-version": "^2.6.0",
|
|
"react-test-renderer": "16.9.0",
|
|
"redux-saga-test-plan": "^4.0.0-beta.2",
|
|
"rn-nodeify": "^10.2.0",
|
|
"rosie": "^1.6.0",
|
|
"wml": "0.0.83"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"verbose": true,
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"src"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"<rootDir>/node_modules/(?!(react-native|react-native-i18n|redux-form|react-native-device-info|react-native-fs|lodash-es|react-native-haptic-feedback|@react-native-community))/"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/__tests__/testHelpers/setupJest.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/__tests__/testHelpers/",
|
|
"e2e/"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/__tests__/testHelpers/setupJest.js",
|
|
"jest-prop-type-error"
|
|
]
|
|
},
|
|
"rnpm": {
|
|
"assets": [
|
|
"src/fonts"
|
|
]
|
|
},
|
|
"detox": {
|
|
"configurations": {
|
|
"ios.sim.debug": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Nixplay.app",
|
|
"build": "xcodebuild -workspace ios/Nixplay.xcworkspace -scheme Nixplay -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone X"
|
|
}
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"apollo-client": "2.6.4"
|
|
},
|
|
"react-native": {
|
|
"zlib": "browserify-zlib",
|
|
"console": "console-browserify",
|
|
"constants": "constants-browserify",
|
|
"crypto": "react-native-crypto",
|
|
"dns": "dns.js",
|
|
"net": "react-native-tcp",
|
|
"domain": "domain-browser",
|
|
"http": "@tradle/react-native-http",
|
|
"https": "https-browserify",
|
|
"os": "react-native-os",
|
|
"path": "path-browserify",
|
|
"querystring": "querystring-es3",
|
|
"fs": "react-native-level-fs",
|
|
"_stream_transform": "readable-stream/transform",
|
|
"_stream_readable": "readable-stream/readable",
|
|
"_stream_writable": "readable-stream/writable",
|
|
"_stream_duplex": "readable-stream/duplex",
|
|
"_stream_passthrough": "readable-stream/passthrough",
|
|
"dgram": "react-native-udp",
|
|
"stream": "stream-browserify",
|
|
"timers": "timers-browserify",
|
|
"tty": "tty-browserify",
|
|
"vm": "vm-browserify",
|
|
"tls": false
|
|
},
|
|
"browser": {
|
|
"zlib": "browserify-zlib",
|
|
"console": "console-browserify",
|
|
"constants": "constants-browserify",
|
|
"crypto": "react-native-crypto",
|
|
"dns": "dns.js",
|
|
"net": "react-native-tcp",
|
|
"domain": "domain-browser",
|
|
"http": "@tradle/react-native-http",
|
|
"https": "https-browserify",
|
|
"os": "react-native-os",
|
|
"path": "path-browserify",
|
|
"querystring": "querystring-es3",
|
|
"fs": "react-native-level-fs",
|
|
"_stream_transform": "readable-stream/transform",
|
|
"_stream_readable": "readable-stream/readable",
|
|
"_stream_writable": "readable-stream/writable",
|
|
"_stream_duplex": "readable-stream/duplex",
|
|
"_stream_passthrough": "readable-stream/passthrough",
|
|
"dgram": "react-native-udp",
|
|
"stream": "stream-browserify",
|
|
"timers": "timers-browserify",
|
|
"tty": "tty-browserify",
|
|
"vm": "vm-browserify",
|
|
"tls": false
|
|
}
|
|
}
|