package.json 3.11 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": {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
50
    "i18next": "^11.4.0",
51
    "i18next-react-native-language-detector": "^1.0.2",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
52
    "metro-config": "^0.53.1",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
53
    "metro-react-native-babel-preset": "^0.52.0",
54
    "metro-react-native-babel-transformer": "^0.52.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
55 56 57
    "moment": "^2.24.0",
    "prop-types": "^15.7.2",
    "react": "^16.8.2",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
58
    "react-i18next": "^7.9.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
59 60
    "react-native": "0.58.5",
    "react-native-cli": "^2.0.1",
61
    "react-native-dotenv": "^0.2.0",
Gijs Hendriksen's avatar
Gijs Hendriksen committed
62
    "react-native-drawer": "^2.3.0",
63
    "react-native-firebase": "5.0.0-rc0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
64
    "react-native-linear-gradient": "^2.4.0",
65
    "react-native-locale-detector": "^1.0.1",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
66
    "react-native-render-html": "^4.1.1",
67
    "react-native-sentry": "^0.39.0",
Gijs Hendriksen's avatar
Gijs Hendriksen committed
68
    "react-native-share": "^1.1.3",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
69
    "react-native-snackbar": "^0.4.7",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
70
    "react-native-vector-icons": "^6.3.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
71
    "react-navigation": "^2.18.3",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
72 73 74
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "redux-saga": "^0.16.0"
Wietse Kuipers's avatar
Wietse Kuipers committed
75 76
  },
  "devDependencies": {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
77 78 79 80 81 82
    "@babel/plugin-proposal-class-properties": "^7.3.3",
    "@babel/plugin-proposal-optional-chaining": "^7.2.0",
    "@babel/plugin-transform-flow-strip-types": "^7.2.3",
    "@babel/plugin-transform-runtime": "^7.2.0",
    "@babel/preset-env": "^7.3.1",
    "@babel/preset-react": "^7.0.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
83
    "babel-core": "7.0.0-bridge.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
84 85 86
    "babel-eslint": "^10.0.1",
    "babel-jest": "^24.1.0",
    "babel-preset-react-native": "^4.0.1",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
87
    "eslint": "^5.2.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
88 89 90 91 92
    "eslint-config-airbnb": "^17.1.0",
    "eslint-plugin-import": "^2.16.0",
    "eslint-plugin-jsx-a11y": "^6.2.1",
    "eslint-plugin-react": "^7.12.4",
    "eslint-plugin-react-native": "^3.6.0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
93
    "i18next-scanner": "^2.10.1",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
94
    "jest": "^23.4.2",
Wietse Kuipers's avatar
Wietse Kuipers committed
95
    "react-native-git-upgrade": "^0.2.7",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
96
    "react-test-renderer": "^16.8.2",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
97
    "redux-mock-store": "^1.5.3",
98
    "redux-saga-test-plan": "^3.2.0"
Wietse Kuipers's avatar
Wietse Kuipers committed
99 100
  }
}