-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.07 KB
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
{
"name": "@better-scrollbar/react",
"version": "2.0.2",
"description": "React adapter for better-scrollbar — highly customizable, high-performance virtual scrollbar component.",
"license": "MIT",
"author": "biubiukam",
"type": "module",
"homepage": "https://biubiukam.github.io/better-scrollbar/",
"repository": {
"type": "git",
"url": "git+https://github.com/biubiukam/better-scrollbar.git",
"directory": "packages/react"
},
"bugs": {
"url": "https://github.com/biubiukam/better-scrollbar/issues"
},
"keywords": [
"react",
"virtual-scroll",
"virtual-list",
"virtualization",
"scrollbar",
"custom-scrollbar",
"infinite-scroll",
"large-list",
"dynamic-height",
"high-performance"
],
"engines": {
"node": ">=18"
},
"main": "dist/better-scrollbar-react.cjs",
"module": "dist/better-scrollbar-react.es.mjs",
"unpkg": "dist/BetterScrollbarReact.min.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/better-scrollbar-react.es.mjs",
"require": "./dist/better-scrollbar-react.cjs",
"default": "./dist/better-scrollbar-react.es.mjs"
},
"./styles/ScrollBar.less": "./src/styles/ScrollBar.less"
},
"sideEffects": [
"**/*.css",
"**/*.less"
],
"files": [
"dist",
"src/styles",
"LICENSE"
],
"scripts": {
"build": "vite build --config vite.config.mts && tsc -p tsconfig.json --emitDeclarationOnly",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --config vitest.config.mts",
"clean": "rimraf dist"
},
"dependencies": {
"clsx": "^2.1.0"
},
"peerDependencies": {
"@better-scrollbar/core": ">=1.0.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@better-scrollbar/core": "workspace:*",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.10.3",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.0",
"jsdom": "^20.0.0",
"less": "^4.2.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"typescript": "^5.3.2",
"vite": "^5.0.8",
"vitest": "^1.0.4"
}
}