UNPKG

react-modal-sheet

Version:

Flexible bottom sheet component for your React apps

86 lines (85 loc) 2.36 kB
{ "version": "4.4.0", "license": "MIT", "name": "react-modal-sheet", "description": "Flexible bottom sheet component for your React apps", "author": "Teemu Taskula", "repository": "https://github.com/Temzasse/react-modal-sheet", "homepage": "https://temzasse.github.io/react-modal-sheet", "keywords": [ "react", "modal", "motion", "bottom-sheet", "accessibility", "framer-motion" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist", "src" ], "scripts": { "dev": "tsup --watch --onSuccess \"npm run link:update\"", "build": "tsup", "build:verify": "attw --pack .", "format:check": "biome format ./src", "format:write": "biome format --write ./src", "lint:check": "biome lint --error-on-warnings ./src", "lint:write": "biome lint --error-on-warnings --write ./src", "link": "yalc publish && npm run link:example && npm run link:example-ssr", "link:example": "cd example && yalc add react-modal-sheet && npm i", "link:example-ssr": "cd example-ssr && yalc add react-modal-sheet && npm i", "link:update": "tsup --dts-only && yalc push --replace", "test": "vitest run", "typecheck": "tsc --noEmit", "verify": "run-p format:check lint:check typecheck", "release": "npm run verify && npm run build && npm run build:verify && np", "prepare": "husky" }, "peerDependencies": { "motion": ">=11", "react": ">=16" }, "devDependencies": { "@arethetypeswrong/cli": "0.17.4", "@biomejs/biome": "1.9.4", "@types/react": "19.1.2", "@types/react-dom": "19.1.2", "@vitejs/plugin-react": "4.4.1", "csstype": "3.1.3", "husky": "9.1.7", "jsdom": "26.1.0", "motion": "12.9.2", "npm-run-all": "4.1.5", "react": "19.1.0", "react-dom": "19.1.0", "tsup": "8.4.0", "typescript": "5.8.3", "vite": "6.3.3", "vitest": "3.1.2" }, "engines": { "node": ">=18" }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" } }