Files
taskgraph_ts/package.json
glm-5.1 167dde68f4 feat(setup/test-infrastructure): configure Vitest with shared test fixtures and helpers
- Add test:coverage script and @vitest/coverage-v8 dev dependency
- Update vitest.config.ts with @/ path alias and v8 coverage config
- Create test/fixtures/graphs.ts with 5 fixture graphs (linearChain,
  diamond, mixedCategory, cyclic, largeGraph) and createTaskGraph helper
- Expand graph.test.ts with 26 fixture validation tests
- 30 tests passing, CI-compatible output (vitest run)
2026-04-27 10:48:35 +00:00

59 lines
1.3 KiB
JSON

{
"name": "@alkdev/taskgraph",
"version": "0.0.1",
"description": "Task graph library — directed acyclic graph analysis, risk scoring, and YAML frontmatter for task management",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"keywords": [
"taskgraph",
"dag",
"critical-path",
"risk-analysis",
"graphology"
],
"license": "MIT",
"dependencies": {
"@alkdev/typebox": "^0.34.49",
"graphology": "^0.26.0",
"graphology-components": "^1.5.4",
"graphology-dag": "^0.4.1",
"graphology-metrics": "^2.4.0",
"graphology-operators": "^1.6.1",
"yaml": "^2.8.3"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.2.4",
"typescript": "^5.7.0",
"vitest": "^3.1.0"
},
"engines": {
"node": ">=18.0.0"
}
}