7c33839e36
* Reformat * Prettier: Print Width 140 * SwiftFormat: Disable `organizeDeclarations` * React Helpers -> React Utils * Use bundle exec for pods * Disable Hermes in Example * Create clean.sh * Update package.json * Re-generate lockfiles * Add bundle install step to bootstrap
136 lines
3.5 KiB
JSON
136 lines
3.5 KiB
JSON
{
|
|
"name": "react-native-vision-camera",
|
|
"version": "1.0.7",
|
|
"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/gradle.properties",
|
|
"android/src",
|
|
"ios/**/*.h",
|
|
"ios/**/*.m",
|
|
"ios/**/*.mm",
|
|
"ios/**/*.cpp",
|
|
"ios/**/*.swift",
|
|
"ios/VisionCamera.xcodeproj/project.pbxproj",
|
|
"VisionCamera.podspec",
|
|
"README.md",
|
|
"docs"
|
|
],
|
|
"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",
|
|
"prepare": "bob build",
|
|
"release": "release-it",
|
|
"example": "yarn --cwd example",
|
|
"pods": "cd example && pod-install --quiet",
|
|
"bootstrap": "yarn example && yarn && yarn setup && yarn pods",
|
|
"check-android": "scripts/ktlint.sh",
|
|
"check-ios": "scripts/swiftformat.sh && scripts/swiftlint.sh",
|
|
"check-all": "scripts/check-all.sh",
|
|
"clean": "scripts/clean.sh",
|
|
"docs": "cd docs && yarn build"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"camera",
|
|
"vision",
|
|
"native",
|
|
"module",
|
|
"cuvent",
|
|
"react",
|
|
"ai",
|
|
"ar",
|
|
"qr",
|
|
"qr-code",
|
|
"scanner"
|
|
],
|
|
"repository": "https://github.com/cuvent/react-native-vision-camera",
|
|
"author": "Marc Rousavy <marcrousavy@hotmail.com> (https://github.com/mrousavy)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/cuvent/react-native-vision-camera/issues"
|
|
},
|
|
"homepage": "https://cuvent.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": "^2.0.0",
|
|
"@types/react": "^17.0.2",
|
|
"@types/react-native": "0.63.52",
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
"eslint": "^7.20.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-react-native": "^3.10.0",
|
|
"jest": "^26.0.1",
|
|
"pod-install": "^0.1.0",
|
|
"prettier": "^2.2.1",
|
|
"react": "17.0.1",
|
|
"react-native": "0.64.0",
|
|
"react-native-builder-bob": "^0.18.1",
|
|
"release-it": "^14.2.2",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"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",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|