Skip to content

Commit f513a51

Browse files
committed
feat: migrate to vite/vitest
1 parent 8fc186e commit f513a51

File tree

6 files changed

+597
-46
lines changed

6 files changed

+597
-46
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"build": "tsc",
7+
"build": "vite build",
88
"clean": "rm -rf dist",
99
"typecheck": "tsc --noEmit",
1010
"lint": "eslint \"**/*.{ts,js}\"",
1111
"lint:fix": "eslint --fix \"**/*.{ts,js}\"",
1212
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
1313
"format:check": "prettier --check \"**/*.{ts,js,json,md}\"",
14-
"test": "NODE_ENV=test node --test --import tsx",
15-
"test:watch": "NODE_ENV=test node --test --watch --import tsx",
16-
"dev": "tsx src/agent.ts dev",
14+
"test": "vitest --run",
15+
"test:watch": "vitest",
16+
"dev": "pnpm run build && node dist/agent.js dev",
1717
"download-files": "pnpm run build && node dist/agent.js download-files",
1818
"start": "node dist/agent.js start"
1919
},
@@ -27,10 +27,10 @@
2727
"@types/node": "^22.19.7",
2828
"eslint": "^9.39.2",
2929
"globals": "^16.5.0",
30-
"jiti": "^2.6.1",
31-
"tsx": "^4.21.0",
3230
"typescript": "^5.9.3",
33-
"typescript-eslint": "^8.53.1"
31+
"typescript-eslint": "^8.53.1",
32+
"vite": "^7.3.1",
33+
"vitest": "^4.0.18"
3434
},
3535
"dependencies": {
3636
"@livekit/agents": "^1.0.38",

0 commit comments

Comments
 (0)