switch to typescript

This commit is contained in:
Zutatensuppe 2021-05-17 00:27:47 +02:00
parent 031ca31c7e
commit 23559b1a3b
63 changed files with 7943 additions and 1397 deletions

7
scripts/build Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh -ex
# server build
npm run rollup -- -c rollup.server.config.js
# frontend build
npm run vite -- build

View file

@ -1,5 +1,5 @@
#!/bin/sh
cd "$RUN_DIR/server"
cd "$RUN_DIR/build/server"
nodemon --max-old-space-size=64 index.js -e js
nodemon --max-old-space-size=64 main.js -c ../../config.json