Port full PRD wizard implementation: types, YAML persistence (js-yaml), built-in templates (software/feature/spike), @clack/prompts interactive wizard, and Commander.js CLI (init/list/show). Adapted for v1 conventions: ESM .js imports, NodeNext resolution, noUncheckedIndexedAccess-safe lookups, and consistent-type-imports lint rule. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
630 B
JSON
31 lines
630 B
JSON
{
|
|
"name": "@mosaic/prdy",
|
|
"version": "0.0.0",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.9.0",
|
|
"commander": "^12.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"zod": "^3.22.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^2.0.0"
|
|
}
|
|
}
|