UNPKG

@afzalimdad9/react-alert

Version:
69 lines (68 loc) 1.83 kB
{ "name": "@afzalimdad9/react-alert", "description": "A simple react alert component", "version": "7.0.8", "author": "Afzal Imdad <afzalimdad9@gmail.com>", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/afzalimdad9/react-alert.git" }, "keywords": [ "react", "alert", "react-alert", "toaster", "react-toaster", "react-component", "afzalimdad9" ], "scripts": { "prebuild": "rimraf dist", "build": "tsc --outDir dist", "test": "jest --coverage --no-cache", "test:watch": "jest --watch --coverage --no-cache", "prepublishOnly": "yarn build", "lint": "eslint './src/**/*.ts' './src/**/*.tsx' --fix", "lint:staged": "lint-staged", "precommit": "lint-staged", "prepare": "husky install" }, "devDependencies": { "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/node": "^22.13.10", "@types/prop-types": "^15.7.14", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/react-transition-group": "^4.4.12", "babel-eslint": "10.1.0", "eslint": "^9.22.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "husky": "^9.1.7", "jest-cli": "^29.7.0", "lint-staged": "^15.4.3", "lodash.kebabcase": "^4.1.1", "prettier": "^3.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "rimraf": "^6.0.1" }, "jest": { "collectCoverageFrom": [ "src/*.js", "!src/index.js" ] }, "dependencies": { "prop-types": "^15.8.1", "react-transition-group": "^4.4.5", "typescript": "^5.8.2" } }