-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
22 lines (22 loc) · 833 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "@codewithkyle/router",
"version": "2.1.3",
"description": "A Web Component based declarative routing library.",
"main": "router.min.mjs",
"types": "router.d.ts",
"files": [
"router.min.mjs",
"router.min.js",
"router.d.ts"
],
"scripts": {
"build": "esbuild ./src/router.ts --outfile=router.min.mjs --format=esm --minify --bundle && esbuild ./src/router.ts --outfile=router.min.js --format=iife --bundle --minify-whitespace --global-name=Router",
"test": "npm run build && cp ./router.min.js ./test/router.min.js && cp ./router.min.mjs ./test/router.min.mjs && serve ./test"
},
"author": "Kyle Andrews <codingwithkyle@gmail.com>",
"license": "MIT",
"devDependencies": {
"esbuild": "^0.14.25",
"serve": "^13.0.2"
}
}