@saserinn/react-native-battery-optimization-check
Version:
A fork from react-native-battery-optimization-check with the declarations for typescript applications
107 lines (106 loc) • 2.75 kB
JSON
{
"name": "@saserinn/react-native-battery-optimization-check",
"version": "1.0.3",
"description": "A fork from react-native-battery-optimization-check with the declarations for typescript applications",
"main": "index.js",
"directories": {
"example": "example"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^28.1.2",
"@types/react": "~17.0.21",
"@types/react-native": "0.68.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "17.0.2",
"react-native": "0.68.2",
"typescript": "^4.9.5"
},
"resolutions": {
"@types/react": "17.0.21"
},
"peerDependencies": {
"react": "*",
"react-native": ">=0.63.3"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"scripts": {
"test": "jest",
"typescript": "tsc -declaration index.ts",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn",
"lint": "eslint \"**/*.{js,ts,tsx}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/mauricioleft121/react-native-battery-optimization-check.git"
},
"keywords": [
"doze",
"check",
"battery",
"standby",
"android",
"wakelock",
"optimization",
"react-native",
"react-component",
"battery optimization",
"battery optimization check",
"IGNORE_BATTERY_OPTIMIZATION_SETTINGS",
"REQUEST_IGNORE_BATTERY_OPTIMIZATIONS",
"react-native-battery-optimization-check",
"typescript"
],
"author": "mauricioleft121 (mauricioleft121@gmail.com)",
"license": "MIT",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/mauricioleft121/react-native-battery-optimization-check/issues"
},
"homepage": "https://github.com/mauricioleft121/react-native-battery-optimization-check#readme",
"eslintConfig": {
"root": true,
"parser": "@babel/eslint-parser",
"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
}
}