-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
19 lines (18 loc) · 848 Bytes
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"imports": {
"std/": "https://deno.land/[email protected]/",
"nanoevents": "https://esm.sh/[email protected]",
"nanoid": "https://esm.sh/[email protected]",
"react": "https://esm.sh/react@18",
// importing modules with .ts extension works in Deno, but
// isn't supported by TypeScript
// https://github.com/microsoft/TypeScript/issues/27481
"./src/bully.js": "./src/bully.ts",
"./src/protocol.js": "./src/protocol.ts"
},
"tasks": {
"dev": "deno run --allow-all https://deno.land/x/[email protected]/cli.ts serve -i web/import-map.json -s web/static web/index.html",
"build-web": "deno run --allow-all https://deno.land/x/[email protected]/cli.ts build --dist-dir web/out -i web/import-map.json -s web/static web/index.html",
"compile": "deno run --allow-env --allow-write --allow-read npm:typescript/tsc"
}
}