UNPKG

@scrumble-nl/react-quick-toaster

Version:

A quick and easy wrapper around react-bootstrap toasters, you can toast from anywhere in your application with a few simple steps.

63 lines (62 loc) 1.89 kB
{ "name": "@scrumble-nl/react-quick-toaster", "version": "3.0.0", "description": "A quick and easy wrapper around react-bootstrap toasters, you can toast from anywhere in your application with a few simple steps.\n\n", "main": "lib/toaster.js", "types": "lib/toaster.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rm -rf lib/ && tsc && mkdir -p lib/scss && sass src/scss:lib/scss", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.js\"", "lint": "eslint src/", "eslint": "eslint src/", "prepare": "npm run build", "prepublishOnly": "npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "React", "Bootstrap", "Toaster" ], "repository": { "type": "git", "url": "git+https://github.com/scrumble-nl/react-quick-toaster.git" }, "author": "Scrumble", "license": "ISC", "bugs": { "url": "https://github.com/scrumble-nl/react-quick-toaster/issues" }, "homepage": "https://github.com/scrumble-nl/react-quick-toaster#readme", "files": [ "lib/**/*" ], "peerDependencies": { "react": "^19.1.0", "react-bootstrap": "^2.1.1", "react-dom": "^19.1.0" }, "devDependencies": { "@scrumble-nl/eslint-plugin-scrumble-rules": "^1.2.1", "@types/react": "^19.1.3", "@typescript-eslint/eslint-plugin": "^5.38.0", "@typescript-eslint/parser": "^5.38.0", "eslint": "^8.57.1", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", "prettier": "^2.7.1", "sass": "^1.87.0", "typescript": "^4.8.3" }, "directories": { "lib": "lib" }, "dependencies": { "framer-motion": "^12.9.7" } }