UNPKG

snack-alert

Version:

A simple React toast notification library with Tailwind CSS

87 lines (86 loc) 2.18 kB
{ "name": "snack-alert", "description": "A simple React toast notification library with Tailwind CSS", "author": { "name": "Emmanuel Bankole", "email": "thecodeguyy@gmail.com", "url": "https://github.com/codewithdripzy" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/codewithdripzy/SnackAlert.git" }, "bugs": { "url": "https://github.com/codewithdripzy/SnackAlert/issues" }, "homepage": "https://github.com/codewithdripzy/SnackAlert#readme", "keywords": [ "alert", "snackbar", "react", "toast", "notification", "tailwindcss", "snackbar", "toastify", "toastification", "react-toast", "react-toastify", "react-toast-notification", "react-toastification", "react-toastify-component" ], "private": false, "version": "1.0.3", "type": "module", "main": "dist/index.umd.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/snack-alert.es.js", "require": "./dist/snack-alert.umd.js" } }, "files": [ "dist" ], "scripts": { "dev": "vite", "build": "tsc -b && vite build && tsc --emitDeclarationOnly --declaration --outDir dist", "prepublishOnly": "npm run build", "lint": "eslint .", "preview": "vite preview" }, "peerDependencies": { "lucide-react": "^0.525.0", "react": "^19.1.0", "react-dom": "^19.1.0", "tailwindcss": "^4.1.11" }, "dependencies": { "@tailwindcss/vite": "^4.1.11", "lucide-react": "^0.539.0", "path": "^0.12.7", "react": "^19.1.1", "react-dom": "^19.1.1", "tailwindcss": "^4.1.11" }, "devDependencies": { "@eslint/js": "^9.32.0", "@types/node": "^24.2.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@vitejs/plugin-react": "^5.0.0", "eslint": "^9.32.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "typescript": "~5.9.2", "typescript-eslint": "^8.39.0", "vite": "^7.1.1", "vite-plugin-dts": "^4.5.4" } }