From b9c089cab1b93d6b85bc2d94d068e6da3cc23ea4 Mon Sep 17 00:00:00 2001 From: codecalm Date: Mon, 28 Oct 2019 12:10:23 +0100 Subject: [PATCH] build process --- .gitignore | 1 + package.json | 5 +++-- scss/layout/_navbar.scss | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 32e90a219..c75303a15 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ tmp/ /svg-tmp/ /dist/ /dist-html/ +/dist-demo/ /components/ diff --git a/package.json b/package.json index 7740d54f6..b1f5e7a17 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,12 @@ "description": "Premium and Open Source dashboard template with responsive and high quality UI.", "scripts": { "start": "npm-run-all clean css-main js-compile-standalone --parallel html-watch browsersync watch", - "build": "npm-run-all clean html-build css js", + "build": "npm-run-all clean html-build css js assets-copy", "bundlesize": "bundlesize", "browsersync": "node build/browsersync.js", + "assets-copy": "mkdir -p dist-demo/dist && cp -R dist/* dist-demo/dist/ && cp -R static/* dist-demo/", "html-watch": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental", - "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination dist-html", + "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination dist-demo", "lint": "npm-run-all --parallel js-lint css-lint", "clean": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js", "css": "npm-run-all css-compile css-prefix css-minify", diff --git a/scss/layout/_navbar.scss b/scss/layout/_navbar.scss index d656dc1f6..e12db2e8f 100644 --- a/scss/layout/_navbar.scss +++ b/scss/layout/_navbar.scss @@ -2,7 +2,6 @@ border-bottom: 1px solid; background-color: $navbar-bg; border-color: $navbar-border-color; - min-height: 4rem; } /**