From f04677b2689e748aa3ba29661faaa9d7229d7cd7 Mon Sep 17 00:00:00 2001 From: codecalm Date: Fri, 26 Jul 2019 17:09:43 +0200 Subject: [PATCH] npm fonts fix --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index acc9d6f92..0f2a48d91 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,14 @@ "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 browsersync watch html-watch", - "build": "npm-run-all clean html-build css js", + "build": "npm-run-all clean html-build css js fonts", "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 --destination dist-html", "lint": "npm-run-all --parallel js-lint css-lint", - "clean": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js", + "fonts": "cp fonts dist/fonts", + "clean": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js && mkdir dist/fonts", "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\"",