-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.67 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.67 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
{
"name": "@skax/drag-scroll",
"version": "2.0.0",
"description": "drag scroll component for js framework, support mobile and pc",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"dev": "cross-env NODE_ENV=development rollup --config rollup.config.mjs --watch",
"build": "pnpm run clean && cross-env NODE_ENV=production rollup --config rollup.config.mjs && pnpm run docs",
"docs": "rimraf docs && typedoc --out docs src/index.ts",
"clean": "rimraf dist docs temp",
"lint": "eslint --fix \"./src/*.{ts,tsx,js,jsx,mjs}\"",
"fmt": "prettier --write \"./**/*.{ts,tsx,js,jsx,html,scss}\"",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"keywords": [
"drag-scroll",
"scroll",
"scroll-drag"
],
"author": "ShineShao <xiaoshaoqq@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-node-resolve": "^15.3.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.6",
"@skax/camel": "^0.2.6",
"@swc/core": "^1.11.29",
"@testing-library/dom": "^10.4.1",
"@types/jest": "^30.0.0",
"autoprefixer": "^10.4.21",
"cross-env": "^10.1.0",
"cssnano": "^7.0.7",
"dayjs": "^1.11.13",
"eslint": "^9.38.0",
"eslint-config-xx": "2.1.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"postcss": "^8.5.3",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.41.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-serve": "^2.0.3",
"sass": "^1.89.0",
"ts-jest": "^29.4.6",
"typedoc": "^0.28.14",
"typedoc-plugin-mdn-links": "^5.0.10",
"typedoc-plugin-rename-defaults": "^0.7.3",
"typedoc-plugin-replace-text": "^4.2.0",
"typescript": "5.3.3"
},
"files": [
"dist",
"CHANGELOG.md",
"README.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"browserslist": {
"development": [
"last 1 version"
],
"production": [
"> 1%",
"not dead"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/freeshineit/drag-scroll.git"
},
"bugs": {
"url": "https://github.com/freeshineit/drag-scroll/issues"
},
"homepage": "https://github.com/freeshineit/drag-scroll#readme"
}