UNPKG

react-simple-hook-modal

Version:
71 lines 1.67 kB
{ "version": "1.1.0", "license": "MIT", "name": "react-simple-hook-modal", "description": "A simple React modal with hook based API", "homepage": "https://react-simple-hook-modal.now.sh", "repository": { "type": "git", "url": "https://github.com/mbrookson/react-simple-hook-modal.git" }, "author": "Matthew Brookson", "main": "dist/index.js", "typings": "dist/index.d.ts", "module": "dist/react-simple-hook-modal.esm.js", "files": [ "dist" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "build:all": "tsdx build && cd example && npm install && npm run build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "install-peers": "install-peers -f" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "peerDependencies": { "react": ">=16" }, "devDependencies": { "@fullhuman/postcss-purgecss": "^2.1.2", "@types/react": "^16.9.34", "@types/react-dom": "^16.9.6", "autoprefixer": "^9.7.6", "cssnano": "^4.1.10", "husky": "^4.2.5", "install-peers-cli": "^2.2.0", "postcss-cli": "^7.1.0", "react": "^16.13.1", "react-dom": "^16.13.1", "rollup-plugin-postcss": "^2.8.2", "tailwindcss": "^1.4.6", "tsdx": "^0.13.2", "tslib": "^1.11.1", "typescript": "^3.9.6" }, "keywords": [ "react", "react-component", "react-modal", "modal", "simple" ], "dependencies": { "hooks": "^0.3.2", "react-spring": "^8.0.27" } }