UNPKG

react-responsive-modal

Version:

A simple responsive and accessible react modal

94 lines • 2.33 kB
{ "name": "react-responsive-modal", "version": "8.0.0", "description": "A simple responsive and accessible react modal", "keywords": [ "flex", "mobile", "modal", "react", "responsive" ], "homepage": "https://react-responsive-modal.leopradel.com/", "bugs": { "url": "https://github.com/pradel/react-responsive-modal/issues" }, "license": "MIT", "author": "Léo Pradel", "repository": { "type": "git", "url": "git+https://github.com/pradel/react-responsive-modal.git", "directory": "react-responsive-modal" }, "funding": "https://github.com/sponsors/pradel", "files": [ "dist", "src", "styles.css" ], "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.cts", "typings": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./package.json": "./package.json", "./styles.css": "./styles.css" }, "publishConfig": { "access": "public", "provenance": true }, "dependencies": { "body-scroll-lock": "^3.1.5" }, "devDependencies": { "@codecov/vite-plugin": "2.0.1", "@size-limit/preset-small-lib": "14.0.0", "@testing-library/dom": "10.4.2", "@testing-library/jest-dom": "7.0.1", "@testing-library/react": "16.3.3", "@types/body-scroll-lock": "2.6.2", "@types/node": "26.6.2", "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@vitejs/plugin-react": "6.1.1", "@vitest/coverage-istanbul": "4.1.11", "cypress": "16.1.0", "cypress-real-events": "1.15.1", "jsdom": "30.1.1", "publint": "0.3.24", "react": "19.3.0", "react-dom": "19.3.0", "size-limit": "14.0.0", "tslib": "2.8.1", "typescript": "5.9.3", "vite": "npm:@voidzero-dev/vite-plus-core@0.3.3", "vite-plus": "0.3.3", "vitest": "4.1.11" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18 || ^19", "react-dom": "^16.8.0 || ^17 || ^18 || ^19" }, "size-limit": [ { "path": "dist/index.js", "limit": "2.9 KB" }, { "path": "dist/index.cjs", "limit": "3.6 KB" } ], "scripts": { "build": "vp pack", "dev": "vp pack --watch", "test": "vp test", "size": "size-limit" } }