-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.99 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 4.99 KB
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
{
"name": "ownit",
"main": "expo-router/entry",
"version": "0.1.1",
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo prebuild --platform android --no-install && expo run:android",
"android:clean-install": "expo prebuild --platform android --no-install && adb kill-server && adb start-server && (adb uninstall com.voidrot.ownit || true) && adb install -r -d --user 0 android/app/build/outputs/apk/debug/app-debug.apk",
"ios": "expo run:ios",
"web": "expo start --web",
"lint": "expo lint",
"test": "jest",
"verify": "npm run lint && npm test -- --runInBand",
"build:local:android": "npx -y eas-cli@latest build --platform android --local",
"build:local:ios": "npx -y eas-cli@latest build --platform ios --local",
"build:android:dev": "eas build --platform android --profile development",
"build:android:prod": "eas build --platform android --profile production",
"submit:android:prod:draft": "eas submit --platform android --profile production --latest",
"release:android:prod:draft": "npm run build:android:prod && npm run submit:android:prod:draft",
"openapi:spec:backend": "echo ${OWNIT_BACKEND_OPENAPI_URL:-http://127.0.0.1:8000/api/v1/openapi.json}",
"openapi:spec:auth": "echo ${OWNIT_AUTH_OPENAPI_URL:-http://127.0.0.1:8000/_allauth/openapi.json}",
"openapi:clean": "rm -rf ./src/api/generated/backend ./src/api/generated/auth",
"openapi:prune-generated-artifacts": "rm -rf ./src/api/generated/backend/docs ./src/api/generated/auth/docs ./src/api/generated/backend/.openapi-generator ./src/api/generated/auth/.openapi-generator ./src/api/generated/backend/.openapi-generator-ignore ./src/api/generated/auth/.openapi-generator-ignore",
"openapi:generate:backend": "openapi-generator-cli generate --generator-key backend -i ${OWNIT_BACKEND_OPENAPI_URL:-http://127.0.0.1:8000/api/v1/openapi.json}",
"openapi:generate:auth": "openapi-generator-cli generate --generator-key auth -i ${OWNIT_AUTH_OPENAPI_URL:-http://127.0.0.1:8000/_allauth/openapi.json}",
"openapi:generate": "npm run openapi:generate:backend && npm run openapi:generate:auth && npm run openapi:prune-generated-artifacts",
"openapi:regenerate": "npm run openapi:clean && npm run openapi:generate"
},
"jest": {
"preset": "jest-expo",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"transform": {
"^.+\\.ts$": "ts-jest",
"^.+\\.(js|jsx|tsx)$": "babel-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/$1",
"^@components/(.*)$": "<rootDir>/components/$1",
"^@services/(.*)$": "<rootDir>/services/$1",
"^@stores/(.*)$": "<rootDir>/stores/$1",
"^@utils/(.*)$": "<rootDir>/utils/$1",
"^@assets/(.*)$": "<rootDir>/assets/$1",
"^@generated/(.*)$": "<rootDir>/src/api/generated/$1",
"^@features/(.*)$": "<rootDir>/src/features/$1",
"^@shared/(.*)$": "<rootDir>/src/shared/$1",
"^@constants/(.*)$": "<rootDir>/constants/$1",
"^react-native-gesture-handler$": "<rootDir>/__mocks__/react-native-gesture-handler.ts"
},
"testMatch": [
"**/__tests__/**/*.(test|spec).(ts|tsx)"
]
},
"dependencies": {
"@expo/vector-icons": "^15.0.3",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.3",
"@react-navigation/native": "^7.1.8",
"expo": "~54.0.33",
"expo-camera": "~17.0.10",
"expo-constants": "~18.0.13",
"expo-dev-client": "~6.0.20",
"expo-font": "~14.0.11",
"expo-haptics": "~15.0.8",
"expo-image": "~3.0.11",
"expo-image-picker": "~17.0.10",
"expo-linking": "~8.0.11",
"expo-router": "~6.0.23",
"expo-secure-store": "~15.0.8",
"expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9",
"expo-symbols": "~1.0.8",
"expo-system-ui": "~6.0.9",
"expo-task-manager": "~14.0.9",
"expo-video": "~3.0.16",
"expo-video-thumbnails": "~10.0.8",
"expo-web-browser": "~15.0.10",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-web": "~0.21.0",
"react-native-worklets": "0.5.1",
"swr": "^2.4.0",
"zustand": "^5.0.11"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.4.32",
"@stylistic/eslint-plugin": "^5.8.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "29.5.14",
"@types/react": "~19.1.10",
"@types/react-dom": "~19.1.7",
"babel-preset-expo": "^54.0.10",
"eslint": "^9.25.0",
"eslint-config-expo": "~10.0.0",
"jest": "~29.7.0",
"jest-expo": "~54.0.17",
"nativewind": "^4.2.1",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.19",
"ts-jest": "^29.4.6",
"typescript": "~5.9.2"
},
"private": true
}