UNPKG

react-pulsable

Version:

This is a simple and customizable react component library to add a pulsing/skeleton loading effect to your existing component.

107 lines (106 loc) 3.01 kB
{ "name": "react-pulsable", "author": "Abdhesh Nayak", "license": "MIT", "version": "1.0.22", "description": "This is a simple and customizable react component library to add a pulsing/skeleton loading effect to your existing component.", "private": false, "types": "./dist/@types/pulsable.d.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "sideEffects": false, "exports": { "./index.css": { "import": "./dist/index.css", "require": "./dist/index.css" }, ".": { "import": { "default": "./dist/index.mjs", "types": "./dist/@types/pulsable.d.ts" }, "require": { "default": "./dist/index.js", "types": "./dist/@types/pulsable.d.ts" } } }, "repository": { "type": "git", "url": "git+https://github.com/abdheshnayak/react-pulsable.git" }, "keywords": [ "react", "pulsable", "skeleton", "skeleton-component", "skeleton-loading", "skeleton-loader", "skeleton-content-loader", "skeleton-effect" ], "files": [ "dist", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "scripts": { "start": "DISABLE_ESLINT_PLUGIN=true react-scripts start", "build": "npm run clean && npm run build:css && node build.js && npm run tsc", "pack": "npm pack --pack-destination ./out", "clean": "rimraf dist", "dev:build": "npm run build", "tsc": "tsc --emitDeclarationOnly --p tsconfig-compile.json --outDir ./dist/@types ", "build:css": "tailwindcss -i ./src/scss/build.scss -o ./src/css/index.scss", "release": "npm run build && npm publish" }, "dependencies": { "pulsable": "^1.0.32" }, "peerDependencies": { "classnames": "^2.3.2", "react": "^19.0.0 || ^18.2.0 || ^17.0.0 || ^16.0.0" }, "devDependencies": { "@types/react": "^18.2.25", "@types/react-dom": "^18.2.14", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", "esbuild": "^0.19.2", "esbuild-sass-plugin": "^2.16.0", "eslint": "^8.47.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-jsconfig": "^1.1.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prefer-arrow-functions": "^3.1.4", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", "postcss-import": "^15.1.0", "prettier": "^2.8.8", "react-dom": "^18.2.0", "react-scripts": "^5.0.1", "rimraf": "^5.0.1", "tailwindcss": "^3.3.3", "typescript": "^5.2.2" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }