-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
108 lines (108 loc) · 4.15 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
{
"name": "@swan-io/partner-mobile",
"description": "Swan mobile app",
"license": "MIT",
"version": "1.2.2",
"packageManager": "[email protected]",
"engines": {
"node": ">=20.9.0",
"pnpm": "^9.13.0"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/swan-io/mobile"
},
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"postinstall": "pnpm generate-env",
"android:bind": "adb reverse tcp:8081 tcp:8081",
"android:build-debug": "pnpm android:gradle bundleDebug",
"android:build-release": "pnpm android:gradle bundleRelease",
"android:clean": "pnpm android:gradle clean",
"android:gradle": "cd android && ./gradlew",
"android:install-debug": "pnpm android:gradle && pnpm android:gradle installDebug",
"android:install-release": "pnpm android:gradle installRelease",
"android:live-pay": "adb shell rm /sdcard/Download/android_pay_env_override_sandbox && adb reboot",
"android:sandbox-pay": "adb shell touch /sdcard/Download/android_pay_env_override_sandbox && adb reboot",
"ios:clean": "rm -rf ./ios/Pods",
"graphql-update-schema": "tsx -r dotenv/config scripts/downloadSchema.ts",
"graphql-codegen": "graphql-codegen --config scripts/codegen.ts",
"dump-licenses": "npx npm-license-crawler --onlyDirectDependencies --csv ./licenses.csv",
"generate-env": "tsx ./scripts/generateEnvFile.ts",
"bump-version": "tsx ./scripts/bumpVersionCode.ts",
"prepare": "git config --local core.hooksPath .hooks",
"nuke": "rm -rf node_modules && pnpm android:clean && pnpm ios:clean",
"start": "pnpm generate-env && react-native start",
"cold-start": "pnpm generate-env && react-native start --reset-cache",
"format": "prettier '**/*' -u -w",
"format-locales": "tsx ./scripts/sortTranslations.ts",
"lint": "pnpm generate-env && eslint ./src --ext ts,tsx",
"typecheck": "pnpm generate-env && tsc --noEmit"
},
"lint-staged": {
"src/locales/*.json": "pnpm format-locales",
"*": "prettier -u -w"
},
"dependencies": {
"@0no-co/graphql.web": "1.0.11",
"@formatjs/intl": "2.10.14",
"@react-native-async-storage/async-storage": "2.0.0",
"@react-navigation/native": "6.1.18",
"@react-navigation/native-stack": "6.11.0",
"@swan-io/react-native-browser": "0.4.0",
"@urql/exchange-graphcache": "7.2.1",
"core-js": "3.39.0",
"react": "18.3.1",
"react-atomic-state": "2.0.0",
"react-error-boundary": "4.1.2",
"react-native": "0.76.1",
"react-native-bars": "2.4.3",
"react-native-bootsplash": "6.2.6",
"react-native-localize": "3.3.0",
"react-native-safe-area-context": "4.14.0",
"react-native-screens": "3.35.0",
"react-native-svg": "15.8.0",
"ts-pattern": "5.5.0",
"url-parse": "1.5.10",
"urql": "4.2.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/typed-document-node": "5.0.11",
"@graphql-codegen/typescript": "4.1.1",
"@graphql-codegen/typescript-operations": "4.3.1",
"@graphql-codegen/typescript-urql-graphcache": "3.1.0",
"@localazy/cli": "1.7.14",
"@react-native-community/cli": "15.0.0",
"@react-native-community/cli-platform-android": "15.0.0",
"@react-native-community/cli-platform-ios": "15.0.0",
"@react-native/babel-preset": "0.76.1",
"@react-native/metro-config": "0.76.1",
"@types/node": "20.17.6",
"@types/react": "18.3.12",
"@types/url-parse": "1.4.11",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@urql/introspection": "1.1.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-native": "4.1.0",
"graphql": "16.9.0",
"lint-staged": "15.2.10",
"pathe": "1.1.2",
"picocolors": "1.1.1",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.1.0",
"react-native-dotenv": "3.4.11",
"tsx": "4.19.2",
"type-fest": "4.26.1",
"typescript": "5.6.3"
}
}