react-responsive-modal
Version:
A simple responsive and accessible react modal
95 lines • 2.35 kB
JSON
{
"name": "react-responsive-modal",
"version": "7.2.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": {
"@bedrock-layout/use-forwarded-ref": "^2.0.17",
"body-scroll-lock": "^3.1.5",
"classnames": "^2.3.1"
},
"devDependencies": {
"@codecov/vite-plugin": "1.9.1",
"@size-limit/preset-small-lib": "12.0.1",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@types/body-scroll-lock": "2.6.2",
"@types/classnames": "2.3.4",
"@types/node": "25.5.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.1",
"@vitest/coverage-istanbul": "4.1.1",
"cypress": "15.12.0",
"jsdom": "26.1.0",
"publint": "0.3.18",
"react": "19.2.4",
"react-dom": "19.2.4",
"size-limit": "12.0.1",
"tslib": "2.8.1",
"typescript": "5.9.3",
"vite-plus": "0.1.24",
"vitest": "4.1.8"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19",
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "3.6 KB"
},
{
"path": "dist/index.cjs",
"limit": "4.0 KB"
}
],
"scripts": {
"build": "vp pack",
"dev": "vp pack --watch",
"test": "vp test",
"size": "size-limit"
}
}