|
|
@@ -3,7 +3,10 @@
|
|
|
"version": "0.9.1-RC",
|
|
|
"license": "MIT",
|
|
|
"scripts": {
|
|
|
- "build": "yarn tsc && tsc-alias -p tsconfig.build.json",
|
|
|
+ "build": "yarn tsc && tsc-alias -p tsconfig.build.json && yarn postbuild",
|
|
|
+ "postbuild": "yarn cp:public && yarn cp:views",
|
|
|
+ "cp:public": "mkdir -p ./dist/public && cp -r ./src/public ./dist",
|
|
|
+ "cp:views": "mkdir -p ./dist/views && cp -r ./src/views ./dist",
|
|
|
"tsc": "tsc -p tsconfig.build.json",
|
|
|
"tsc:w": "yarn tsc -w",
|
|
|
"dev:ci": "yarn dev --ci",
|