react-native-toolkit/react-native-better-image

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-native-better-image",
  "version": "0.0.3",
  "description": "A better image component for react-native with fallback images & progressive loading support",
  "main": "lib/commonjs/index",
  "module": "lib/module/index",
  "types": "lib/typescript/src/index.d.ts",
  "react-native": "src/index",
  "source": "src/index",
  "files": [
    "src",
    "lib",
    "android",
    "ios",
    "cpp",
    "react-native-better-image.podspec",
    "!lib/typescript/example",
    "!**/__tests__",
    "!**/__fixtures__",
    "!**/__mocks__"
  ],
  "scripts": {
    "test": "jest",
    "typescript": "tsc --noEmit",
    "lint": "eslint \"**/*.{js,ts,tsx}\"",
    "prepare": "bob build",
    "release": "release-it",
    "example": "yarn --cwd example",
    "pods": "cd example && pod-install --quiet",
    "bootstrap": "yarn example && yarn && yarn pods"
  },
  "keywords": [
    "react-native",
    "fallback-images",
    "progressive-image",
    "image"
  ],
  "repository": "https://github.com/react-native-toolkit/react-native-better-image",
  "author": "DaniAkash <s.daniakash@gmail.com> (https://github.com/DaniAkash)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/react-native-toolkit/react-native-better-image/issues"
  },
  "homepage": "https://betterimage.netlify.app",
  "devDependencies": {
    "@commitlint/config-conventional": "11.0.0",
    "@react-native-community/bob": "0.17.1",
    "@react-native-community/eslint-config": "2.0.0",
    "@release-it/conventional-changelog": "2.0.0",
    "@types/jest": "26.0.20",
    "@types/react": "17.0.0",
    "@types/react-native": "0.63.45",
    "commitlint": "11.0.0",
    "eslint": "7.18.0",
    "eslint-config-prettier": "7.1.0",
    "eslint-plugin-prettier": "3.3.1",
    "husky": "4.3.8",
    "jest": "26.6.3",
    "pod-install": "0.1.14",
    "prettier": "2.2.1",
    "react": "17.0.1",
    "react-native": "0.63.4",
    "react-native-web": "0.14.10",
    "release-it": "14.2.2",
    "typescript": "4.1.3"
  },
  "peerDependencies": {
    "react": "*",
    "react-native": "*"
  },
  "jest": {
    "preset": "react-native",
    "modulePathIgnorePatterns": [
      "<rootDir>/example/node_modules",
      "<rootDir>/lib/"
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "yarn lint && yarn typescript"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "release-it": {
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "v${version}"
    },
    "npm": {
      "publish": true
    },
    "github": {
      "release": true
    },
    "plugins": {
      "@release-it/conventional-changelog": {
        "preset": "angular"
      }
    }
  },
  "eslintConfig": {
    "extends": [
      "@react-native-community",
      "prettier"
    ],
    "rules": {
      "prettier/prettier": [
        "error",
        {
          "quoteProps": "consistent",
          "singleQuote": true,
          "tabWidth": 2,
          "trailingComma": "es5",
          "useTabs": false
        }
      ]
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/"
  ],
  "prettier": {
    "quoteProps": "consistent",
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "es5",
    "useTabs": false
  },
  "@react-native-community/bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      "commonjs",
      "module",
      "typescript"
    ]
  },
  "dependencies": {
    "use-deep-compare-effect": "1.6.1"
  }
}