-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 857 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "@codewithkyle/lazy-loader",
"version": "1.1.0",
"description": "A lightweight Web Component based lazy loading library.",
"main": "lazy-loader.min.mjs",
"types": "lazy-loader.d.ts",
"files": [
"lazy-loader.min.mjs",
"lazy-loader.min.js",
"lazy-loader.d.ts"
],
"scripts": {
"build": "esbuild ./src/lazy-loader.ts --outfile=lazy-loader.min.mjs --format=esm --minify --bundle && esbuild ./src/lazy-loader.ts --outfile=lazy-loader.min.js --format=iife --bundle --minify-whitespace --global-name=LazyLoader",
"test": "npm run build && cp ./lazy-loader.min.js ./test/lazy-loader.min.js && cp ./lazy-loader.min.mjs ./test/lazy-loader.min.mjs && serve ./test"
},
"author": "Kyle Andrews <codingwithkyle@gmail.com>",
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"serve": "^14.2.1"
}
}