-
-
Notifications
You must be signed in to change notification settings - Fork 392
/
package.json
86 lines (86 loc) · 2.21 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
{
"name": "lenis",
"version": "1.1.19-dev.3",
"description": "How smooth scroll should be",
"type": "module",
"sideEffects": false,
"author": "darkroom.engineering",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/darkroomengineering/lenis.git"
},
"bugs": {
"url": "https://github.com/darkroomengineering/lenis/issues"
},
"homepage": "https://github.com/darkroomengineering/lenis",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/darkroomengineering"
},
"keywords": [
"scroll",
"smooth",
"lenis",
"react",
"vue"
],
"scripts": {
"build": "pnpm build:core && pnpm build:all",
"build:core": "tsup --config tsup.core.ts",
"build:all": "tsup",
"dev": "pnpm run -w --parallel /^dev:.*/",
"dev:build": "tsup --watch",
"dev:playground": "pnpm --filter playground dev",
"readme": "node ./scripts/update-readme.js",
"version:dev": "npm version prerelease --preid dev --force --no-git-tag-version",
"version:patch": "npm version patch --force --no-git-tag-version",
"version:minor": "npm version minor --force --no-git-tag-version",
"version:major": "npm version major --force --no-git-tag-version",
"postversion": "pnpm build && pnpm readme",
"publish:main": "npm publish",
"publish:dev": "npm publish --tag dev"
},
"files": [
"dist"
],
"devDependencies": {
"tsup": "^8.2.4",
"typescript": "^5.4.5"
},
"peerDependencies": {
"react": ">=17.0.0",
"vue": ">=3.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"vue": {
"optional": true
}
},
"unpkg": "./dist/lenis.mjs",
"main": "./dist/lenis.mjs",
"module": "./dist/lenis.mjs",
"types": "./dist/lenis.d.ts",
"exports": {
".": {
"types": "./dist/lenis.d.ts",
"default": "./dist/lenis.mjs"
},
"./react": {
"types": "./dist/lenis-react.d.ts",
"default": "./dist/lenis-react.mjs"
},
"./snap": {
"types": "./dist/lenis-snap.d.ts",
"default": "./dist/lenis-snap.mjs"
},
"./vue": {
"types": "./dist/lenis-vue.d.ts",
"default": "./dist/lenis-vue.mjs"
},
"./dist/*": "./dist/*"
}
}