gokcan/react-shimmer

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-shimmer",
  "version": "3.2.0",
  "description": "React Image (Suspense-like) Loader component that simulates a shimmer effect",
  "author": "gokcan",
  "keywords": [
    "react",
    "reactjs",
    "suspense",
    "react-suspense",
    "react-image",
    "loader",
    "loading-indicator",
    "shimmer",
    "activity-indicator",
    "placeholder",
    "spinner"
  ],
  "repository": "gokcan/react-shimmer",
  "license": "MIT",
  "main": "dist/index.js",
  "typings": "dist/index.d.ts",
  "files": [
    "dist",
    "src"
  ],
  "engines": {
    "node": ">=12"
  },
  "scripts": {
    "start": "tsdx watch",
    "build": "tsdx build",
    "test": "tsdx test --passWithNoTests",
    "lint": "tsdx lint",
    "prepare": "tsdx build"
  },
  "peerDependencies": {
    "react": ">=16",
    "react-dom": ">=16"
  },
  "husky": {
    "hooks": {
      "pre-commit": "tsdx lint"
    }
  },
  "prettier": {
    "printWidth": 80,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "es5"
  },
  "module": "dist/react-shimmer.esm.js",
  "dependencies": {
    "clsx": "^1.1.0",
    "prop-types": "^15.7.2"
  },
  "devDependencies": {
    "@types/prop-types": "^15.7.4",
    "@types/react": "^17.0.15",
    "@types/react-dom": "^17.0.9",
    "husky": "^7.0.1",
    "postcss": "^8.3.6",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "rollup-plugin-postcss": "^4.0.0",
    "tsdx": "^0.14.1",
    "tslib": "^2.3.0",
    "typescript": "^4.3.5"
  }
}