https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: 9c653baaeb2d8315ce7cbaf9eec052ce310812eb authored by Mike Hardy on 10 December 2020, 03:34:53 UTC
v7.3.1
Tip revision: 9c653ba
package.json
{
  "name": "react-native-device-info",
  "version": "7.3.1",
  "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": [
    "__tests__/",
    "android/",
    "ios/",
    "lib/",
    "src/",
    "jest/",
    "web/",
    "windows/",
    "RNDeviceInfo.podspec",
    "babel.config.js",
    "jest.config.js",
    "jest.setup.ts"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/react-native-device-info/react-native-device-info"
  },
  "homepage": "https://github.com/react-native-device-info/react-native-device-info#readme",
  "scripts": {
    "analyze": "yarn ts-check && yarn 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": "yarn build && cp -r *podspec lib windows android ios src jest example/node_modules/react-native-device-info/",
    "lint": "npx eslint ./ --ignore-pattern example --ignore-pattern node_modules --fix --quiet",
    "shipit": "yarn clean && np",
    "test": "jest",
    "precommit": "lint-staged && yarn analyze",
    "build": "bob build",
    "prepare": "bob 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",
  "peerDependencies": {
    "react-native": "*"
  },
  "devDependencies": {
    "@react-native-community/bob": "^0.16.2",
    "@react-native-community/eslint-config": "2.0.0",
    "@testing-library/react-hooks": "^3.4.2",
    "@types/jest": "^26.0.18",
    "@types/react": "16.14.2",
    "@types/react-native": "^0.63.23",
    "eslint": "^7.15.0",
    "eslint-plugin-prettier": "^3.2.0",
    "husky": "^4.3.5",
    "jest": "^26.6.0",
    "lint-staged": "^10.5.3",
    "metro-react-native-babel-preset": "^0.63.0",
    "np": "^7.0.0",
    "prettier": "^2.2.1",
    "react": "16.13.1",
    "react-native": "^0.63.4",
    "react-native-windows": "^0.63.13",
    "react-test-renderer": "^17.0.1",
    "ts-jest": "^26.4.1",
    "typescript": "^4.1.2"
  },
  "resolutions": {
    "@types/react": "16.14.2"
  },
  "eslintConfig": {
    "extends": "@react-native-community"
  },
  "@react-native-community/bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      "commonjs",
      "module",
      "typescript"
    ]
  }
}
back to top