-
Notifications
You must be signed in to change notification settings - Fork 9
/
deno.json
49 lines (49 loc) · 1.28 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"imports": {
"testing/": "https://deno.land/std@0.213.0/testing/",
"dnt": "https://deno.land/x/dnt@0.39.0/mod.ts"
},
"fmt": {
"include": [
"README.md",
"CHANGES.md",
"deno.json",
"dnt.ts",
"mod.ts",
"samples/",
"src/",
"test/"
],
"exclude": [
"core",
"x",
"**/*/hpke*.js",
"samples/node/node_modules",
"samples/ts-node/node_modules",
"test/runtimes/bun",
"test/runtimes/browsers/node_modules",
"test/runtimes/cloudflare"
]
},
"lint": {
"include": ["mod.ts", "samples/", "src/", "test/"],
"exclude": [
"core",
"x",
"**/*/hpke*.js",
"samples/node/node_modules",
"samples/ts-node/node_modules",
"samples/ts-webpack/*.js",
"samples/ts-webpack/dist",
"test/runtimes/bun",
"test/runtimes/browsers/node_modules",
"test/runtimes/cloudflare"
]
},
"tasks": {
"test": "deno fmt && deno lint && deno test test -A --fail-fast --doc --coverage=coverage --parallel --allow-read",
"cov": "deno coverage ./coverage --lcov --exclude='test'",
"dnt": "deno run -A dnt.ts $(git describe --tags $(git rev-list --tags --max-count=1))",
"minify": "esbuild npm/esm/mod.js --bundle --format=esm --minify"
}
}