summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 23:02:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 23:02:46 +0200
commit936f5569b4df371fc70d06839be800506376ab8f (patch)
tree7436537ab47bfce1da6b52b6cc5156dfe8d64374
parent:bug: build bundle (diff)
downloadserver-936f5569b4df371fc70d06839be800506376ab8f.tar.xz
:bug: fix util install
-rw-r--r--start.bat4
-rw-r--r--start.sh4
-rw-r--r--util/package.json1
3 files changed, 1 insertions, 8 deletions
diff --git a/start.bat b/start.bat
deleted file mode 100644
index cc12c6a6..00000000
--- a/start.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-cd bundle
-CALL npm install
-CALL npm start
-PAUSE
\ No newline at end of file
diff --git a/start.sh b/start.sh
deleted file mode 100644
index 84735957..00000000
--- a/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-cd bundle
-npm install
-npm start
-read -rsp $'Press enter to exit...\n'
\ No newline at end of file
diff --git a/util/package.json b/util/package.json
index bc2d2472..69d33844 100644
--- a/util/package.json
+++ b/util/package.json
@@ -5,6 +5,7 @@
 	"main": "dist/index.js",
 	"types": "dist/index.d.ts",
 	"scripts": {
+		"postinstall": "npm run build",
 		"build": "npx tsc -b ."
 	},
 	"repository": {