UNPKG

react-native-executorch

Version:

An easy way to run AI models in react native with ExecuTorch

202 lines (201 loc) 4.64 kB
{ "name": "react-native-executorch", "version": "0.3.2", "description": "An easy way to run AI models in react native with ExecuTorch", "source": "./src/index.ts", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/index.d.ts", "react-native": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!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", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it" }, "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" }, "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/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "latest", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "metro-react-native-babel-preset": "^0.77.0", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "^0.76.1", "react-native-builder-bob": "^0.30.2", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "parserOptions": { "requireConfigFile": false, "babelOptions": { "presets": [ "@babel/preset-react" ] } }, "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "babel": { "presets": [ "module:metro-react-native-babel-preset" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module" ], [ "typescript", { "project": "tsconfig.json" } ] ] }, "create-react-native-library": { "type": "module-new", "languages": "kotlin-objc", "version": "0.41.2" }, "codegenConfig": { "name": "RnExecutorchSpec", "type": "all", "jsSrcsDir": "./src/native", "android": { "javaPackageName": "com.swmansion.rnexecutorch" } }, "dependencies": { "expo": "^52.0.37", "expo-asset": "^11.0.3", "expo-file-system": "^18.0.10", "react-native-live-audio-stream": "^1.1.1" } }