mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: mature build script
This commit is contained in:
1 parent
4be7852bf3
commit
c685f86dc4
4 files changed
+27
-6
No files matched your search
+2
-5
@@ -6,11 +6,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "yarn build && yarn start",
|
||||
"start": "node --enable-source-maps dist/server.cjs",
|
||||
"cleandist": "rm -rf dist",
|
||||
"build:raw": "npx esbuild src/index.ts --outfile=dist/server.cjs --platform=node --bundle --sourcemap --loader:.node=copy --loader:.ttf=file",
|
||||
"build:package": "cp package.dist.json dist/package.json",
|
||||
"build": "yarn cleandist && yarn build:raw && yarn build:package",
|
||||
"start": "node --enable-source-maps dist/index.cjs",
|
||||
"build": "node scripts/build",
|
||||
"lint": "tsc"
|
||||
},
|
||||
"license": "MIT",
|
||||
|
||||
Reference in new issue
Block a user