react-responsive-modal
Version:
A simple responsive and accessible react modal
93 lines • 2.33 kB
JSON
{
"name": "react-responsive-modal",
"version": "7.0.0",
"description": "A simple responsive and accessible react modal",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"start": "tsdown --watch",
"build": "tsdown",
"typecheck": "tsc --noEmit",
"test": "vitest",
"prepare": "tsdown",
"size": "size-limit"
},
"files": [
"dist",
"src",
"styles.css"
],
"keywords": [
"react",
"responsive",
"modal",
"mobile",
"flex"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pradel/react-responsive-modal.git",
"directory": "react-responsive-modal"
},
"author": "Léo Pradel",
"bugs": {
"url": "https://github.com/pradel/react-responsive-modal/issues"
},
"homepage": "https://react-responsive-modal.leopradel.com/",
"funding": "https://github.com/sponsors/pradel",
"size-limit": [
{
"path": "dist/index.js",
"limit": "3.6 KB"
},
{
"path": "dist/index.cjs",
"limit": "4.0 KB"
}
],
"dependencies": {
"@bedrock-layout/use-forwarded-ref": "^2.0.17",
"body-scroll-lock": "^3.1.5",
"classnames": "^2.3.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19",
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
},
"devDependencies": {
"@codecov/vite-plugin": "1.9.1",
"@size-limit/preset-small-lib": "11.2.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.3.0",
"@types/body-scroll-lock": "2.6.2",
"@types/classnames": "2.3.4",
"@types/node": "22.16.3",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@vitejs/plugin-react": "4.6.0",
"@vitest/coverage-istanbul": "3.2.4",
"cypress": "14.5.1",
"jsdom": "26.1.0",
"publint": "0.3.12",
"react": "19.1.0",
"react-dom": "19.1.0",
"size-limit": "11.2.0",
"tsdown": "0.12.9",
"tslib": "2.8.1",
"typescript": "5.8.3",
"vitest": "3.2.4"
},
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json",
"./styles.css": "./styles.css"
}
}