Skip to content

Commit

Permalink
provide a bundled version
Browse files Browse the repository at this point in the history
  • Loading branch information
arzafran committed May 22, 2022
1 parent 039a29c commit de9282c
Show file tree
Hide file tree
Showing 8 changed files with 4,111 additions and 862 deletions.
2 changes: 1 addition & 1 deletion docs/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Lenis from '../dist/lenis.modern'
import './styles/main.css'
import Lenis from '../src/index.mjs'

const lenis = new Lenis({ lerp: 0.1, smooth: true })
window.lenis = lenis
Expand Down
15 changes: 0 additions & 15 deletions favicon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions index.mjs

This file was deleted.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
{
"name": "@studio-freight/lenis",
"version": "0.0.12",
"version": "0.1.0",
"description": "Lenis is a smooth scroll library to normalize the scrolling experience across devices",
"author": "studio-freight",
"repository": {
"type": "git",
"url": "git+https://github.com/studio-freight/lenis.git"
},
"main": "src/index.mjs",
"source": "src/lenis.js",
"module": "dist/lenis.esm.js",
"type": "module",
"sideEffects": false,
"scripts": {
"dev": "vite docs",
"build": "vite build --config vite.config.cjs",
"preview": "vite preview --config vite.config.cjs"
"build": "microbundle src/lenis.js",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"microbundle": "^0.15.0",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"vite": "^2.8.0"
Expand Down
Loading

1 comment on commit de9282c

@vercel
Copy link

@vercel vercel bot commented on de9282c May 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.