UNPKG

react-spring-bottom-sheet-updated

Version:

✨ Accessible, 🪄 Delightful, and 🤯 Performant. Built on react-spring for the web, and react-use-gesture.

142 lines (141 loc) 4.24 kB
{ "name": "react-spring-bottom-sheet-updated", "description": "✨ Accessible, 🪄 Delightful, and 🤯 Performant. Built on react-spring for the web, and react-use-gesture.", "license": "MIT", "author": "Cody Olsen", "homepage": "https://react-spring-bottom-sheet.cocody.dev", "repository": "wh1teee/react-spring-bottom-sheet-updated", "bugs": { "url": "https://github.com/wh1teee/react-spring-bottom-sheet-updated/issues" }, "version": "3.6.0", "main": "dist/index.js", "module": "dist/index.es.js", "files": [ "defaults.json", "dist" ], "scripts": { "build": "next build", "build:declarations": "tsc --project tsconfig.declarations.json", "prebuild:dist": "rimraf dist/**", "build:dist": "npm run build:postcss && npm run build:microbundle && npm run build:declarations", "build:microbundle": "NODE_ENV=production microbundle --define process.env.NODE_ENV=production --tsconfig tsconfig.microbundle.json -f cjs,es,modern --css-modules false --jsx React.createElement --jsxFragment React.Fragment", "build:postcss": "postcss -d dist src/style.css", "dev": "next", "lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && tsc", "prepublishOnly": "npm run build:dist", "start": "next start", "test": "npm run prepublishOnly && npm run build" }, "sideEffects": [ "*.css" ], "types": "dist/index.d.ts", "dependencies": { "@juggle/resize-observer": "^3.4.0", "@radix-ui/react-portal": "^1.0.3", "@xstate/react": "^3.2.2", "body-scroll-lock": "^3.1.5", "focus-trap": "^7.5.2", "react-spring": "^9.7.2", "react-use-gesture": "^9.1.3", "svgo": "1.3.2", "xstate": "^4.38.2" }, "peerDependencies": { "react": "^16.14.0 || 17 || 18" }, "devDependencies": { "@rooks/use-raf": "^4.11.2", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@tailwindcss/forms": "^0.5.4", "@types/classnames": "^2.3.1", "@types/node": "^20.4.5", "@types/react": "^18.2.18", "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", "@use-it/interval": "^1.0.0", "@xstate/inspect": "^0.8.0", "autoprefixer": "^10.4.14", "babel-eslint": "^10.1.0", "babel-plugin-transform-remove-console": "^6.9.4", "classnames": "^2.3.2", "eslint": "^8.46.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.28.0", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.3", "lint-staged": "^13.2.3", "microbundle": "^0.15.1", "next": "^13.4.12", "postcss": "^8.4.27", "postcss-cli": "^10.1.0", "postcss-custom-properties-fallback": "^1.0.2", "postcss-import-svg": "^1.0.5", "postcss-preset-env": "^9.1.0", "prettier": "^3.0.0", "prettier-package-json": "^2.8.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.1", "semantic-release": "^21.0.7", "smooth-scroll-into-view-if-needed": "^2.0.0", "swiper": "^10.1.0", "tailwindcss": "^3.3.3", "typescript": "^5.1.6" }, "keywords": [ "animation", "bottom-drawer", "bottom-sheet", "bottomsheet", "dialog", "drag-drop", "draggableview", "drawer", "gesture-control", "modal", "motion", "overlay", "popup", "react", "react-spring", "react-use-gesture", "sheet", "typescript" ], "browserslist": [ "Chrome >= 49", "Android >= 58", "Safari >= 9.1", "iOS >= 9.3", "Firefox >= 31", "Edge >= 16" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "jsnext:main": "dist/index.es.js", "lint-staged": { "*.{js,jsx,ts,tsx}": "eslint --fix", "*.{js,jsx,ts,tsx,md,html,css,yml,json}": "prettier --write", "package.json": "prettier-package-json --write" }, "meta": { "twitter:site": "@stipsan", "twitter:image:src": "https://react-spring-bottom-sheet.cocody.dev/somecard.png" }, "prettier": { "semi": false, "singleQuote": true }, "source": "src/index.tsx", "style": "dist/style.css" }