rebuild run other node script for easier maintanence
This commit is contained in:
parent
7df5b264cb
commit
dc527da736
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node src/index.js",
|
"start": "node src/index.js",
|
||||||
"dev": "nodemon src/index.js & $npm_execpath run watch-css",
|
"dev": "nodemon src/index.js & $npm_execpath run watch-css",
|
||||||
"watch-css": "run-when-changed --watch 'src/public/themes/*.scss' --watch 'src/public/util/*.scss' --exec 'sass src/public/themes:src/dist/style & echo \"🎨 Rebuilded your css\"'",
|
"watch-css": "run-when-changed --watch 'src/public/themes/*.scss' --watch 'src/public/util/*.scss' --exec '$npm_execpath run build'",
|
||||||
"build": "sass src/public/themes:src/dist/style"
|
"build": "sass src/public/themes:src/dist/style & echo \"🎨 Rebuilded your css\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ejs": "^3.1.8",
|
"ejs": "^3.1.8",
|
||||||
|
|
Loading…
Reference in a new issue