UNPKG

react-hook-popup

Version:

Easily manage popups like alerts and modals in React with a single hook

52 lines (51 loc) 1.4 kB
{ "name": "react-hook-popup", "version": "1.1.0", "description": "Easily manage popups like alerts and modals in React with a single hook", "homepage": "https://github.com/aidanjw1/react-hook-popup#readme", "repository": "github:aidanjw1/react-hook-popup", "keywords": [ "react", "react hooks", "hooks", "typescript", "popups", "alerts" ], "main": "dist/index.js", "scripts": { "build": "npm run build:ts && npm run build:sass", "build:ts": "tsc", "build:sass": "sass --no-source-map src/:dist/", "clean": "rm -r dist", "typecheck": "tsc --noEmit", "test": "npm run typecheck && jest", "test:watch": "jest --watch" }, "types": "dist/index.d.ts", "author": "Aidan White", "license": "ISC", "dependencies": {}, "devDependencies": { "@types/enzyme": "^3.10.8", "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^26.0.16", "@types/react": "^16.0", "@types/react-dom": "^16.0", "@typescript-eslint/eslint-plugin": "^4.9.1", "@typescript-eslint/parser": "^4.9.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", "eslint": "^7.15.0", "jest": "^26.6.3", "prettier": "^2.2.1", "react": "^16.14.0", "react-dom": "^16.14.0", "sass": "^1.30.0", "ts-jest": "^26.4.4", "typescript": "^4.1.2" }, "peerDependencies": { "react": "*" } }