https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: a6d3d59fafb70449cd19996b06955e72a61c7227 authored by Mike Hardy on 29 August 2020, 22:45:14 UTC
v6.0.0
Tip revision: a6d3d59
package.json
{
  "name": "react-native-device-info",
  "version": "6.0.0",
  "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 --clean-android-project --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",
  "peerDependencies": {
    "react-native": "*"
  },
  "devDependencies": {
    "@react-native-community/bob": "^0.16.2",
    "@react-native-community/eslint-config": "2.0.0",
    "@types/react": "^16.9.46",
    "@types/react-native": "^0.63.8",
    "eslint": "^7.7.0",
    "eslint-plugin-prettier": "^3.1.3",
    "husky": "^4.2.5",
    "lint-staged": "^10.2.4",
    "np": "^6.4.0",
    "prettier": "^2.0.5",
    "react": "16.13.1",
    "react-native": "^0.62.2",
    "react-native-windows": "^0.62.5",
    "typescript": "^3.9.7"
  },
  "eslintConfig": {
    "extends": "@react-native-community"
  },
  "@react-native-community/bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      "commonjs",
      "module",
      "typescript"
    ]
  }
}
back to top