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.

65 lines (64 loc) 1.84 kB
{ "name": "@scrumble-nl/react-quick-toaster", "version": "2.0.1", "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": "jest --config jestconfig.json", "build": "node-sass src/ -o lib && tsc", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "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": "^18.2.0", "react-bootstrap": "^2.1.1", "react-dom": "^18.2.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.5.5", "@types/jest": "^27.4.0", "@types/node-sass": "^4.11.0", "@types/react": "^18.0.21", "jest": "^27.4.7", "node-sass": "^7.0.1", "prettier": "^1.18.2", "react-bootstrap": "^2.5.0", "ts-jest": "^27.1.3", "tslint": "^5.19.0", "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", "tslint-plugin-prettier": "^2.0.1", "typescript": "^4.5.5" }, "directories": { "lib": "lib" }, "dependencies": { "framer-motion": "^7.5.1" } }