{ "name": "Publik-watch-reload", "version": "1.0.0", "description": "Watch html & css files; run make css & themes; reload browser", "author": "Thomas JUND", "config": { "url": { "combo": "https://combo.dev.publik.love/", "authentic": "https://authentic.dev.publik.love/accounts/register/", "wcs": "https://wcs.dev.publik.love/tests/form-test", "agent-combo": "https://agent-combo.dev.publik.love/" }, "themefolder": "publik-base-theme", "theme": "naoned", "app": "combo" }, "scripts": { "explore:css": "cd $npm_package_config_themefolder && postcss static/**/style.css --config postcss.config.js --dir /tmp/ > /tmp/explorecss.txt", "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 && sassc --sourcemap static/$npm_package_config_theme/style.scss 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 && python3 setup.py build_themes_json", "watch:scss": "cd $npm_package_config_themefolder && chokidar 'static/**/*.scss' -i 'static/**/_data_uris.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:chrono": "npm run watch:scss-chrono", "dev:godo": "browser-sync start -s 'godo.js/dist'" }, "devDependencies": { "browser-sync": "^2.26.7", "chokidar-cli": "^2.0.0", "eslint": "^7.7.0", "npm-run-all": "^4.1.5", "postcss-cli": "^7.1.2" } }