testapp: update build script to include copying public assets to dist/testapp
This commit is contained in:
parent
34312e16d3
commit
c9d816b3b8
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user