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:
Andrey
2024-02-14 09:42:48 +00:00
committed by GitHub
parent af29af9f16
commit 92ab68c587

View File

@@ -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 \"\"",