69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|