145 lines
6.4 KiB
JSON
145 lines
6.4 KiB
JSON
{
|
|
"name": "PocketPal",
|
|
"version": "1.16.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"postinstall": "./scripts/postinstall.sh",
|
|
"android": "react-native run-android --mode=prodDebug",
|
|
"build:android": "cd android && ./gradlew assembleProdDebug && cd ..",
|
|
"build:android:release": "cd android && ./gradlew bundleRelease && cd ..",
|
|
"android:build:e2e": "cd android && E2E_BUILD=true ./gradlew assembleE2eReleaseE2e && cd ..",
|
|
"ios": "react-native run-ios --simulator=\"iPhone 16 Pro\"",
|
|
"ios:build": "cd ios && xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace PocketPal.xcworkspace -scheme PocketPal -configuration Debug -sdk iphonesimulator -arch $(uname -m) ONLY_ACTIVE_ARCH=YES GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO | xcpretty",
|
|
"ios:build:release": "cd ios && xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace PocketPal.xcworkspace -scheme PocketPal -configuration Release -sdk iphoneos -arch arm64 -arch x86_64 GCC_OPTIMIZATION_LEVEL=s GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=space DEBUG_INFORMATION_FORMAT=dwarf-with-dsym COMPILER_INDEX_STORE_ENABLE=YES | xcpretty",
|
|
"ios:build:e2e": "cd ios && E2E_BUILD=true xcodebuild -workspace PocketPal.xcworkspace -scheme PocketPal -configuration Release -sdk iphonesimulator -derivedDataPath build GCC_OPTIMIZATION_LEVEL=s ASSETCATALOG_COMPILER_OPTIMIZATION=space | xcpretty",
|
|
"ios:build:ipa": "set -a && [ -f .env ] && source .env; set +a && cd ios && E2E_BUILD=true bundle exec fastlane build_for_device_farm",
|
|
"clean:ios": "cd ios && xcodebuild clean -workspace PocketPal.xcworkspace -scheme PocketPal -configuration Debug && cd ..",
|
|
"clean:android": "cd android && ./gradlew clean && cd ..",
|
|
"clean": "yarn clean:ios && yarn clean:android",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"l10n:validate": "node scripts/validate-l10n.js",
|
|
"verify:fonts": "node scripts/verify-fonts.js",
|
|
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
"format": "prettier --write \"**/*.{js,ts,tsx,json,md}\"",
|
|
"start": "react-native start",
|
|
"start:reset": "react-native start --reset-cache",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@dr.pogodin/react-native-fs": "^2.36.0",
|
|
"@flyerhq/react-native-link-preview": "^1.6.0",
|
|
"@gorhom/bottom-sheet": "^5.2.8",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@nozbe/watermelondb": "^0.28.0",
|
|
"@pocketpalai/react-native-speech": "2.5.0",
|
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
"@react-native-clipboard/clipboard": "^1.16.3",
|
|
"@react-native-community/slider": "^5.0.1",
|
|
"@react-native-documents/picker": "^10.1.7",
|
|
"@react-native-firebase/app": "^23.5.0",
|
|
"@react-native-firebase/app-check": "^23.5.0",
|
|
"@react-native-google-signin/google-signin": "^16.0.0",
|
|
"@react-native-masked-view/masked-view": "^0.3.2",
|
|
"@react-native-picker/picker": "^2.11.4",
|
|
"@react-navigation/drawer": "^7.7.10",
|
|
"@react-navigation/native": "^7.1.26",
|
|
"@react-navigation/stack": "^7.6.13",
|
|
"@supabase/supabase-js": "^2.75.0",
|
|
"axios": "^1.12.2",
|
|
"chat-formatter": "^0.3.4",
|
|
"date-fns": "^4.1.0",
|
|
"dayjs": "^1.11.18",
|
|
"expr-eval": "^2.0.2",
|
|
"llama.rn": "0.12.4",
|
|
"marked": "^16.4.0",
|
|
"mobx": "^6.15.0",
|
|
"mobx-persist-store": "^1.1.8",
|
|
"mobx-react": "^9.2.1",
|
|
"mustache": "^4.2.0",
|
|
"onnxruntime-react-native": "^1.23.2",
|
|
"react": "19.1.1",
|
|
"react-hook-form": "^7.65.0",
|
|
"react-native": "0.82.1",
|
|
"react-native-code-highlighter": "^1.3.0",
|
|
"react-native-config": "1.5.5",
|
|
"react-native-device-info": "^14.1.1",
|
|
"react-native-gesture-handler": "^2.28.0",
|
|
"react-native-get-random-values": "^1.11.0",
|
|
"react-native-haptic-feedback": "^2.3.3",
|
|
"react-native-image-picker": "^8.2.1",
|
|
"react-native-image-viewing": "^0.2.2",
|
|
"react-native-keyboard-controller": "1.19.6",
|
|
"react-native-keychain": "^10.0.0",
|
|
"react-native-linear-gradient": "^2.8.3",
|
|
"react-native-paper": "5.14.5",
|
|
"react-native-parsed-text": "^0.0.22",
|
|
"react-native-picker-select": "^9.3.1",
|
|
"react-native-reanimated": "^4.1.3",
|
|
"react-native-render-html": "^6.3.4",
|
|
"react-native-safe-area-context": "^5.6.1",
|
|
"react-native-screens": "^4.19.0",
|
|
"react-native-share": "^12.2.0",
|
|
"react-native-svg": "^15.13.0",
|
|
"react-native-url-polyfill": "^3.0.0",
|
|
"react-native-vector-icons": "^10.3.0",
|
|
"react-native-vision-camera": "^4.7.2",
|
|
"react-native-webview": "^13.16.1",
|
|
"react-native-worklets": "^0.6.0",
|
|
"react-syntax-highlighter": "^15.6.6",
|
|
"uuid": "^13.0.0",
|
|
"zod": "^4.1.12"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@babel/runtime": "^7.25.0",
|
|
"@commitlint/cli": "^20.1.0",
|
|
"@commitlint/config-conventional": "^20.0.0",
|
|
"@react-native-community/cli": "20.0.0",
|
|
"@react-native-community/cli-platform-android": "20.0.0",
|
|
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
"@react-native/babel-preset": "0.82.1",
|
|
"@react-native/eslint-config": "0.82.1",
|
|
"@react-native/metro-config": "0.82.1",
|
|
"@react-native/typescript-config": "0.82.1",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/react-native": "^13.3.3",
|
|
"@types/jest": "^29.5.13",
|
|
"@types/lodash": "^4.17.20",
|
|
"@types/mustache": "^4.2.6",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@types/react-test-renderer": "^19.0.0",
|
|
"@types/uuid": "^11.0.0",
|
|
"babel-jest": "^30.2.0",
|
|
"babel-plugin-transform-define": "^2.1.4",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.6.3",
|
|
"patch-package": "^8.0.1",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"prettier": "3.6.2",
|
|
"react-native-dotenv": "^3.4.11",
|
|
"react-native-svg-transformer": "^1.5.1",
|
|
"react-test-renderer": "19.1.1",
|
|
"typescript": "5.0.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.21.0"
|
|
},
|
|
"packageManager": "yarn@1.22.22",
|
|
"codegenConfig": {
|
|
"name": "PocketPalSpecs",
|
|
"type": "all",
|
|
"jsSrcsDir": "src/specs",
|
|
"android": {
|
|
"javaPackageName": "com.pocketpal.specs"
|
|
}
|
|
}
|
|
}
|