move to vitest (#18)

* feat: move to vitest

* fix: lock file

* fix: tests running sequentially on same port

* fix lock file

---------

Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
This commit is contained in:
Matt 2025-11-13 13:32:07 +00:00 • committed by GitHub
commit aeceefa9cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,8 @@
},
"scripts": {
"start": "tsx src/index.ts",
"test": "jest",
"test": "vitest run",
"test:watch": "vitest",
"build": "tsdown src/index.ts --minify --clean --target node20",
"lint": "eslint src/ examples/ && prettier --check .",
"lint:fix": "eslint src/ examples/ --fix && prettier --write .",
@ -29,19 +30,17 @@
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@jest/globals": "^29.7.0",
"@types/express": "^5.0.3",
"@types/jest": "^29.5.8",
"@types/node": "^22.10.2",
"@typescript/native-preview": "^7.0.0-dev.20251111.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.1.8",
"jest": "^29.7.0",
"prettier": "3.6.2",
"ts-jest": "^29.1.1",
"tsdown": "^0.16.2",
"tsx": "^4.7.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0"
"typescript-eslint": "^8.0.0",
"vitest": "^2.1.8"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.20.1",