-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
27 lines (27 loc) · 1017 Bytes
/
deno.jsonc
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
{
"tasks": {
"clear-dist": "rm -rf dist/*",
"copy-files-to-dist": "deno run -A https://raw.githubusercontent.com/DenoPlayground/CopyFiles/main/cli.ts ./src/client/ ./dist/ --exts=.html",
"build-ts": "deno run -A https://deno.land/x/[email protected]/mod.js --bundle --minify --target=es2022 --outdir=dist/ --entry-names=\"[dir]/bundle.min\" \"./src/client/**/index.ts\"",
"build-sass": "deno run -A https://deno.land/x/[email protected]/cli.ts",
"build": "deno task clear-dist; deno task copy-files-to-dist & deno task build-ts & deno task build-sass",
"build-help": "deno run -A https://deno.land/x/[email protected]/mod.js --help"
},
"exclude": [
"**/*.test.ts"
],
"test": {
"include": [
"**/*.test.ts"
]
},
"compilerOptions": {
"allowImportingTsExtensions": true,
"target": "es2022",
"module": "es2022",
"lib": [
"dom",
"dom.iterable"
]
}
}