diff --git a/bun.lockb b/bun.lockb index 87174c7..a45f0b2 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 4eadae1..e8bd7aa 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,12 @@ "main": "main.js", "scripts": { "dev": "node esbuild.config.mjs", - "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production", + "build": "bun run check && bun run compile && node esbuild.config.mjs production", "guardgen": "ts-auto-guard", - "test": "jest --config jest.config.js" + "compile": "tsc -noEmit -skipLibCheck", + "check": "svelte-check --tsconfig ./tsconfig.json", + "test": "jest --config jest.config.js", + "lint": "eslint --ext .ts,.js,.svelte ." }, "keywords": [], "author": "DecafDev", @@ -25,6 +28,7 @@ "esbuild-svelte": "^0.8.0", "jest": "^29.7.0", "obsidian": "latest", + "svelte-check": "^3.8.4", "svelte-preprocess": "^5.1.4", "ts-auto-guard": "^5.0.0", "ts-jest": "^29.1.4", diff --git a/tsconfig.json b/tsconfig.json index 75be12a..10ea99f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,6 @@ }, "include": [ "**/*.ts", + "**/*.svelte", ] }