package.json 2.66 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
43
44
    "transformIgnorePatterns": [
      "node_modules/(?!react-native|react-navigation)/"
    ],
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
53
54
55
56
    "moment": "^2.22.2",
    "prop-types": "^15.6.2",
    "react": "16.4.1",
    "react-i18next": "^7.9.0",
    "react-native": "0.56.0",
57
    "react-native-dotenv": "^0.2.0",
Gijs Hendriksen's avatar
Gijs Hendriksen committed
58
    "react-native-drawer": "^2.3.0",
59
    "react-native-firebase": "5.0.0-rc0",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
60
    "react-native-linear-gradient": "^2.4.0",
61
    "react-native-locale-detector": "^1.0.1",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
62
    "react-native-render-html": "^3.10.0",
63
    "react-native-sentry": "^0.39.0",
Gijs Hendriksen's avatar
Gijs Hendriksen committed
64
    "react-native-share": "^1.1.3",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
65
66
    "react-native-snackbar": "^0.4.7",
    "react-native-vector-icons": "^4.6.0",
67
    "react-navigation": "^2.9.3",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
68
69
70
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "redux-saga": "^0.16.0"
Wietse Kuipers's avatar
Wietse Kuipers committed
71
72
  },
  "devDependencies": {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
73
    "@babel/plugin-transform-runtime": "^7.0.0-beta.56",
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
74
75
76
77
78
79
80
81
82
83
84
85
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^9.0.0-beta.3",
    "babel-jest": "^23.4.2",
    "babel-preset-react-native": "5.0.2",
    "eslint": "^5.2.0",
    "eslint-config-airbnb": "^17.0.0",
    "eslint-plugin-import": "^2.13.0",
    "eslint-plugin-jsx-a11y": "^6.1.1",
    "eslint-plugin-react": "^7.10.0",
    "eslint-plugin-react-native": "^3.2.1",
    "i18next-scanner": "^2.6.3",
    "jest": "^23.4.2",
Wietse Kuipers's avatar
Wietse Kuipers committed
86
    "react-native-git-upgrade": "^0.2.7",
87
88
    "react-test-renderer": "^16.3.0-alpha.1",
    "redux-mock-store": "^1.5.1",
89
    "redux-saga-test-plan": "^3.2.0"
Wietse Kuipers's avatar
Wietse Kuipers committed
90
91
  }
}