UNPKG

react-spring-bottom-sheet-container-ref

Version:

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

141 lines (140 loc) 4.21 kB
{ "name": "react-spring-bottom-sheet-container-ref", "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": "FelixDigitalWonderlab/react-spring-bottom-sheet", "bugs": { "url": "https://github.com/FelixDigitalWonderlab/react-spring-bottom-sheet/issues" }, "version": "1.0.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.2.0", "@reach/portal": "^0.16.2", "@xstate/react": "^1.2.0", "body-scroll-lock": "^3.1.5", "focus-trap": "^6.2.2", "react-spring": "^8.0.27", "react-use-gesture": "^8.0.1", "xstate": "^4.15.1" }, "peerDependencies": { "react": "^18" }, "devDependencies": { "@rooks/use-raf": "^4.5.0", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "@tailwindcss/forms": "^0.3.0", "@types/classnames": "^2.2.11", "@types/node": "^14.14.10", "@types/react": "^17.0.0", "@typescript-eslint/eslint-plugin": "^4.9.0", "@typescript-eslint/parser": "^4.9.0", "@use-it/interval": "^1.0.0", "@xstate/inspect": "^0.5.0", "autoprefixer": "^10.0.4", "babel-eslint": "^10.1.0", "babel-plugin-transform-remove-console": "^6.9.4", "classnames": "^2.2.6", "eslint": "^7.14.0", "eslint-config-react-app": "^6.0.0", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^6.0.0", "lint-staged": "^10.5.3", "microbundle": "^0.13.0", "next": "^10.0.3", "postcss": "^8.1.14", "postcss-cli": "^8.3.0", "postcss-custom-properties-fallback": "^1.0.1", "postcss-import-svg": "^1.0.1", "postcss-preset-env": "^6.7.0", "prettier": "^2.2.1", "prettier-package-json": "^2.1.3", "react": "^17.0.0", "react-dom": "^17.0.0", "rimraf": "^3.0.2", "semantic-release": "^17.3.0", "smooth-scroll-into-view-if-needed": "^1.1.29", "svgo": "^1.3.2", "tailwindcss": "^2.0.1", "typescript": "^4.1.2" }, "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" }