-
-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2 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
{
"name": "@wmh/scrollbox",
"version": "2.0.0",
"description": "Modern vanilla JavaScript scrollbox plugin for carousels and marquees. Zero dependencies. jQuery wrapper included for backward compatibility.",
"homepage": "https://github.com/wmh/scrollbox",
"main": "scrollbox.js",
"exports": {
".": {
"import": "./scrollbox.js",
"require": "./scrollbox.js"
},
"./jquery": "./jquery.scrollbox.js"
},
"type": "module",
"types": "scrollbox.d.ts",
"files": [
"scrollbox.js",
"scrollbox.d.ts",
"jquery.scrollbox.js",
"jquery.scrollbox.min.js",
"dist/",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wmh/scrollbox.git"
},
"keywords": [
"scrollbox",
"carousel",
"marquee",
"scroll",
"vanilla-js",
"vanilla-javascript",
"zero-dependencies",
"no-dependencies",
"es6",
"modern",
"typescript",
"jquery",
"scroller",
"ticker"
],
"author": {
"name": "Hunter Wu",
"url": "https://github.com/wmh/",
"email": "hunter.wu@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/wmh/scrollbox/issues"
},
"scripts": {
"build": "npm run build:modern && npm run build:legacy && npm run minify",
"build:modern": "rollup -c",
"build:legacy": "babel scrollbox.js -o dist/scrollbox.es5.js",
"minify": "terser dist/scrollbox.js -o dist/scrollbox.min.js --compress --mangle && terser jquery.scrollbox.js -o jquery.scrollbox.min.js --compress --mangle",
"lint": "eslint scrollbox.js jquery.scrollbox.js",
"test": "echo \"No tests specified yet\" && exit 0"
},
"devDependencies": {
"@babel/cli": "^7.24.0",
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"eslint": "^8.57.0",
"rollup": "^4.18.0",
"terser": "^5.31.0"
},
"engines": {
"node": ">=14.0.0"
}
}