-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
134 lines (134 loc) · 3.96 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "react-cool-virtual",
"version": "0.7.0",
"description": "A tiny React hook for rendering large datasets like a breeze.",
"license": "MIT",
"homepage": "https://github.com/wellyshen/react-cool-virtual#readme",
"repository": "https://github.com/wellyshen/react-cool-virtual",
"bugs": "https://github.com/wellyshen/react-cool-virtual/issues",
"keywords": [
"react",
"hook",
"react-hook",
"virtual-hook",
"virtualized-hook",
"use",
"use-virtual",
"use-virtualized",
"virtual",
"virtualized",
"virtualization",
"responsive-web-design",
"rwd",
"sticky-headers",
"lazy",
"lazy-loading",
"infinite",
"infinite-scroll",
"scroll",
"scrolling",
"smooth-scrolling",
"recycle",
"dom-recycle",
"list",
"table",
"carousel",
"row",
"column",
"grid",
"chatroom",
"feeds",
"resize",
"resize-observer",
"dynamic",
"dynamic-size",
"memory",
"reduce-memory",
"performance",
"ssr",
"server-side-rendering",
"dx",
"ux",
"typescript"
],
"author": "Welly Shen <[email protected]> (https://github.com/wellyshen)",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"umd:main": "dist/index.umd.production.min.js",
"unpkg": "dist/index.umd.production.min.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"link-pkg": "yarn build:dev && npm link app/node_modules/react && yarn link",
"start": "yarn build:dev -w",
"build:dev": "yarn clean:build && yarn copy:type && rollup -c scripts/rollup/config.js",
"build:prod": "yarn clean:build && yarn clean:size && yarn copy && rollup -c scripts/rollup/config.js --environment BUILD:production",
"lint": "run-s lint:*",
"lint:code": "eslint --fix . --ext .js,.ts,.tsx",
"lint:type": "tsc",
"lint:format": "prettier -w . -u --loglevel silent",
"test": "jest --config scripts/jest/config.js",
"test:watch": "yarn test --watch",
"test:cov": "yarn clean:cov && yarn test --coverage",
"size": "yarn build:prod && bundlesize",
"clean": "run-p clean:*",
"clean:build": "rimraf dist",
"clean:size": "rimraf .size-snapshot.json",
"clean:cov": "rimraf coverage",
"copy": "run-p copy:*",
"copy:cjs": "cpy scripts/rollup/cjsEntryFile.js dist --rename=index.js",
"copy:type": "cpy src/types/react-cool-virtual.d.ts dist --rename=index.d.ts",
"release": "yarn build:prod && changeset publish",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --fix",
"**/*": "prettier -w -u"
},
"dependencies": {
"@babel/runtime": "^7.16.7"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
"@babel/core": "^7.16.10",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.19.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"bundlesize2": "^0.0.31",
"cpy-cli": "^3.1.1",
"eslint": "^8.2.0",
"eslint-config-welly": "^1.13.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"lint-staged": "^12.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.64.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.4"
},
"peerDependencies": {
"react": ">= 16.8.0"
}
}