-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
44 lines (44 loc) · 1.11 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
{
"name": "prokrutchik",
"version": "3.0.2",
"description": "Draggable content scroller.",
"keywords": [
"scroller",
"scroll",
"drag",
"drag-n-drop"
],
"type": "module",
"types": "scroller.d.ts",
"module": "scroller.js",
"exports": {
".": "./scroller.js",
"./package.json": "./package.json",
"./browser.js": "./scroller.browser.js",
"./styles.css": "./scroller.css"
},
"files": [
"scroller.js",
"scroller.browser.js",
"scroller.css",
"scroller.d.ts"
],
"engines": {
"node": ">=14.16"
},
"author": "Alex Bespoyasov <bespoyasov@me.com>",
"repository": "bespoyasov/scroller",
"license": "MIT",
"scripts": {
"lint": "npx eslint src/**",
"prebuild": "npm run lint",
"prepublish": "npm run build",
"build:module": "npx esbuild ./src --bundle --format=esm --minify --outfile=scroller.js",
"build:browser": "npx esbuild ./src --bundle --format=iife --minify --outfile=scroller.browser.js",
"build": "npm run build:module & npm run build:browser"
},
"devDependencies": {
"esbuild": "^0.19.5",
"eslint": "^8.15.0"
}
}