-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
26 lines (26 loc) · 1010 Bytes
/
deno.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
{
"name": "@kt3k/capsule",
"version": "0.6.1",
"exports": {
".": "./mod.ts"
},
"compilerOptions": {
"lib": ["deno.ns", "deno.unstable", "dom", "esnext"]
},
"exclude": ["node", "dist.js", "dist.min.js"],
"tasks": {
"test": "deno test -A",
"cov": "deno test --coverage -A",
"lcov": "deno coverage --lcov cov > lcov.info",
"html_cov": "deno coverage --html",
"dist": "deno run -A jsr:@kt3k/pack mod.ts > dist.js",
"min": "deno run -A npm:terser --compress --mangle --toplevel -o dist.min.js -- dist.js",
"size": "deno run --allow-read https://deno.land/x/[email protected]/cli.ts --include-original dist.min.js",
"twd": "deno run -A --allow-read=. --allow-write=style.css --allow-net=deno.land,esm.sh,cdn.esm.sh https://deno.land/x/[email protected]/cli.ts -o style.css index.html",
"twd-w": "deno task twd -- -w",
"start": "deno run --allow-read=. --allow-net=0.0.0.0:8000 deploy.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@^0.226.0"
}
}