From b769d8bbe5da872fe69f25cf44378287c8395773 Mon Sep 17 00:00:00 2001 From: Thomas JUND Date: Mon, 11 Sep 2023 17:19:58 +0200 Subject: [PATCH] package.json: add script to build chrono scss --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f1e5028..16f6acb 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,16 @@ "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:css-chrono": "cd chrono && 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:scss-chrono": "chokidar 'chrono/chrono/manager/static/css/*.scss' -c 'npm run build:css-chrono'", "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:gadjo": "npm run watch:scss-gadjo" + "dev:gadjo": "npm run watch:scss-gadjo", + "dev:chrono": "npm run watch:scss-chrono" }, "devDependencies": { "browser-sync": "^2.26.7",