right package stuff

This commit is contained in:
Niccolo Borgioli 2024-08-22 20:21:05 +02:00
parent 784c54236b
commit 145f9ef18f
2 changed files with 822 additions and 126 deletions

View File

@ -9,7 +9,7 @@
}, },
"type": "module", "type": "module",
"exports": { "exports": {
".": "./dist/index.mjs" ".": "./dist/index.js"
}, },
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"bin": { "bin": {
@ -20,8 +20,7 @@
], ],
"scripts": { "scripts": {
"bin": "run-s build package", "bin": "run-s build package",
"build": "rm -rf dist && tsc && ./scripts/build.js", "build": "rm -rf dist && tsc && tsup ./src/index.ts ./src/cli.ts --dts --format esm,cjs --minify",
"dev": "./scripts/build.js --watch",
"prepublishOnly": "run-s build" "prepublishOnly": "run-s build"
}, },
"devDependencies": { "devDependencies": {
@ -31,11 +30,11 @@
"@types/mime": "^3.0.4", "@types/mime": "^3.0.4",
"@types/node": "^20.11.24", "@types/node": "^20.11.24",
"commander": "^12.0.0", "commander": "^12.0.0",
"esbuild": "^0.20.1",
"inquirer": "^9.2.15", "inquirer": "^9.2.15",
"mime": "^4.0.1", "mime": "^4.0.1",
"occulto": "^2.0.3", "occulto": "^2.0.3",
"pretty-bytes": "^6.1.1", "pretty-bytes": "^6.1.1",
"tsup": "^8.2.4",
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"engines": { "engines": {

File diff suppressed because it is too large Load Diff