diff --git a/package.json b/package.json index f65ea663305692989b6f7576f9dc2274ab67f927..2f2797a982126f9587fac47b22061150564bdd0a 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,14 @@ "version": "1.0.0", "description": "Premium and Open Source dashboard template with responsive and high quality UI.", "scripts": { - "start": "npm-run-all --parallel browsersync watch html-watch", + "start": "npm-run-all clean css-main js-compile-standalone --parallel watch html-watch --sequential browsersync", "build": "npm-run-all html-build css js", "bundlesize": "bundlesize", "browsersync": "node build/browsersync.js", "html-watch": "JEKYLL_ENV=development bundle exec jekyll build --watch", "html-build": "JEKYLL_ENV=production bundle exec jekyll build", "lint": "npm-run-all --parallel js-lint css-lint", - "clean": "rm -rf dist/* && mkdir dist/css && mkdir dist/js", + "clean": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js", "css": "npm-run-all css-compile css-prefix css-minify", "css-compile": "node build/scss-compile.js", "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",