From 70d45aa1faf50b7d06d5a129b635060bd9d7f070 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 07:06:06 +0000 Subject: [PATCH] Add README, LICENSE, package.json, and CHANGELOG --- package.json | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..f7e14d3 --- /dev/null +++ b/package.json @@ -0,0 +1,68 @@ +{ + "name": "cli-spec-generator", + "version": "1.0.0", + "description": "A CLI tool that generates consistent argument parsers, shell completions, and man pages from YAML/JSON specifications", + "main": "dist/index.js", + "type": "module", + "bin": { + "cli-spec-gen": "./dist/index.js" + }, + "scripts": { + "build": "tsc", + "start": "node dist/index.js", + "dev": "tsc && node dist/index.js", + "watch": "tsc -w", + "lint": "eslint src --ext .ts", + "lint:fix": "eslint src --ext .ts --fix", + "format": "prettier --write src/**/*.ts", + "format:check": "prettier --check src/**/*.ts", + "test": "jest", + "test:watch": "jest --watch", + "test:coverage": "jest --coverage", + "prepare": "npm run build" + }, + "keywords": [ + "cli", + "generator", + "argparse", + "commander", + "clap", + "completions", + "man-page" + ], + "author": "", + "license": "MIT", + "bugs": { + "url": "https://7000pct.gitea.bloupla.net/7000pctAUTO/cli-spec-generator/issues" + }, + "homepage": "https://7000pct.gitea.bloupla.net/7000pctAUTO/cli-spec-generator", + "dependencies": { + "commander": "^11.1.0", + "figlet": "^1.7.0", + "figures": "^3.2.0", + "handlebars": "^4.7.8", + "inquirer": "^9.2.12", + "js-yaml": "^4.1.0", + "ora": "^8.0.1", + "shelljs": "^0.8.5", + "zod": "^3.22.4" + }, + "devDependencies": { + "@types/inquirer": "^9.0.7", + "@types/jest": "^29.5.11", + "@types/js-yaml": "^4.0.9", + "@types/node": "^20.10.5", + "@types/shelljs": "^0.8.15", + "@typescript-eslint/eslint-plugin": "^6.15.0", + "@typescript-eslint/parser": "^6.15.0", + "eslint": "^8.56.0", + "jest": "^29.7.0", + "prettier": "^3.1.1", + "ts-jest": "^29.1.1", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" + }, + "engines": { + "node": ">=18.0.0" + } +}