2024-01-23 14:13:26 +01:00
|
|
|
{
|
|
|
|
"tasks": {
|
2024-01-23 15:13:01 +01:00
|
|
|
"serve": "deno run --allow-env --allow-read --allow-write --allow-net --watch=./client,./script.tsx,./style.css ./server.tsx",
|
|
|
|
"compile": "deno task compile:win & deno task compile:lin",
|
|
|
|
"compile:win": "deno compile --allow-env --allow-read --allow-write --allow-net --target=x86_64-pc-windows-msvc ./server.tsx",
|
|
|
|
"compile:lin": "deno compile --allow-env --allow-read --allow-write --allow-net --target=x86_64-unknown-linux-gnu ./server.tsx"
|
2024-01-23 14:13:26 +01:00
|
|
|
},
|
|
|
|
"fmt": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"semiColons": false,
|
|
|
|
"useTabs": true
|
|
|
|
},
|
|
|
|
"compilerOptions": {
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
"jsxImportSource": "preact"
|
|
|
|
},
|
|
|
|
"imports": {
|
|
|
|
"preact": "https://esm.sh/preact@10.19.3",
|
|
|
|
"preact/": "https://esm.sh/preact@10.19.3/",
|
|
|
|
"preact-render-to-string": "https://esm.sh/preact-render-to-string@6.3.1",
|
|
|
|
"vis-network": "https://esm.sh/vis-network@9.1.9",
|
|
|
|
"emit": "https://deno.land/x/emit@0.34.0/mod.ts"
|
|
|
|
}
|
|
|
|
}
|