UNPKG

nuxt-lenis

Version:

This is a Nuxt wrapper for [Lenis](https://lenis.studiofreight.com/) (by [Studio Freight](https://studiofreight.com/)) – providing smooth scrolling with support for multiple instances in a type-safe and reactive way.

63 lines (62 loc) 1.66 kB
{ "name": "nuxt-lenis", "version": "2.1.2", "license": "MIT", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/MilkshakeStudio/nuxt-lenis.git" }, "keywords": [ "nuxt", "module", "nuxt-module", "lenis" ], "author": { "name": "Milkshake Studio <hello@milkshake.studio>", "url": "https://milkshake.studio" }, "exports": { ".": { "types": "./dist/types.d.ts", "import": "./dist/module.mjs", "require": "./dist/module.cjs" } }, "main": "./dist/module.cjs", "types": "./dist/types.d.ts", "files": [ "dist" ], "scripts": { "prepack": "nuxt-module-build", "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest watch" }, "dependencies": { "lenis": "^1.2.3" }, "devDependencies": { "@nuxt/devtools": "^0.8.5", "@nuxt/eslint-config": "^0.1.1", "@nuxt/kit": "^3.6.5", "@nuxt/module-builder": "^0.4.0", "@nuxt/schema": "^3.6.5", "@nuxt/test-utils": "^3.6.5", "@nuxtjs/eslint-config-typescript": "^12.0.0", "@types/node": "^18.17.1", "changelogen": "^0.5.4", "eslint": "^8.46.0", "nuxt": "^3.6.5", "vitest": "^0.33.0" }, "resolutions": { "string-width": "4.2.3" } }