112 lines
2.9 KiB
JSON
112 lines
2.9 KiB
JSON
{
|
|
"name": "react-native-camera",
|
|
"description": "A Camera component for React Native. Also reads barcodes.",
|
|
"version": "3.19.1",
|
|
"author": "Lochlan Wansbrough <lochie@live.com> (http://lwansbrough.com)",
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/react-native-camera",
|
|
"logo": "https://opencollective.com/opencollective/logo.txt"
|
|
},
|
|
"dependencies": {
|
|
"prop-types": "^15.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/runtime": "^7.3.1",
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.1",
|
|
"@commitlint/prompt": "^7.2.1",
|
|
"@semantic-release/commit-analyzer": "^6.1.0",
|
|
"@semantic-release/git": "^7.0.5",
|
|
"@semantic-release/github": "^5.2.1",
|
|
"@semantic-release/npm": "^5.0.5",
|
|
"@semantic-release/release-notes-generator": "^7.1.3",
|
|
"@types/react": "^16.8.3",
|
|
"@types/react-native": "^0.57.41",
|
|
"babel-eslint": "^8.2.6",
|
|
"commitizen": "^3.0.4",
|
|
"eslint": "^5.3.0",
|
|
"eslint-plugin-flowtype": "^2.50.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-react": "^7.10.0",
|
|
"eslint-plugin-react-native": "^3.2.1",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^7.2.0",
|
|
"pre-commit": "^1.2.2",
|
|
"prettier": "^1.15.3",
|
|
"react": "16.8.3",
|
|
"react-native": "^0.59.1",
|
|
"semantic-release": "^15.10.6"
|
|
},
|
|
"homepage": "https://github.com/react-native-community/react-native-camera",
|
|
"keywords": [
|
|
"barcode",
|
|
"camera",
|
|
"code",
|
|
"native",
|
|
"qr",
|
|
"react",
|
|
"react-native"
|
|
],
|
|
"license": "MIT AND Apache-2.0 AND BSD-3-Clause",
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"yarn prettier",
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.d.ts": [
|
|
"yarn prettier",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"yarn prettier",
|
|
"git add"
|
|
]
|
|
},
|
|
"main": "src/index.js",
|
|
"nativePackage": true,
|
|
"pre-commit": "lint:staged",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/react-native-community/react-native-camera.git"
|
|
},
|
|
"scripts": {
|
|
"commit": "git-cz",
|
|
"commitmsg": "commitlint -e $GIT_PARAMS",
|
|
"lint": "eslint src --max-warnings=0",
|
|
"lint:staged": "lint-staged",
|
|
"prettier": "prettier --write",
|
|
"ci:publish": "semantic-release"
|
|
},
|
|
"types": "types/index.d.ts",
|
|
"release": {
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
"package.json"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": "package.json",
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "@commitlint/prompt"
|
|
}
|
|
}
|
|
}
|