Fakultas Ilmu Komputer UI

package.json 1.86 KB
Newer Older
wulanmantiri's avatar
wulanmantiri committed
1
2
3
4
5
6
7
8
9
{
  "name": "dietela_mobile",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
10
11
    "lint": "eslint . --ext .ts,.tsx --fix",
    "prettify": "prettier --write src"
wulanmantiri's avatar
wulanmantiri committed
12
13
  },
  "dependencies": {
14
15
16
    "@react-native-community/masked-view": "^0.1.10",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.14.3",
wulanmantiri's avatar
wulanmantiri committed
17
    "react": "16.13.1",
18
19
20
21
22
    "react-native": "0.63.4",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-reanimated": "^2.0.0",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.18.1"
wulanmantiri's avatar
wulanmantiri committed
23
24
25
26
27
28
29
30
31
  },
  "devDependencies": {
    "@babel/core": "^7.8.4",
    "@babel/runtime": "^7.8.4",
    "@react-native-community/eslint-config": "^1.1.0",
    "@types/jest": "^25.2.3",
    "@types/react-native": "^0.63.2",
    "@types/react-test-renderer": "^16.9.2",
    "babel-jest": "^25.1.0",
32
    "babel-plugin-module-resolver": "^4.0.0",
wulanmantiri's avatar
wulanmantiri committed
33
    "eslint": "^6.5.1",
34
35
    "husky": "^5.1.3",
    "identity-obj-proxy": "^3.0.0",
wulanmantiri's avatar
wulanmantiri committed
36
    "jest": "^25.1.0",
37
    "lint-staged": "^10.5.4",
wulanmantiri's avatar
wulanmantiri committed
38
    "metro-react-native-babel-preset": "^0.59.0",
39
    "prettier": "^2.2.1",
wulanmantiri's avatar
wulanmantiri committed
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    "react-test-renderer": "16.13.1",
    "typescript": "^3.8.3"
  },
  "resolutions": {
    "@types/react": "^16"
  },
  "jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
    ],
    "moduleNameMapper": {
      ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
    },
    "setupFiles": [
      "./node_modules/react-native-gesture-handler/jestSetup.js"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "yarn run lint",
      "yarn run prettify"
wulanmantiri's avatar
wulanmantiri committed
72
73
74
    ]
  }
}