160 lines
4.3 KiB
JSON
160 lines
4.3 KiB
JSON
{
|
|
"name": "react-native-vision-camera",
|
|
"version": "2.4.2-beta.4",
|
|
"description": "The Camera library that sees the vision.",
|
|
"main": "lib/commonjs/index",
|
|
"module": "lib/module/index",
|
|
"types": "lib/typescript/index.d.ts",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"files": [
|
|
"src",
|
|
"lib/commonjs",
|
|
"lib/module",
|
|
"lib/typescript",
|
|
"android/build.gradle",
|
|
"android/*.aar",
|
|
"android/src",
|
|
"ios/**/*.h",
|
|
"ios/**/*.m",
|
|
"ios/**/*.mm",
|
|
"ios/**/*.cpp",
|
|
"ios/**/*.swift",
|
|
"ios/VisionCamera.xcodeproj/project.pbxproj",
|
|
"cpp/**/*.h",
|
|
"cpp/**/*.cpp",
|
|
"VisionCamera.podspec",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"typescript": "tsc --noEmit",
|
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
"lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js",
|
|
"build": "bob build && scripts/build-android-npm-package.sh",
|
|
"release": "release-it",
|
|
"pods": "cd example && yarn pods",
|
|
"bootstrap": "yarn && cd example && yarn && yarn pods",
|
|
"check-android": "scripts/ktlint.sh",
|
|
"check-ios": "scripts/swiftformat.sh && scripts/swiftlint.sh",
|
|
"check-cpp": "scripts/cpplint.sh",
|
|
"check-all": "scripts/check-all.sh",
|
|
"clean-ios": "scripts/clean-ios.sh",
|
|
"clean-android": "scripts/clean-android.sh",
|
|
"clean-js": "scripts/clean-js.sh",
|
|
"docs": "cd docs && yarn build",
|
|
"prepack": "rm -rf android-tmp && mv android android-tmp && mv android-npm android",
|
|
"postpack": "rm -rf android-npm && mv android android-npm && mv android-tmp android"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"camera",
|
|
"vision",
|
|
"native",
|
|
"module",
|
|
"react",
|
|
"ai",
|
|
"ar",
|
|
"qr",
|
|
"qr-code",
|
|
"scanner"
|
|
],
|
|
"repository": "https://github.com/mrousavy/react-native-vision-camera",
|
|
"author": "Marc Rousavy <marcrousavy@hotmail.com> (https://github.com/mrousavy)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/mrousavy/react-native-vision-camera/issues"
|
|
},
|
|
"homepage": "https://mrousavy.github.io/react-native-vision-camera/",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@jamesacarr/eslint-formatter-github-actions": "^0.1.0",
|
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
"@react-native-community/eslint-plugin": "^1.1.0",
|
|
"@release-it/conventional-changelog": "^3.0.1",
|
|
"@types/react": "^17.0.9",
|
|
"@types/react-native": "^0.64.10",
|
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
|
"@typescript-eslint/parser": "^4.26.0",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-react-native": "^3.11.0",
|
|
"pod-install": "^0.1.23",
|
|
"prettier": "^2.3.0",
|
|
"react": "^17.0.2",
|
|
"react-native": "^0.64.2",
|
|
"react-native-builder-bob": "^0.18.1",
|
|
"react-native-reanimated": "^2.2.0",
|
|
"release-it": "^14.6.1",
|
|
"typescript": "4.3.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": {
|
|
"name": "conventionalcommits",
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "✨ Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "🐛 Bug Fixes"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "💨 Performance Improvements"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"section": "📚 Documentation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|