forked from darkroomengineering/lenis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@studio-freight/lenis",
"version": "1.0.0-dev.7",
"description": "Lenis is a smooth scroll library to normalize the scrolling experience across devices",
"files": [
"dist"
],
"sideEffects": false,
"source": "src/lenis.js",
"main": "dist/lenis.js",
"umd:main": "dist/lenis.umd.js",
"module": "dist/lenis.mjs",
"types": "dist/types/index.d.ts",
"exports": {
"require": "./dist/lenis.js",
"default": "./dist/lenis.modern.mjs"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.2",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"microbundle": "^0.15.1",
"path": "^0.12.7",
"prettier": "^2.8.3",
"rimraf": "^4.1.1",
"size-limit": "^8.1.2",
"stats.js": "^0.17.0",
"typescript": "^4.9.4",
"vite": "^4.0.4"
},
"dependencies": {
"nanoevents": "^7.0.1",
"npm-run-all": "^4.1.5",
"tiny-emitter": "^2.1.0",
"virtual-scroll": "^2.2.1"
},
"author": "studio-freight",
"repository": {
"type": "git",
"url": "git+https://github.com/studio-freight/lenis.git"
},
"scripts": {
"dev": "npm-run-all --parallel watch dev:website",
"dev:website": "npm run dev:website --prefix ./website",
"size": "size-limit",
"clean": "rimraf dist && rimraf bundled",
"build:website": "vite build",
"prebuild": "npm run clean",
"preversion": "npm run build",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build",
"prepare": "husky install",
"watch": "microbundle watch -i src/ --o ./bundled/lenis.js --no-sourcemap --no-pkg-main --external none --name Lenis --format umd --no-compress",
"build": "npm-run-all --parallel build:dist build:bundle build:types",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.js",
"build:dist": "microbundle build -i src/ --o ./dist",
"build:bundle": "npm-run-all build:bundle-full build:bundle-min",
"build:bundle-full": "microbundle build -i src/ --o ./bundled/lenis.js --no-sourcemap --no-pkg-main --external none --name Lenis --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/lenis.min.js --no-sourcemap --no-pkg-main --external none --name Lenis --format umd"
},
"bugs": {
"url": "https://github.com/studio-freight/lenis/issues"
},
"homepage": "https://github.com/studio-freight/lenis#readme",
"keywords": [
"smooth",
"scroll"
],
"size-limit": [
{
"limit": "4.5 kB",
"path": "dist/lenis.js"
},
{
"limit": "4.5 kB",
"path": "dist/lenis.mjs"
},
{
"limit": "4.5 kB",
"path": "dist/lenis.modern.mjs"
},
{
"limit": "4.5 kB",
"path": "dist/lenis.umd.js"
}
],
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,scss,md}": "prettier --write"
}
}