UNPKG

react-simple-toasts

Version:

Instant, lightweight toast notifications for React. No providers or containers needed.

105 lines 3.27 kB
{ "name": "react-simple-toasts", "version": "6.1.0", "description": "Instant, lightweight toast notifications for React. No providers or containers needed.", "author": "almond-bongbong", "homepage": "https://github.com/almond-bongbong/react-simple-toasts", "license": "MIT", "repository": "almond-bongbong/react-simple-toasts", "main": "./dist/index.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.js" }, "./style.css": "./dist/style.css", "./*": "./*" }, "typesVersions": { "*": { "./*": [ "./*" ] } }, "scripts": { "test": "jest", "test:watch": "jest --watch", "build:theme": "postcss src/theme/*.css -d dist/theme --env theme", "build:sass": "sass src/style.scss dist/style.css", "postbuild:sass": "postcss dist/style.css --use autoprefixer -m -o dist/style.css", "prebuild": "yarn build:theme && yarn build:sass", "build": "rollup -c", "start:theme": "postcss src/theme/*.css -d dist/theme --env theme --watch", "start:sass": "sass src/style.scss dist/style.css --watch", "start": "concurrently \"rollup -c -w\" \"yarn start:theme\" \"yarn start:sass\"", "predeploy": "cd example && yarn install && yarn build", "deploy": "gh-pages -d example/build" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.21.5", "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.21.5", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-eslint": "^9.0.4", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/jest": "^23.1.5", "@types/react": "^19.0.7", "@types/react-dom": "^19.0.3", "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", "autoprefixer": "^10.4.14", "babel-jest": "^29.5.0", "concurrently": "^8.2.0", "cross-env": "^5.1.4", "cssnano": "^6.0.1", "eslint": "^8.42.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "gh-pages": "^5.0.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "postcss": "^8.4.23", "postcss-cli": "^10.1.0", "prettier": "^2.8.8", "react": "19.0.0-rc-02c0e824-20241028", "react-dom": "19.0.0-rc-02c0e824-20241028", "rollup": "^3.10.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.34.1", "sass": "^1.56.1", "tslib": "^2.4.1", "typescript": "^4.9.4" }, "files": [ "dist" ], "sideEffects": [ "*.css" ], "keywords": [ "react", "toast", "notification", "react-toast", "react-toast-notification", "toast-notification", "toastify", "react-toastify" ], "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" }