140 lines
3.2 KiB
JSON
140 lines
3.2 KiB
JSON
|
{
|
||
|
"name": "react-native-vision-camera",
|
||
|
"version": "0.1.0",
|
||
|
"description": "The Camera library that sees the vision.",
|
||
|
"main": "lib/commonjs/index",
|
||
|
"module": "lib/module/index",
|
||
|
"types": "lib/typescript/src/index.d.ts",
|
||
|
"react-native": "src/index",
|
||
|
"source": "src/index",
|
||
|
"files": [
|
||
|
"src",
|
||
|
"lib",
|
||
|
"android",
|
||
|
"ios",
|
||
|
"cpp",
|
||
|
"react-native-vision-camera.podspec",
|
||
|
"!lib/typescript/example",
|
||
|
"!android/build",
|
||
|
"!ios/build",
|
||
|
"!**/__tests__",
|
||
|
"!**/__fixtures__",
|
||
|
"!**/__mocks__"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"test": "jest",
|
||
|
"typescript": "tsc --noEmit",
|
||
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
||
|
"prepare": "bob build",
|
||
|
"release": "release-it",
|
||
|
"example": "yarn --cwd example",
|
||
|
"pods": "cd example && pod-install --quiet",
|
||
|
"bootstrap": "yarn example && yarn && yarn pods"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"react-native",
|
||
|
"ios",
|
||
|
"android"
|
||
|
],
|
||
|
"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://github.com/mrousavy/react-native-vision-camera#readme",
|
||
|
"publishConfig": {
|
||
|
"registry": "https://registry.npmjs.org/"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@react-native-community/eslint-config": "^2.0.0",
|
||
|
"@release-it/conventional-changelog": "^2.0.0",
|
||
|
"@types/jest": "^26.0.0",
|
||
|
"@types/react": "^16.9.19",
|
||
|
"@types/react-native": "0.62.13",
|
||
|
"eslint": "^7.2.0",
|
||
|
"eslint-config-prettier": "^7.0.0",
|
||
|
"eslint-plugin-prettier": "^3.1.3",
|
||
|
"jest": "^26.0.1",
|
||
|
"pod-install": "^0.1.0",
|
||
|
"prettier": "^2.0.5",
|
||
|
"react": "16.13.1",
|
||
|
"react-native": "0.63.4",
|
||
|
"react-native-builder-bob": "^0.17.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"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"eslintConfig": {
|
||
|
"root": true,
|
||
|
"extends": [
|
||
|
"@react-native-community",
|
||
|
"prettier"
|
||
|
],
|
||
|
"rules": {
|
||
|
"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": [
|
||
|
"commonjs",
|
||
|
"module",
|
||
|
[
|
||
|
"typescript",
|
||
|
{
|
||
|
"project": "tsconfig.build.json"
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|