UNPKG

react-responsive-modal

Version:

A simple responsive and accessible react modal

86 lines 2.14 kB
{ "name": "react-responsive-modal", "version": "6.4.2", "description": "A simple responsive and accessible react modal", "license": "MIT", "main": "dist/index.js", "module": "dist/react-responsive-modal.esm.js", "typings": "dist/index.d.ts", "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit" }, "files": [ "dist", "src", "styles.css" ], "jest": { "setupFilesAfterEnv": [ "./__tests__/setupTests.ts" ], "modulePathIgnorePatterns": [ "cypress" ], "coveragePathIgnorePatterns": [ "src/lib" ] }, "keywords": [ "react", "responsive", "modal", "mobile", "flex" ], "repository": "git+https://github.com/pradel/react-responsive-modal.git", "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/react-responsive-modal.cjs.production.min.js", "limit": "4.1 KB" }, { "path": "dist/react-responsive-modal.esm.js", "limit": "4.1 KB" } ], "dependencies": { "@bedrock-layout/use-forwarded-ref": "^1.3.1", "body-scroll-lock": "^3.1.5", "classnames": "^2.3.1" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "devDependencies": { "@size-limit/preset-small-lib": "4.7.0", "@testing-library/jest-dom": "5.11.6", "@testing-library/react": "11.1.2", "@types/body-scroll-lock": "2.6.1", "@types/classnames": "2.2.11", "@types/node": "14.14.7", "@types/react": "16.9.56", "@types/react-dom": "16.9.9", "babel-jest": "26.6.3", "cypress": "5.6.0", "husky": "4.3.0", "prettier": "2.1.2", "react": "17.0.1", "react-dom": "17.0.1", "size-limit": "4.7.0", "tsdx": "0.14.1", "tslib": "2.0.3", "typescript": "4.0.5" } }