package.json: add dev:gadjo scripts

This commit is contained in:
Thomas Jund 2023-05-16 17:55:05 +02:00
parent 5ce5a710d6
commit 165600b985
1 changed files with 4 additions and 1 deletions

View File

@ -19,11 +19,14 @@
"stop:memcache": "sudo systemctl stop memcached",
"change:theme": "bash misc-tjund/change-theme.sh $npm_package_config_theme",
"build:css": "cd $npm_package_config_themefolder && make static/$npm_package_config_theme/style.css",
"build:css-gadjo": "cd gadjo && python3 setup.py compile_scss",
"build:themes": "cd $npm_package_config_themefolder && make themes.json",
"watch:scss": "cd $npm_package_config_themefolder && chokidar 'static/**/*.scss' -c 'npm run build:css'",
"watch:scss-gadjo": "chokidar 'gadjo/gadjo/static/css/*.scss' -c 'npm run build:css-gadjo'",
"watch:config": "cd $npm_package_config_themefolder && chokidar 'static/**/config.json' -c 'npm run build:themes'",
"serve": "node npm_serve.js",
"dev": "npm run change:theme && run-p watch:* & npm run serve"
"dev": "npm run change:theme && run-p watch:* & npm run serve",
"dev:gadjo": "npm run watch:scss-gadjo"
},
"devDependencies": {
"browser-sync": "^2.26.7",