UNPKG

react-native-executorch

Version:

An easy way to run AI models in React Native with ExecuTorch

130 lines (129 loc) 3.2 kB
{ "name": "react-native-executorch", "version": "0.6.0", "description": "An easy way to run AI models in React Native with ExecuTorch", "source": "./src/index.ts", "main": "./lib/module/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/index.d.ts", "react-native": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "common", "*.podspec", "third-party/include", "third-party", "!third-party/ios/ExecutorchLib", "!third-party/ios/libs/executorch", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-executorch-example", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "prepack": "cp ../../README.md ./README.md", "postpack": "rm ./README.md" }, "keywords": [ "react-native", "ios", "android", "executorch", "ai", "llm", "coreml", "xnnpack", "llama" ], "repository": { "type": "git", "url": "git+https://github.com/software-mansion/react-native-executorch.git", "directory": "packages/react-native-executorch" }, "author": "Norbert Klockiewicz <norbert.klockiewicz@swmansion.com> (https://github.com/NorbertKlockiewicz)", "license": "MIT", "bugs": { "url": "https://github.com/software-mansion/react-native-executorch/issues" }, "homepage": "https://docs.swmansion.com/react-native-executorch", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "peerDependencies": { "expo": ">=54.0.0", "expo-asset": "^12.0.0", "expo-file-system": "^19.0.0", "react": "*", "react-native": "*" }, "devDependencies": { "@react-native-community/cli": "latest", "@types/jest": "^29.5.5", "@types/react": "~19.1.10", "expo": "^54.0.0", "expo-asset": "12.0.11", "expo-file-system": "^19.0.20", "jest": "^29.7.0", "metro-react-native-babel-preset": "^0.77.0", "react": "19.1.0", "react-native": "0.81.5", "react-native-builder-bob": "^0.40.12", "typescript": "~5.9.2" }, "resolutions": { "@types/react": "^18.2.44" }, "workspaces": [ "example" ], "packageManager": "yarn@4.1.1", "babel": { "presets": [ "module:metro-react-native-babel-preset" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module" ], [ "typescript", { "project": "tsconfig.json" } ] ] }, "codegenConfig": { "name": "RnExecutorchSpec", "type": "modules", "jsSrcsDir": "./src/native", "android": { "javaPackageName": "com.swmansion.rnexecutorch" } }, "dependencies": { "@huggingface/jinja": "^0.5.0", "jsonrepair": "^3.12.0", "jsonschema": "^1.5.0", "zod": "^3.25.0" } }