package.json: add script to build chrono scss
This commit is contained in:
parent
0fc0014893
commit
b769d8bbe5
|
@ -20,13 +20,16 @@
|
||||||
"change:theme": "bash misc-tjund/change-theme.sh $npm_package_config_theme",
|
"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": "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-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",
|
"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": "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-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'",
|
"watch:config": "cd $npm_package_config_themefolder && chokidar 'static/**/config.json' -c 'npm run build:themes'",
|
||||||
"serve": "node npm_serve.js",
|
"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"
|
"dev:gadjo": "npm run watch:scss-gadjo",
|
||||||
|
"dev:chrono": "npm run watch:scss-chrono"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.26.7",
|
"browser-sync": "^2.26.7",
|
||||||
|
|
Loading…
Reference in New Issue