reverse cli command

This commit is contained in:
Gregor Lohaus
2026-05-22 09:09:56 +02:00
parent bda6e8cc40
commit 28a2a771e8
7 changed files with 321 additions and 3 deletions

View File

@@ -5,6 +5,9 @@
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"tdir": "./dist/cli.js"
},
"exports": {
".": {
"import": "./dist/index.js",
@@ -13,7 +16,7 @@
},
"files": ["dist"],
"scripts": {
"build": "bun build ./index.ts --outdir ./dist --target node --external zod && bunx tsc --project tsconfig.build.json",
"build": "bun build ./index.ts ./cli.ts --outdir ./dist --target node --external zod && bunx tsc --project tsconfig.build.json",
"test": "bun test"
},
"devDependencies": {