https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: 5978539608370af31ebe4adb4fc0820ff6fd6616 authored by Mike Hardy on 06 October 2019, 21:26:20 UTC
v4.0.1-beta.4
Tip revision: 5978539
package.json
{
  "name": "react-native-device-info",
  "version": "4.0.1-beta.4",
  "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",
    "!/android/build",
    "/ios",
    "/windows",
    "/web",
    "src/",
    "lib/",
    "/*.podspec"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/react-native-community/react-native-device-info"
  },
  "scripts": {
    "analyze": "npx tsc --noEmit",
    "dev-sync": "yarn build && cp -r *podspec lib windows web android ios src example/node_modules/react-native-device-info/",
    "lint": "npx eslint ./ --ignore-pattern example --ignore-pattern node_modules --fix --quiet",
    "shipit": "np",
    "test": "echo no tests defined",
    "precommit": "lint-staged && yarn analyze",
    "build": "bob build",
    "prepare": "yarn build"
  },
  "lint-staged": {
    "*.ts": [
      "yarn 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.7.0",
    "@react-native-community/eslint-config": "0.0.5",
    "@types/react": "^16.9.5",
    "@types/react-native": "^0.60.18",
    "eslint": "^6.5.1",
    "eslint-plugin-prettier": "^3.1.1",
    "husky": "^3.0.8",
    "lint-staged": "^9.4.1",
    "np": "^5.1.0",
    "prettier": "^1.18.2",
    "react": "^16.10.2",
    "react-native": "^0.61.2",
    "typescript": "^3.6.3"
  },
  "eslintConfig": {
    "extends": "@react-native-community"
  },
  "@react-native-community/bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      "commonjs",
      "module",
      "typescript"
    ]
  }
}
back to top