react-toast-kit
Version:
A modern, accessible toast notification system for React applications with automatic CSS injection
120 lines (119 loc) • 3.19 kB
JSON
{
"name": "react-toast-kit",
"version": "1.0.8",
"description": "A modern, accessible toast notification system for React applications with automatic CSS injection",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"style": "./dist/styles.css",
"sideEffects": [
"./dist/index.mjs",
"./dist/index.cjs",
"**/*.css"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./devtools": {
"import": {
"types": "./dist/devtools-entry.d.ts",
"default": "./dist/devtools-entry.mjs"
},
"require": {
"types": "./dist/devtools-entry.d.cts",
"default": "./dist/devtools-entry.cjs"
}
},
"./styles.css": "./dist/styles.css"
},
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "tsup",
"build:clean": "rm -rf dist && pnpm build",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "[ \"$CI\" = \"true\" ] || pnpm run build:clean",
"semantic-release": "semantic-release"
},
"keywords": [
"react",
"toast",
"notification",
"alert",
"component",
"ui",
"react-component",
"react-toast",
"typescript",
"auto-css",
"css-injection",
"accessible",
"modern"
],
"author": "DanhDeveloper",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/danhnhdeveloper308/react-toast-kit.git"
},
"homepage": "https://github.com/danhnhdeveloper308/react-toast-kit#readme",
"bugs": {
"url": "https://github.com/danhnhdeveloper308/react-toast-kit/issues"
},
"peerDependencies": {
"framer-motion": "^10.16.0 || ^11.0.0 || ^12.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.0",
"@semantic-release/npm": "^12.0.0",
"@size-limit/preset-small-lib": "^10.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.5.1",
"@types/node": "^20.10.0",
"@types/react": "^19.1.4",
"@types/react-dom": "^19.1.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"framer-motion": "^12.11.3",
"happy-dom": "^12.10.3",
"postcss": "^8.4.31",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.5",
"semantic-release": "^24.2.0",
"size-limit": "^10.0.1",
"tsup": "^8.0.2",
"typescript": "^5.8.3",
"vitest": "^1.1.0",
"zustand": "^5.0.4"
}
}