Skip to content

Commit 7c0fac6

Browse files
committed
chore: BunでNode.jsのプロジェクトを初期化
1 parent 13006cb commit 7c0fac6

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

bun.lockb

3.07 KB
Binary file not shown.

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "typst-jp.github.io",
3+
"type": "module",
4+
"devDependencies": {
5+
"@types/bun": "latest"
6+
},
7+
"peerDependencies": {
8+
"typescript": "^5.0.0"
9+
}
10+
}

tsconfig.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"compilerOptions": {
3+
// Enable latest features
4+
"lib": ["ESNext", "DOM"],
5+
"target": "ESNext",
6+
"module": "ESNext",
7+
"moduleDetection": "force",
8+
"jsx": "react-jsx",
9+
"allowJs": true,
10+
11+
// Bundler mode
12+
"moduleResolution": "bundler",
13+
"allowImportingTsExtensions": true,
14+
"verbatimModuleSyntax": true,
15+
"noEmit": true,
16+
17+
// Best practices
18+
"strict": true,
19+
"skipLibCheck": true,
20+
"noFallthroughCasesInSwitch": true,
21+
22+
// Some stricter flags (disabled by default)
23+
"noUnusedLocals": false,
24+
"noUnusedParameters": false,
25+
"noPropertyAccessFromIndexSignature": false
26+
}
27+
}

0 commit comments

Comments
 (0)