UNPKG

react-async-alert-confirm

Version:

A reusable React component library for alert dialog and confirm dialog

65 lines (64 loc) 1.68 kB
{ "name": "react-async-alert-confirm", "version": "1.1.14", "sideEffects": false, "author": "WreewanMorhee", "repository": { "type": "git", "url": "https://github.com/WreewanMorhee/react-async-alert-confirm" }, "keywords": [ "react", "async", "alert dialog", "confirm dialog" ], "homepage": "https://github.com/WreewanMorhee/react-async-alert-confirm", "license": "MIT", "description": "A reusable React component library for alert dialog and confirm dialog", "type": "module", "main": "./dist/index.cjs.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.es.js", "require": "./dist/index.cjs.js" }, "./dist/style.css": "./dist/style.css" }, "files": [ "dist" ], "scripts": { "dev": "vite", "build": "tsc -b && vite build && tsc --emitDeclarationOnly", "lint": "eslint .", "preview": "vite preview" }, "dependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" }, "devDependencies": { "@eslint/js": "^9.30.1", "@types/node": "^24.1.0", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.6.0", "eslint": "^9.30.1", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "typescript": "~5.8.3", "typescript-eslint": "^8.35.1", "vite": "^7.0.4", "vite-plugin-css-injected-by-js": "^3.5.2", "vite-plugin-static-copy": "^3.1.1" } }