@subhajit-gorai/react-native-mediapipe-llm
Version:
React Native binding for Google AI Edge Gallery's MediaPipe on-device LLM inference engine
186 lines (185 loc) • 4.48 kB
JSON
{
"name": "@subhajit-gorai/react-native-mediapipe-llm",
"version": "1.0.3",
"description": "React Native binding for Google AI Edge Gallery's MediaPipe on-device LLM inference engine",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"exports": {
".": {
"types": "./lib/typescript/src/index.d.ts",
"import": "./lib/module/index.js",
"require": "./lib/commonjs/index.js",
"react-native": "./src/index.ts"
}
},
"files": [
"src",
"lib",
"android",
"ios",
"mediapipe",
"scripts/post-install.js",
"CMakeLists.txt",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!mediapipe/bazel-*",
"!mediapipe/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "yarn workspace react-native-mediapipe-llm-example",
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/ios/build lib",
"setup": "bash scripts/setup.sh",
"build:cpp": "bash scripts/build-cpp.sh",
"validate": "bash scripts/validate-build.sh",
"prebuild": "node scripts/prebuild.js",
"prepare": "npm run prebuild",
"prepublishOnly": "npm run validate",
"postinstall": "node scripts/post-install.js",
"release": "release-it"
},
"keywords": [
"react-native",
"ios",
"android",
"mediapipe",
"llm",
"machine-learning",
"ai",
"nlp",
"gpu-acceleration",
"npu",
"inference",
"edge-computing"
],
"repository": {
"type": "git",
"url": "git+https://github.com/sbhjt-gr/react-native-mediapipe-llm.git"
},
"author": "Subhajit Gorai <sage_mastermind@outlook.com> (https://github.com/sbhjt-gr)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/sbhjt-gr/react-native-mediapipe-llm/issues"
},
"homepage": "https://github.com/sbhjt-gr/react-native-mediapipe-llm#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.5.0",
"@react-native/eslint-config": "^0.73.1",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"@types/react-native": "0.73.0",
"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",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-builder-bob": "^0.20.0",
"release-it": "^15.0.0",
"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",
"engines": {
"node": ">= 18.0.0"
},
"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": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"rules": {
"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
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module"
]
}
}