@vtbag/cam-shaft
Version:
The Cam-Shaft bumps your view transition images into place to avoid the pseudo-smooth-scroll effect when applying view transitions to elements that are taller than the viewport.
57 lines (56 loc) • 1.32 kB
JSON
{
"name": "@vtbag/cam-shaft",
"type": "module",
"version": "1.0.6",
"main": "lib/index.js",
"description": "The Cam-Shaft bumps your view transition images into place to avoid the pseudo-smooth-scroll effect when applying view transitions to elements that are taller than the viewport.",
"files": [
"lib/index.js",
"lib/index.d.ts"
],
"exports": {
".": "./lib/index.js"
},
"scripts": {
"dev": "bin/bundle dev",
"build": "npm run format; bin/bundle",
"format": "prettier --write src | grep -v 'unchanged)$'",
"test": "bin/test",
"changeset": "changeset",
"release": "changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vtbag/cam-shaft.git"
},
"keywords": [
"view",
"transitions",
"view-transition",
"view-transitions",
"smooth-scroll",
"instant",
"scroll",
"smooth-scrolling",
"scrolling",
"cross-document"
],
"author": "vtbag",
"license": "ISC",
"bugs": {
"url": "https://github.com/vtbag/cam-shaft/issues"
},
"homepage": "https://vtbag.dev",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/martrapp"
},
"devDependencies": {
"@changesets/cli": "^2.28.0",
"@eslint/js": "^9.20.0",
"@types/dom-navigation": "^1.0.4",
"esbuild": "^0.25.0",
"prettier": "^3.5.1",
"typescript": "^5.7.3"
}
}