UNPKG

compute-scroll-into-view

Version:

The engine that powers scroll-into-view-if-needed

70 lines • 1.72 kB
{ "name": "compute-scroll-into-view", "version": "4.0.0", "description": "The engine that powers scroll-into-view-if-needed", "keywords": [ "if-needed", "scroll", "scroll-into-view", "scroll-into-view-if-needed", "scrollIntoView", "scrollIntoViewIfNeeded", "scrollMode", "typescript" ], "homepage": "https://scroll-into-view.dev", "repository": { "type": "git", "url": "git+https://github.com/scroll-into-view/compute-scroll-into-view.git" }, "license": "MIT", "author": "Cody Olsen", "sideEffects": false, "type": "module", "exports": { ".": "./dist/index.js", "./middleware": "./dist/middleware.js", "./package.json": "./package.json" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "browserslist": [ "baseline 2019" ], "devDependencies": { "@arethetypeswrong/core": "^0.18.5", "@changesets/changelog-github": "^1.0.1", "@changesets/cli": "^3.0.3", "@types/node": "^26.6.6", "@vitest/browser-playwright": "5.1.0", "@vitest/coverage-istanbul": "5.1.0", "browserslist": "^4.29.5", "es-check": "^9.9.0", "knip": "^6.45.1", "playwright": "*", "publint": "^0.3.25", "vite-plus": "1.6.0", "vitest": "5.1.0" }, "bundlesize": [ { "path": "./dist/index.js", "maxSize": "3 kB", "compression": "none" } ], "publishConfig": { "access": "public", "provenance": true }, "scripts": { "build": "vp pack && pnpm run check:es", "check:es": "es-check es2017 --module 'dist/*.js'", "test": "vp test", "release": "pnpm run build && changeset publish" } }