chore: update build scripts and refine markdown rendering
This commit is contained in:
parent
bbee38be80
commit
4912864a75
3 changed files with 12 additions and 12 deletions
13
package.json
13
package.json
|
|
@ -4,17 +4,18 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"bin": {
|
||||
"lmc": "dist/index.js"
|
||||
"lmc": "dist/index.js",
|
||||
"ttsc": "dist/tts.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "pnpm run bundle &>/dev/null && node dist/index.js",
|
||||
"check": "biome check --write && pnpm run tc",
|
||||
"clean": "rm -rf dist",
|
||||
"build": "pnpm run check && pnpm run bundle --minify",
|
||||
"build:bin": "pnpm run check && pnpm run bundle:bin --minify && pnpm run bin",
|
||||
"bundle": "rolldown index.ts --dir=dist --platform=node",
|
||||
"bundle:bin": "rolldown index.ts --dir=dist --platform=node --no-code-splitting --format=cjs",
|
||||
"bin": "node --build-sea sea-config.json",
|
||||
"build": "pnpm run check && pnpm run bundle --minify index.ts && pnpm run bundle --minify tts.ts",
|
||||
"build:bin": "pnpm run check && pnpm run bundle:bin --minify index.ts && pnpm run bundle:bin --minify tts.ts && pnpm run bin",
|
||||
"bundle": "rolldown --dir=dist --platform=node --transform.target=node22",
|
||||
"bundle:bin": "rolldown --dir=dist --platform=node --no-code-splitting --format=cjs",
|
||||
"bin": "node --build-sea sea-config.json && node --build-sea sea-config-tts.json",
|
||||
"tc": "tsc --noEmit --incremental"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue