chore: update package.json to reflect reality

This commit is contained in:
mitchell 2026-06-01 00:44:10 -04:00
parent 43c3402931
commit 6392cf3b76
2 changed files with 6 additions and 8 deletions

View file

@ -1,18 +1,16 @@
{ {
"name": "lmc", "name": "lmc",
"module": "index.ts", "module": "index.ts",
"main": "dist/index.js", "type": "module",
"type": "commonjs",
"private": true, "private": true,
"bin": { "bin": {
"lmc": "dist/index.js" "lmc": "dist/lmc"
}, },
"scripts": { "scripts": {
"dev": "tsx index.ts", "dev": "pnpm run bundle &>/dev/null && node dist/index.cjs",
"prod": "node dist/index.js",
"check": "biome check --write && pnpm run tc", "check": "biome check --write && pnpm run tc",
"build": "pnpm run check && pnpm run bundle && pnpm run bin", "build": "pnpm run check && pnpm run bundle --minify && pnpm run bin",
"bundle": "esbuild index.ts --bundle --outdir=dist --platform=node --target=node22", "bundle": "esbuild index.ts --bundle --outfile=dist/index.cjs --platform=node",
"bin": "node --build-sea sea-config.json", "bin": "node --build-sea sea-config.json",
"tc": "tsc --noEmit --incremental" "tc": "tsc --noEmit --incremental"
}, },

View file

@ -1,5 +1,5 @@
{ {
"main": "dist/index.js", "main": "dist/index.cjs",
"output": "dist/lmc", "output": "dist/lmc",
"useCodeCache": true, "useCodeCache": true,
"disableExperimentalSEAWarning": true "disableExperimentalSEAWarning": true