chore: update package.json to reflect reality
This commit is contained in:
parent
43c3402931
commit
6392cf3b76
2 changed files with 6 additions and 8 deletions
12
package.json
12
package.json
|
|
@ -1,18 +1,16 @@
|
|||
{
|
||||
"name": "lmc",
|
||||
"module": "index.ts",
|
||||
"main": "dist/index.js",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"bin": {
|
||||
"lmc": "dist/index.js"
|
||||
"lmc": "dist/lmc"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsx index.ts",
|
||||
"prod": "node dist/index.js",
|
||||
"dev": "pnpm run bundle &>/dev/null && node dist/index.cjs",
|
||||
"check": "biome check --write && pnpm run tc",
|
||||
"build": "pnpm run check && pnpm run bundle && pnpm run bin",
|
||||
"bundle": "esbuild index.ts --bundle --outdir=dist --platform=node --target=node22",
|
||||
"build": "pnpm run check && pnpm run bundle --minify && pnpm run bin",
|
||||
"bundle": "esbuild index.ts --bundle --outfile=dist/index.cjs --platform=node",
|
||||
"bin": "node --build-sea sea-config.json",
|
||||
"tc": "tsc --noEmit --incremental"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"main": "dist/index.js",
|
||||
"main": "dist/index.cjs",
|
||||
"output": "dist/lmc",
|
||||
"useCodeCache": true,
|
||||
"disableExperimentalSEAWarning": true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue