Files
taskgraph_ts/package.json
glm-5.1 039a6ccfe1 fix: address review findings — CJS build (tsup), workflowCost signature, bottlenecks empty-graph test
- C1(critical): Replace tsc build with tsup for dual ESM + CJS output
- W2(warning): Change workflowCost to accept TaskGraph instead of TaskGraphInner
- S1(suggestion): Add test for bottlenecks empty-graph early return
- S2(suggestion): Document dangling-reference detection is unreachable via public API
2026-04-27 19:56:43 +00:00

61 lines
1.4 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": "tsup",
"build:tsc": "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",
"tsup": "^8.5.1",
"typescript": "^5.7.0",
"vitest": "^3.1.0"
},
"engines": {
"node": ">=18.0.0"
}
}