Fix build scripts (#77)
* Copy all templates, fix #76 * copy any folders in templates --------- Co-authored-by: Artemy <artegoser@gmail.com>
This commit is contained in:
parent
af29af9f16
commit
92ab68c587
@ -38,7 +38,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "npm run clean-css && copyfiles ./templates/*.ejs .env ./dist/ && tsc",
|
||||
"build": "npm run clean-css && copyfiles ./templates/*.ejs ./templates/**/*.ejs .env ./dist/ && tsc",
|
||||
"start": "cd ./dist && node ./src/app.js",
|
||||
"start:docker": "node ./src/app.js",
|
||||
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user