-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 1.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
{
"name": "rc-seamless-scroll",
"author": {
"name": "llq0802",
"email": "[email protected]"
},
"description": "一个还不错的react无缝滚动和单步滚动",
"version": "1.0.0",
"license": "MIT",
"homepage": "https://github.com/llq0802/rc-seamless-scroll",
"repository": {
"type": "git",
"url": "https://github.com/llq0802/rc-seamless-scroll"
},
"main": "dist/index.js",
"module": "dist/rc-seamless-scroll.esm.js",
"unpkg": "dist/index.js",
"typings": "dist/index.d.ts",
"keywords": [
"react-seamless-scroll",
"rc-seamless-scroll",
"step-scroll",
"seamless",
"scroll",
"step"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 100,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/rc-seamless-scroll.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/rc-seamless-scroll.esm.js",
"limit": "10 KB"
}
],
"dependencies": {
"throttle-debounce": "^5.0.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.0",
"@types/react": "^17.0.2",
"autoprefixer": "^10.4.11",
"cssnano": "^5.1.13",
"husky": "^8.0.1",
"less": "^4.1.3",
"postcss": "^8.4.16",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^8.1.0",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.8.3"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"engines": {
"node": ">=10"
}
}