generated from leviosa42/template-deno-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.jsonc
44 lines (44 loc) · 1.42 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"compilerOptions": { // https://docs.deno.com/runtime/manual/advanced/typescript/configuration/
"jsx": "react-jsx", // use "react-jsx" or "react-jsxdev" for React@^17.
"lib": [
"deno.ns",
"dom",
"dom-iterable"
],
"types": ["./types/index.d.ts"]
},
"fmt": { // `deno fmt`: https://docs.deno.com/runtime/manual/tools/formatter/
"indentWidth": 2,
"lineWidth": 120,
"semiColons": true,
"singleQuote": true,
"useTabs": false,
"exclude": [
"node_modules/",
".vite/"
]
},
"lint": { // `deno lint`: https://docs.deno.com/runtime/manual/tools/linter/
"rules": { // rules: https://lint.deno.land/
"tags": ["recommended"]
}
},
"tasks": { // `deno task`: https://docs.deno.com/runtime/manual/tools/task_runner/
"dev": "deno run -A npm:vite",
"build": "deno run -A npm:vite build",
"preview": "deno run -A npm:vite preview",
"serve": "deno run --allow-net --allow-read --allow-sys https://deno.land/std/http/file_server.ts dist/"
},
"nodeModulesDir": true,
"imports": {
"@types/react": "npm:@types/react@^18.3.4",
"@types/react-dom": "npm:@types/react-dom@^18.3.0",
"@vitejs/plugin-react": "npm:@vitejs/plugin-react@^4.3.1",
"react": "npm:react@^18.3.1",
"react-dom": "npm:react-dom@^18.3.1",
"use-sound": "npm:use-sound@^4.0.3",
"vite": "npm:vite@^5.4.2",
"vite-plugin-pwa": "npm:vite-plugin-pwa@^0.20.5"
}
}