feat: add vitest, vite, move to tdd

This commit is contained in:
2026-07-13 07:07:44 +05:00
parent 4704a1d5a0
commit 62862beb06
18 changed files with 2043 additions and 346 deletions
+9 -5
View File
@@ -88,17 +88,21 @@
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"build": "vite build",
"watch": "vite build --watch",
"vscode:prepublish": "npm run build",
"lint": "tsc --noEmit",
"format": "prettier --write ."
"format": "prettier --write .",
"test": "vitest",
"test:run": "vitest run"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.96.0",
"typescript": "^5.7.0"
"typescript": "^5.7.0",
"vite": "^8.1.4",
"vitest": "^4.1.10"
},
"dependencies": {
"gray-matter": "^4.0.3",