036856aed5
* Move everything into package * Remove .DS_Store * Move scripts and eslintrc to package * Create CODE_OF_CONDUCT.md * fix some links * Update all links (I think) * Update generated docs * Update notice-yarn-changes.yml * Update validate-android.yml * Update validate-cpp.yml * Delete notice-yarn-changes.yml * Update validate-cpp.yml * Update validate-cpp.yml * Update validate-js.yml * Update validate-cpp.yml * Update validate-cpp.yml * wrong c++ style * Revert "wrong c++ style" This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
177 lines
4.5 KiB
JSON
177 lines
4.5 KiB
JSON
{
|
|
"name": "react-native-vision-camera",
|
|
"version": "3.0.0-rc.9",
|
|
"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",
|
|
"cpp/**/*.h",
|
|
"cpp/**/*.cpp",
|
|
"android/build.gradle",
|
|
"android/gradle.properties",
|
|
"android/CMakeLists.txt",
|
|
"android/src",
|
|
"ios/**/*.h",
|
|
"ios/**/*.m",
|
|
"ios/**/*.mm",
|
|
"ios/**/*.cpp",
|
|
"ios/**/*.swift",
|
|
"ios/VisionCamera.xcodeproj/project.pbxproj",
|
|
"app.plugin.js",
|
|
"VisionCamera.podspec",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"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",
|
|
"release": "release-it",
|
|
"pods": "cd example && yarn pods",
|
|
"bootstrap": "yarn && cd example && yarn && yarn setup && yarn pods",
|
|
"check-android": "scripts/ktlint.sh && scripts/clang-format.sh",
|
|
"check-ios": "scripts/swiftlint.sh && scripts/swiftformat.sh && scripts/clang-format.sh",
|
|
"check-js": "yarn lint --fix && yarn typescript",
|
|
"check-cpp": "scripts/clang-format.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"
|
|
},
|
|
"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://react-native-vision-camera.com/",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@expo/config-plugins": "^7.2.5",
|
|
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
|
|
"@react-native/eslint-config": "^0.72.2",
|
|
"@react-native/typescript-config": "^0.73.0",
|
|
"@release-it/conventional-changelog": "^7.0.0",
|
|
"@types/react": "^18.2.19",
|
|
"@types/react-native": "^0.72.2",
|
|
"eslint": "^8.46.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"pod-install": "^0.1.38",
|
|
"prettier": "^3.0.1",
|
|
"react": "^18.2.0",
|
|
"react-native": "^0.72.3",
|
|
"react-native-builder-bob": "^0.21.3",
|
|
"react-native-worklets-core": "^0.2.0",
|
|
"release-it": "^16.1.3",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*",
|
|
"react-native-worklets-core": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react-native-worklets-core": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"prettier": {
|
|
"bracketSpacing": true,
|
|
"bracketSameLine": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"semi": true,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"printWidth": 140
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"module:metro-react-native-babel-preset"
|
|
]
|
|
},
|
|
"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": "chore(deps)",
|
|
"section": "🛠️ Dependency Upgrades"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"section": "📚 Documentation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.json"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"string-hash-64": "^1.0.3"
|
|
}
|
|
}
|