https://github.com/rebeccahughes/react-native-device-info
Tip revision: 5ba1d210403dadb0b16ff05f2c2b33f9a34d4c6d authored by Mike Hardy on 11 July 2020, 06:50:00 UTC
v5.6.2
v5.6.2
Tip revision: 5ba1d21
package.json
{
"name": "react-native-device-info",
"version": "5.6.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"
},
"homepage": "https://github.com/react-native-community/react-native-device-info#readme",
"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.16.2",
"@react-native-community/eslint-config": "2.0.0",
"@types/react": "^16.9.35",
"@types/react-native": "^0.62.18",
"eslint": "^7.4.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"np": "^6.3.1",
"prettier": "^2.0.5",
"react": "16.11.0",
"react-native": "0.62.2",
"typescript": "^3.9.6"
},
"eslintConfig": {
"extends": "@react-native-community"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}