react-native-location-enabler
Version:
This package makes it easy for an React Native App to ensure that the android device's system settings are properly configured for the app's location needs. If your app needs to request location, the device needs to enable the appropriate system s
180 lines (179 loc) • 5.05 kB
JSON
{
"name": "react-native-location-enabler",
"version": "4.1.1",
"description": "This package makes it easy for an React Native App to ensure that the android device's system settings are properly configured for the app's location needs. If your app needs to request location, the device needs to enable the appropriate system settings, such as GPS or Wi-Fi scanning. Rather than directly enabling services such as the device's GPS, your app specifies the required level of accuracy/power consumption and desired update interval, and the device automatically makes the appropriate changes to system settings.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"cpp",
"!lib/typescript/example",
"!android/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn",
"format": "npm-run-all format:*",
"format:js": "prettier --write \"./**/*.js\"",
"format:json": "prettier --write \"./**/*.json\"",
"format:md": "prettier --write \"./**/*.md\"",
"format:ts": "prettier --write \"./**/*.ts{,x}\"",
"prepare": "bob build",
"release": "semantic-release",
"commit": "git-cz"
},
"keywords": [
"react-native",
"android",
"location",
"settings",
"GPS",
"Wi-Fi",
"settings-enabler",
"SettingsClient",
"resolution"
],
"repository": "https://github.com/YsnKsy/react-native-location-enabler",
"author": "Yassine Kassy <y.kassy@me.com> (https://github.com/YsnKsy)",
"license": "MIT",
"bugs": {
"url": "https://github.com/YsnKsy/react-native-location-enabler/issues"
},
"homepage": "https://github.com/YsnKsy/react-native-location-enabler#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^12.1.1",
"@react-native-community/eslint-config": "^2.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.1",
"@semantic-release/github": "^7.2.3",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@types/jest": "^26.0.0",
"@types/react": "^17.0.14",
"@types/react-native": "0.62.13",
"commitizen": "^4.2.3",
"commitlint": "^12.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^6.0.0",
"jest": "^27.0.6",
"npm-run-all": "^4.1.5",
"pod-install": "^0.1.27",
"prettier": "^2.0.5",
"react": "17.0.2",
"react-native": "0.63.4",
"react-native-builder-bob": "^0.18.2",
"semantic-release": "^17.4.2",
"typescript": "^4.3.5"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn format && yarn lint && yarn typescript && yarn prepare"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"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"
}
]
]
},
"release": {
"branch": "master",
"npmPublish": true,
"ci": true,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"android/app/build.gradle",
"package.json"
],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}