-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 5.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "MyApp",
"version": "0.0.1",
"private": true,
"scripts": {
"prepare": "run-p assets:* debugger:install",
"start": "react-native start",
"test": "jest",
"lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint:staged": "pretty-quick --staged && lint-staged",
"clean:android": "cd android && ./gradlew cleanBuildCache && ./gradlew clean && cd ..",
"clean:ios": "rm -rf ios/build",
"clean": "rm -rf ./node_modules && yarn && cd ios && rm -rf Pods/ && rm Podfile.lock && pod install --repo-update && cd .. && cd android && ./gradlew clean && cd ..",
"assets": "npx react-native-asset",
"assets:icons": "rn-toolbox icons",
"assets:splashscreen": "rn-toolbox splash",
"debugger:install": "yarn rndebugger-open",
"env:dev": "node scripts/set-environment.js development",
"env:stage": "node scripts/set-environment.js staging",
"env:prod": "node scripts/set-environment.js production",
"setup:ios": "cd ios && pod install --repo-update && cd ..",
"_android": "cd android && ./gradlew clean && cd .. && react-native run-android",
"android:dev": "run-s env:dev _android",
"android:stage": "run-s env:stage _android",
"android:prod": "run-s env:prod _android",
"_ios": "react-native run-ios",
"ios:dev": "run-s env:dev _ios",
"ios:stage": "run-s env:stage _ios",
"ios:prod": "run-s env:prod _ios",
"android:bundle:create": "rm -rf android/app/build && react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"android:assemble:debug": "cd android && ./gradlew assembleDebug",
"ios:bundle:create": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios",
"ios:assemble:debug": "xcodebuild -quiet -workspace ios/ManitobaRN.xcworkspace -scheme ManitobaRN -configuration Release -sdk iphonesimulator -destination platform='iOS Simulator',OS=16.1, name='iPhone 14 Pro Max' CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO",
"build:dev:android": "run-s env:dev android:bundle:create android:assemble:debug",
"build:dev:ios": "run-s env:dev setup:ios ios:assemble:debug",
"pre-commit": "yarn lint-staged && yarn dependencies:checkCircular && yarn dependencies:graph",
"prettier-check:staged": "prettier --check \"./src/**/*.{js,jsx,ts,tsx}\"",
"prettier-format:staged": "prettier --write \"./src/**/*.{js,jsx,ts,tsx}\"",
"dependencies:checkCircular": "madge src/ --circular",
"dependencies:graph": "madge src/ --circular --image deps-graph.svg",
"postinstall": "husky install"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-navigation/native": "^6.1.2",
"@react-navigation/stack": "^6.3.11",
"@tanstack/react-query": "^4.23.0",
"i18next": "^22.4.9",
"native-base": "^3.4.25",
"react": "18.2.0",
"react-i18next": "^12.1.4",
"react-native": "0.71.4",
"react-native-gesture-handler": "^2.9.0",
"react-native-indicators": "^0.17.0",
"react-native-localize": "^2.2.4",
"react-native-reanimated": "^2.14.4",
"react-native-safe-area-context": "^4.5.0",
"react-native-screens": "^3.19.0",
"react-native-splash-screen": "^3.3.0",
"react-native-svg": "^13.7.0",
"react-native-version-number": "^0.3.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@forward-software/react-native-toolbox": "^3.0.0",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native-community/eslint-plugin": "^1.3.0",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@tsconfig/react-native": "^2.0.2",
"@types/jest": "^29.2.1",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.18",
"@types/react": "^18.0.24",
"@types/react-native": "^0.71.1",
"@types/react-native-indicators": "^0.16.2",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"babel-jest": "^29.2.1",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "8.22.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^29.2.1",
"lint-staged": "^13.1.0",
"madge": "^5.0.2",
"metro-react-native-babel-preset": "0.73.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"react-native-debugger-open": "^0.3.25",
"react-native-flipper": "^0.177.0",
"react-native-uuid": "^2.0.1",
"react-test-renderer": "18.2.0",
"shx": "^0.3.4",
"ts-jest": "^29.0.5",
"typescript": "4.8.4"
},
"jest": {
"preset": "react-native"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"npm run prettier-format:staged",
"npm run prettier-check:staged"
]
},
"madge": {
"tsConfig": "./tsconfig.json",
"fileExtensions": "ts",
"excludeRegExp": [
".*\\.test\\.ts$",
".*\\.test\\.tsx$"
],
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}