119 lines
3.5 KiB
JSON
119 lines
3.5 KiB
JSON
{
|
|
"name": "@suaveplan/cli",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Zero-dependency CLI toolkit: argument parser, command router, ANSI styling, output formatting, spinner, progress bar, interactive prompts",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./errors/errors": {
|
|
"import": {
|
|
"types": "./dist/errors/errors.d.ts",
|
|
"default": "./dist/errors/errors.js"
|
|
}
|
|
},
|
|
"./parser/parser": {
|
|
"import": {
|
|
"types": "./dist/parser/parser.d.ts",
|
|
"default": "./dist/parser/parser.js"
|
|
}
|
|
},
|
|
"./command/command": {
|
|
"import": {
|
|
"types": "./dist/command/command.d.ts",
|
|
"default": "./dist/command/command.js"
|
|
}
|
|
},
|
|
"./app/app": {
|
|
"import": {
|
|
"types": "./dist/app/app.d.ts",
|
|
"default": "./dist/app/app.js"
|
|
}
|
|
},
|
|
"./style/style": {
|
|
"import": {
|
|
"types": "./dist/style/style.d.ts",
|
|
"default": "./dist/style/style.js"
|
|
}
|
|
},
|
|
"./output/format/format": {
|
|
"import": {
|
|
"types": "./dist/output/format/format.d.ts",
|
|
"default": "./dist/output/format/format.js"
|
|
}
|
|
},
|
|
"./output/table/table": {
|
|
"import": {
|
|
"types": "./dist/output/table/table.d.ts",
|
|
"default": "./dist/output/table/table.js"
|
|
}
|
|
},
|
|
"./spinner/spinner": {
|
|
"import": {
|
|
"types": "./dist/spinner/spinner.d.ts",
|
|
"default": "./dist/spinner/spinner.js"
|
|
}
|
|
},
|
|
"./progress/progress": {
|
|
"import": {
|
|
"types": "./dist/progress/progress.d.ts",
|
|
"default": "./dist/progress/progress.js"
|
|
}
|
|
},
|
|
"./prompt/prompt": {
|
|
"import": {
|
|
"types": "./dist/prompt/prompt.d.ts",
|
|
"default": "./dist/prompt/prompt.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts .",
|
|
"bench": "bun run src/__benchmarks__/parser-throughput.bench.ts && bun run src/__benchmarks__/app-run.bench.ts"
|
|
},
|
|
"dependencies": {
|
|
"@suaveplan/readline": "workspace:^",
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"zod": "catalog:forms",
|
|
"tslib": "catalog:build"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"fast-check": "catalog:testing",
|
|
"mitata": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": ["dist", "src", "README.md"]
|
|
}
|