diff --git a/package.json b/package.json index 38c7ed1..11bdf4e 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,13 @@ "description": "Quickly create a local development environment for your TypeScript project.", "author": "vaaski ", "license": "MIT", - "files": [ - "dist", - "templates" - ], + "files": ["dist", "templates"], "scripts": { "start": "bun run src/index.ts", "dev": "bun run --watch src/index.ts", "build": "bun run scripts/build.ts", "test": "echo no tests yet", - "format": "biome format --write src scripts", + "format": "biome format --write src scripts *.json", "prepare": "bun run build" }, "devDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 564fec8..f99048c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,28 +1,28 @@ -{ - "compilerOptions": { - // Enable latest features - "lib": ["ESNext", "DOM"], - "target": "ESNext", - "module": "ESNext", - "moduleDetection": "force", - "jsx": "react-jsx", - "allowJs": true, - - // Bundler mode - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "verbatimModuleSyntax": true, - "noEmit": true, - - // Best practices - "strict": true, - "skipLibCheck": true, - "noFallthroughCasesInSwitch": true, - "noUncheckedIndexedAccess": true, - - // Some stricter flags (disabled by default) - "noUnusedLocals": false, - "noUnusedParameters": false, - "noPropertyAccessFromIndexSignature": false - } -} +{ + "compilerOptions": { + // Enable latest features + "lib": ["ESNext", "DOM"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +}