Files
claude-task-master/packages/tm-core/package.json
Ralph Khreish 03d145c2af feat: migrate to Bun for development
- Replace tsdown with Bun.build() for bundling
- Add bunfig.toml and tests/setup.ts for Bun test config
- Update CI to use Bun for install and build
- Update all package test scripts to use vitest (Node runtime)
- Remove deprecated deps: jest, ts-jest, tsdown, tsx, cross-env
- Delete jest.config.js, jest.resolver.cjs, tsdown.config.ts

Build: Bun bundler (faster than tsdown/esbuild)
Install: Bun package manager (bun.lock)
Tests: Vitest on Node (Bun runtime has Zod SSR issues)
Distribution: Node-compatible output unchanged

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:48:32 +01:00

58 lines
1.7 KiB
JSON

{
"name": "@tm/core",
"private": true,
"description": "Core library for Task Master - TypeScript task management system",
"type": "module",
"types": "./src/index.ts",
"main": "./dist/index.js",
"exports": {
".": "./src/index.ts",
"./testing": "./src/testing/index.ts",
"./auth": "./src/auth/index.ts",
"./storage": "./src/storage/index.ts",
"./config": "./src/config/index.ts",
"./providers": "./src/providers/index.ts",
"./services": "./src/services/index.ts",
"./errors": "./src/errors/index.ts",
"./logger": "./src/logger/index.ts",
"./types": "./src/types/index.ts",
"./interfaces": "./src/interfaces/index.ts",
"./utils": "./src/utils/index.ts"
},
"scripts": {
"test": "vitest run --coverage=false",
"test:unit": "vitest run --coverage=false '**/*.spec.ts'",
"test:integration": "vitest run --coverage=false '**/*.test.ts'",
"test:watch": "vitest --coverage=false",
"test:coverage": "vitest run --coverage",
"lint": "biome check --write",
"lint:check": "biome check",
"lint:fix": "biome check --fix --unsafe",
"format": "biome format --write",
"format:check": "biome format",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@supabase/supabase-js": "^2.57.4",
"date-fns": "^4.1.0",
"fs-extra": "^11.3.2",
"proper-lockfile": "^4.1.2",
"simple-git": "^3.28.0",
"steno": "^4.0.2",
"zod": "^4.1.11"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/proper-lockfile": "^4.1.4",
"@types/node": "^22.10.5",
"@vitest/coverage-v8": "^4.0.10",
"strip-literal": "3.1.0",
"typescript": "^5.9.2",
"vitest": "^4.0.10"
},
"files": ["src", "README.md", "CHANGELOG.md"],
"keywords": ["task-management", "typescript", "ai", "prd", "parser"],
"author": "Task Master AI",
"version": ""
}