Switch to deno
This commit is contained in:
39
deno.json
Normal file
39
deno.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"lock": false,
|
||||
"tasks": {
|
||||
"build": "deno run -A tools/build.ts",
|
||||
"serve": "deno run -A src/server/index.ts"
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
"tags": [
|
||||
"recommended"
|
||||
]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"dist"
|
||||
],
|
||||
"imports": {
|
||||
"react/": "https://esm.sh/react@18.3.1/",
|
||||
"react-dom/": "https://esm.sh/react-dom@18.3.1/client/",
|
||||
"react": "https://esm.sh/react@18.3.1",
|
||||
"react-dom": "https://esm.sh/react-dom@18.3.1/client",
|
||||
"canvas": "https://esm.sh/canvas@3.0.0"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"lib": ["deno.ns", "DOM"],
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "react",
|
||||
"strict": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"allowUnusedLabels": false
|
||||
},
|
||||
"fmt": {
|
||||
"useTabs": true
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user