https://github.com/rebeccahughes/react-native-device-info
Tip revision: 98fe3aa49815fc86445d97973d85ac9cf7235081 authored by Mike Hardy on 12 February 2020, 18:34:53 UTC
v5.5.2
v5.5.2
Tip revision: 98fe3aa
package.json
{
"name": "react-native-device-info",
"version": "5.5.2",
"description": "Get device information using react-native",
"react-native": "src/index.ts",
"types": "lib/typescript/index.d.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"files": [
"android/",
"ios/",
"lib/",
"src/",
"web/",
"windows/",
"RNDeviceInfo.podspec"
],
"repository": {
"type": "git",
"url": "https://github.com/react-native-community/react-native-device-info"
},
"scripts": {
"analyze": "npm run ts-check && npm run flow-check",
"flow-check": "npx flow-bin check-contents < src/index.js.flow",
"ts-check": "npx tsc --noEmit",
"clean": "cd example && npx react-native-clean-project --keep-node-modules --remove-iOS-build --remove-iOS-pods --remove-android-build --keep-brew --keep-pods && \\rm -fr ios/Pods",
"dev-sync": "npm run build && cp -r *podspec lib windows android ios src example/node_modules/react-native-device-info/",
"lint": "npx eslint ./ --ignore-pattern example --ignore-pattern node_modules --fix --quiet",
"shipit": "npm run clean && np",
"test": "echo no tests defined",
"precommit": "lint-staged && npm run analyze",
"build": "bob build",
"prepare": "bob build"
},
"lint-staged": {
"*.ts": [
"npm run lint",
"git add"
]
},
"keywords": [
"react-component",
"react-native",
"ios",
"android",
"windows",
"device",
"events",
"cocoapod"
],
"author": "Rebecca Hughes <rebecca@learnium.net> (https://github.com/rebeccahughes)",
"contributors": [
{
"name": "Gant Laborde",
"email": "gant@infinite.red",
"url": "https://github.com/gantman"
},
{
"name": "Mehdi Achour",
"email": "machour@gmail.com",
"url": "https://github.com/machour"
},
{
"name": "Mike Hardy",
"email": "github@mikehardy.net",
"url": "https://github.com/mikehardy"
}
],
"license": "MIT",
"devDependencies": {
"@react-native-community/bob": "^0.8.0",
"@react-native-community/eslint-config": "0.0.7",
"@types/react": "^16.9.19",
"@types/react-native": "^0.61.10",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"np": "^5.2.1",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-native": "^0.61.5",
"typescript": "^3.7.5"
},
"eslintConfig": {
"extends": "@react-native-community"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}