UNPKG

react-native-qnn-llm

Version:
197 lines (196 loc) 4.51 kB
{ "name": "react-native-qnn-llm", "version": "0.1.0-beta.0", "description": "Qualcomm lib Genie binding for React Native", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js", "import": "./lib/module/index.js", "require": "./lib/commonjs/index.js" } }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.json", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-qnn-llm-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\" --ignore-pattern \"qairt/**\"", "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", "android", "qualcomm", "npu", "llm", "llama" ], "repository": { "type": "git", "url": "git+https://github.com/mybigday/react-native-qnn-llm.git" }, "author": "Hans <hans.chen@bricks.tools> (https://github.com/mybigday)", "license": "MIT", "bugs": { "url": "https://github.com/mybigday/react-native-qnn-llm/issues" }, "homepage": "https://github.com/mybigday/react-native-qnn-llm#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "19.1.1", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^10.0.1", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^19.8.1", "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": "19.1.0", "react-native": "0.80.2", "react-native-builder-bob": "^0.40.13", "release-it": "^19.0.4", "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": { "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 }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "commonjs" ], [ "module" ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNQnnLlmSpec", "type": "all", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.qnnllm" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "module-mixed", "languages": "kotlin-objc", "version": "0.42.3" } }