forked from malte-wessel/react-custom-scrollbars
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.76 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.76 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@dev-ahmed-mahmoud/react-custom-scrollbars",
"version": "5.0.2",
"description": "Modern React scrollbars component with TypeScript support and React 19 compatibility",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:watch": "vite build --watch",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:bench": "vitest bench",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run typecheck && npm run lint && npm run test run && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/dev-ahmedmahmoud/react-custom-scrollbars.git"
},
"keywords": [
"scroll",
"scroller",
"scrollbars",
"react-component",
"react",
"custom",
"hooks",
"typescript",
"react19",
"modern",
"customizable",
"performance",
"cross-browser",
"mobile-friendly"
],
"author": {
"name": "Ahmed Mahmoud",
"email": "dev.ahmedmahmoud@gmail.com",
"url": "https://github.com/dev-ahmedmahmoud"
},
"contributors": [
{
"name": "Malte Wessel",
"email": "malte.wessel@gmail.com",
"url": "https://github.com/malte-wessel"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/dev-ahmedmahmoud/react-custom-scrollbars/issues"
},
"homepage": "https://github.com/dev-ahmedmahmoud/react-custom-scrollbars",
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^4.0.8",
"@vitest/ui": "^4.0.8",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"jsdom": "^25.0.1",
"prettier": "^3.3.3",
"typescript": "~5.8.0",
"vite": "^7.2.2",
"vite-plugin-dts": "^4.3.0",
"vitest": "^4.0.8"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}
}