-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.65 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
{
"name": "use-virtual",
"version": "0.1.1",
"description": "😎 ♻️ A tiny React hook for rendering large datasets like a breeze.",
"type": "module",
"sideEffects": false,
"main": "cjs/index.cjs",
"module": "esm/index.js",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.cjs"
},
"files": [
"cjs",
"esm"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nuintun/use-virtual.git"
},
"keywords": [
"react",
"virtual",
"virtual-list"
],
"author": {
"name": "nuintun",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nuintun/use-virtual/issues"
},
"homepage": "https://github.com/nuintun/use-virtual#readme",
"scripts": {
"lint": "tsc --noEmit",
"clean": "node tools/clean.js",
"prepublishOnly": "npm run build",
"build:cjs": "rollup -c tools/rollup.cjs.js",
"build:esm": "rollup -c tools/rollup.esm.js",
"build:fix-types": "node tools/fix-types.js",
"format": "prettier --write . --ignore-path .prettierignore",
"build": "npm run clean && npm run build:main && npm run format",
"build:main": "npm run build:cjs && npm run build:esm && npm run build:fix-types"
},
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/react": "^18.3.18",
"dts-paths": "^1.1.1",
"magic-string": "^0.30.17",
"prettier": "^3.4.2",
"react": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.30.1",
"typescript": "^5.7.3"
},
"peerDependencies": {
"react": ">=17.0.0"
}
}