redbadger/pride-london-app

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "pride-london-app",
  "version": "2.0.3",
  "license": "MIT",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "run-ios": "node node_modules/react-native/local-cli/cli.js run-ios",
    "run-android": "node node_modules/react-native/local-cli/cli.js run-android --appId org.prideinlondon.festival.dev --variant devDebug",
    "test": "TZ=UTC jest src --maxWorkers=2",
    "test:e2e": "yarn test:e2e:build && yarn test:e2e:run",
    "test:e2e:dev": "detox test -c ios.sim.debug --reuse --record-logs failing --take-screenshots failing",
    "test:e2e:run": "detox test -c ios.sim.debug --record-logs failing --take-screenshots failing",
    "test:e2e:build": "detox build -c ios.sim.debug",
    "test:e2e:release": "detox build -c ios.sim.release && detox test -c ios.sim.release --record-logs failing --take-screenshots failing",
    "precommit": "lint-staged",
    "lint": "eslint src",
    "flow": "flow src",
    "fix-xcode": "react-native-schemes-manager all",
    "postinstall": "yarn fix-xcode; ./scripts/google-maps-ios.sh",
    "postversion": "react-native-version --reset-build"
  },
  "dependencies": {
    "bugsnag-react-native": "^2.9.3",
    "contentful": "^5.0.5",
    "core-js": "^2.5.6",
    "lottie-react-native": "2.3.2",
    "luxon": "^1.2.0",
    "ramda": "^0.25.0",
    "react": "16.6.3",
    "react-native": "0.57.8",
    "react-native-accessible-selectable": "^0.1.0",
    "react-native-calendars": "^1.17.4",
    "react-native-communications": "^2.2.1",
    "react-native-config": "^0.11.5",
    "react-native-easy-markdown": "^1.1.9",
    "react-native-haptic-feedback": "^1.1.0",
    "react-native-linear-gradient": "^2.4.0",
    "react-native-map-link": "^1.0.6",
    "react-native-maps": "^0.21.0",
    "react-native-permissions": "^1.1.1",
    "react-native-safe-area-view": "0.11.0",
    "react-native-splash-screen": "^3.0.6",
    "react-navigation": "^2.0.1",
    "react-redux": "^5.0.7",
    "redux": "^3.7.2",
    "redux-devtools-extension": "^2.13.2",
    "redux-thunk": "^2.2.0",
    "reselect": "^3.0.1",
    "rxjs": "^6.2.1"
  },
  "devDependencies": {
    "@babel/plugin-external-helpers": "^7.2.0",
    "@rgbboy/testcheck": "^1.0.0-rc.3",
    "babel-eslint": "^8.2.5",
    "babel-jest": "23.2.0",
    "babel-plugin-jest-hoist": "^23.2.0",
    "bugsnag-sourcemaps": "^1.0.3",
    "commander": "^2.16.0",
    "contentful-management": "^5.1.4",
    "detox": "^9.1.2",
    "dotenv": "^6.0.0",
    "enzyme": "^3.8.0",
    "enzyme-adapter-react-16": "^1.7.1",
    "enzyme-to-json": "^3.3.5",
    "eslint": "^4.17.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-import-resolver-react-native": "^0.1.0",
    "eslint-plugin-detox": "^1.0.0",
    "eslint-plugin-flowtype": "^2.48.0",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "eslint-plugin-react": "^7.9.1",
    "eslint-plugin-react-native": "^3.2.1",
    "flow-bin": "^0.78.0",
    "flow-typed": "^2.5.1",
    "glow": "^1.2.2",
    "husky": "^0.14.3",
    "jest": "23.2.0",
    "jest-each": "^23.2.0",
    "lint-staged": "^7.2.0",
    "lorem-ipsum": "^1.0.5",
    "markdown-toc": "^1.2.0",
    "metro-react-native-babel-preset": "^0.48.5",
    "prettier": "^1.13.7",
    "react-dom": "^16.6.3",
    "react-native-mock": "^0.3.1",
    "react-native-schemes-manager": "^1.0.1",
    "react-native-version": "^2.6.2",
    "react-test-renderer": "16.6.3",
    "redux-mock-store": "^1.5.3",
    "schedule": "0.4.0"
  },
  "rnpm": {
    "assets": [
      "./assets/fonts/"
    ]
  },
  "jest": {
    "preset": "react-native",
    "setupTestFrameworkScriptFile": "<rootDir>src/setup-tests.js",
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "transform": {
      "^.+\\.(js)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
    },
    "transformIgnorePatterns": [
      "node_modules/(?!(jest-)?react-native|react-navigation)"
    ],
    "moduleNameMapper": {
      "\\.(png|gif|jpeg|jpg)$": "RelativeImageStub"
    },
    "collectCoverage": true
  },
  "lint-staged": {
    "*.{js,json,css,md}": [
      "prettier --write",
      "git add"
    ],
    "./README.md": [
      "markdown-toc -i",
      "git add"
    ]
  },
  "xcodeSchemes": {
    "Debug": [],
    "Release": [
      "AdhocAlpha",
      "AdhocBeta"
    ]
  },
  "detox": {
    "test-runner": "jest",
    "runner-config": "e2e/config.json",
    "configurations": {
      "ios.sim.debug": {
        "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/PrideLondonApp.app",
        "build": "xcodebuild -project ios/PrideLondonApp.xcodeproj -scheme PrideLondonApp -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -quiet UseNewBuildSystem=NO | xcpretty",
        "type": "ios.simulator",
        "name": "iPhone 7"
      },
      "ios.sim.release": {
        "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/PrideLondonApp.app",
        "build": "xcodebuild -project ios/PrideLondonApp.xcodeproj -scheme PrideLondonApp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet UseNewBuildSystem=NO | xcpretty",
        "type": "ios.simulator",
        "name": "iPhone 7"
      }
    }
  }
}