UNPKG

@jacobjmc/react-native-background-remover

Version:

Enhanced React Native package for removing backgrounds from images containing people, objects, animals, and more using Apple's Vision framework

145 lines (144 loc) 3.41 kB
{ "name": "@jacobjmc/react-native-background-remover", "version": "1.0.2", "description": "Enhanced React Native package for removing backgrounds from images containing people, objects, animals, and more using Apple's Vision framework", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", "import": "./lib/module/index.js", "require": "./lib/commonjs/index.js" } }, "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": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint .", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "cp ../../README.md ./ && bob build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "background-removal", "image-processing", "vision", "segmentation", "object-detection", "people", "animals", "cars" ], "repository": { "type": "git", "url": "git+https://github.com/jacobjmc/react-native-background-remover.git" }, "author": "Jacob McMillen <jacob@jmcillen.com> (https://github.com/jacobjmc)", "license": "MIT", "bugs": { "url": "https://github.com/jacobjmc/react-native-background-remover/issues" }, "homepage": "https://github.com/jacobjmc/react-native-background-remover#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "del-cli": "^5.1.0", "jest": "^29.7.0", "react": "18.2.0", "react-native": "0.74.3", "react-native-builder-bob": "^0.26.0", "release-it": "^15.0.0", "typescript": "^5.2.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNBackgroundRemoverSpec", "type": "all", "jsSrcsDir": "src" }, "create-react-native-library": { "type": "module-mixed", "languages": "kotlin-objc", "version": "0.38.2" } }