package.json 3.07 KB
Newer Older
Wietse Kuipers's avatar
Wietse Kuipers committed
1 2 3 4 5
{
  "name": "ThaliApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
6
    "start": "react-native start",
7 8
    "start:ios": "react-native run-ios",
    "start:android": "react-native run-android",
9
    "start:android-dev": "react-native run-android --appId com.thaliapp.dev",
10
    "menu:android": "adb shell input keyevent 82",
11 12
    "log:ios": "react-native log-ios",
    "log:android": "react-native log-android",
Wietse Kuipers's avatar
Wietse Kuipers committed
13
    "lint": "eslint *.js app --fix",
14 15 16
    "lint:ci": "eslint *.js app",
    "test": "jest",
    "test:watch": "jest --watch",
17 18
    "coverage": "jest --coverage",
    "locales:collect": "node collect-locales.js"
Wietse Kuipers's avatar
Wietse Kuipers committed
19
  },
Wietse Kuipers's avatar
Wietse Kuipers committed
20
  "jest": {
Wietse Kuipers's avatar
Wietse Kuipers committed
21 22
    "preset": "react-native",
    "collectCoverage": true,
Luuk Scholten's avatar
Luuk Scholten committed
23 24 25
    "collectCoverageFrom": [
      "app/**/*.js"
    ],
26
    "coverageReporters": [
27 28
      "text",
      "text-summary"
29 30
    ],
    "modulePaths": [
Gijs Hendriksen's avatar
Gijs Hendriksen committed
31
      ".yarn/"
32
    ],
33 34 35 36 37 38
    "setupFiles": [
      "<rootDir>/__tests__/setup.js"
    ],
    "testPathIgnorePatterns": [
      "<rootDir>/__tests__/setup.js"
    ],
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
39
    "transform": {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
40
      "^.+\\.js$": "<rootDir>/jest/preprocessor.js"
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
41
    },
42
    "transformIgnorePatterns": [
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
43
      "node_modules/(?!react-native|react-navigation|i18next-react-native-language-detector|react-navigation-drawer/)"
44
    ],
45 46 47
    "moduleNameMapper": {
      "react-i18next": "<rootDir>/__mocks__/react-i18next-mock.js"
    }
Wietse Kuipers's avatar
Wietse Kuipers committed
48
  },
Wietse Kuipers's avatar
Wietse Kuipers committed
49
  "dependencies": {
Thalia Technicie's avatar
Thalia Technicie committed
50 51 52 53 54 55 56
    "@react-native-community/cli": "1.9.5",
    "i18next": "14.1.1",
    "i18next-react-native-language-detector": "1.0.2",
    "metro-config": "0.54.1",
    "metro-core": "0.51.1",
    "moment": "2.24.0",
    "prop-types": "15.7.2",
57
    "react": "16.8.3",
Thalia Technicie's avatar
Thalia Technicie committed
58
    "react-i18next": "9.0.10",
59
    "react-native": "0.59.8",
Thalia Technicie's avatar
Thalia Technicie committed
60 61
    "react-native-dotenv": "0.2.0",
    "react-native-drawer": "2.5.1",
62
    "react-native-firebase": "5.0.0-rc0",
Thalia Technicie's avatar
Thalia Technicie committed
63 64 65 66 67 68 69 70 71 72 73
    "react-native-linear-gradient": "2.5.4",
    "react-native-locale-detector": "1.0.1",
    "react-native-render-html": "4.1.2",
    "react-native-sentry": "0.39.1",
    "react-native-share": "1.1.3",
    "react-native-snackbar": "0.4.7",
    "react-native-vector-icons": "6.4.2",
    "react-navigation": "2.18.3",
    "react-redux": "5.1.1",
    "redux": "4.0.1",
    "redux-saga": "0.16.2"
Wietse Kuipers's avatar
Wietse Kuipers committed
74 75
  },
  "devDependencies": {
Thalia Technicie's avatar
Thalia Technicie committed
76 77 78 79 80 81
    "@babel/plugin-proposal-class-properties": "7.4.4",
    "@babel/plugin-proposal-optional-chaining": "7.2.0",
    "@babel/plugin-transform-flow-strip-types": "7.4.4",
    "@babel/plugin-transform-runtime": "7.4.4",
    "@babel/preset-env": "7.4.5",
    "@babel/preset-react": "7.0.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
82
    "babel-core": "7.0.0-bridge.0",
Thalia Technicie's avatar
Thalia Technicie committed
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
    "babel-eslint": "10.0.1",
    "babel-jest": "24.8.0",
    "eslint": "5.16.0",
    "eslint-config-airbnb": "17.1.0",
    "eslint-plugin-import": "2.17.2",
    "eslint-plugin-jsx-a11y": "6.2.1",
    "eslint-plugin-react": "7.13.0",
    "eslint-plugin-react-native": "3.7.0",
    "i18next-scanner": "2.10.1",
    "jest": "24.8.0",
    "metro-react-native-babel-preset": "0.54.1",
    "metro-react-native-babel-transformer": "0.54.1",
    "react-native-git-upgrade": "0.2.7",
    "react-test-renderer": "16.8.6",
    "redux-mock-store": "1.5.3",
    "redux-saga-test-plan": "3.7.0"
Wietse Kuipers's avatar
Wietse Kuipers committed
99 100
  }
}