(build): Move to build file to avoid the terminal being a truckload of sh-
This commit is contained in:
+2
-3
@@ -7,7 +7,7 @@
|
||||
"copyfiles": "2.4.1",
|
||||
"eslint": "9.27.0",
|
||||
"rimraf": "6.0.1",
|
||||
"tsx": "4.19.4",
|
||||
"tsx": "4.22.4",
|
||||
"typescript": "5.8.3",
|
||||
"typescript-eslint": "8.32.1"
|
||||
},
|
||||
@@ -27,8 +27,7 @@
|
||||
"scripts": {
|
||||
"dev": "tsx watch --enable-source-maps src/index.ts",
|
||||
"start": "node dist/index.js",
|
||||
"build": "npm run clean && npm run compile && npm run copyfiles",
|
||||
"compile": "esbuild 'src/**/*.ts' --platform=node --format=cjs --minify --outdir=dist",
|
||||
"build": "npm run clean && node scripts/build.js && npm run copyfiles",
|
||||
"clean": "rimraf dist",
|
||||
"copyfiles": "copyfiles -u 1 \"./src/**/*.html\" ./dist"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user