testapp: update build script to include copying public assets to dist/testapp

This commit is contained in:
Carlos Santos 2025-05-13 17:10:46 +02:00
parent 34312e16d3
commit c9d816b3b8

View File

@ -4,7 +4,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc --rootDir ../",
"build": "tsc --rootDir ../ && cp -r public ./dist/testapp",
"build:watch": "tsc --watch",
"start": "node dist/testapp/src/index.js",
"dev:server": "ts-node-dev --respawn --watch src,public/ts,public/views src/index.ts",