From f01536ab630ed87dee9ab9589f314d827f914118 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 14 Feb 2023 17:21:58 +0100 Subject: [PATCH] Better handling of initial setup --- .gitignore | 2 +- index.html | 2 +- package.json | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 04863f4..5d224a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules/ -css/ +static/css/ diff --git a/index.html b/index.html index 22846ff..deb780f 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Domů nevidíš - +
diff --git a/package.json b/package.json index 66d8428..e2690ba 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "description": "", "main": "index.html", "scripts": { - "watch:sass": "node-sass sass/style.scss css/style.css -w", + "sass:build": "node-sass -r sass/ -o static/css/", + "sass:watch": "node-sass -w -r sass/ -o static/css/", "devserver": "live-server", - "dev": "npm-run-all --parallel devserver watch:sass" + "dev": "npm-run-all --parallel devserver sass:build sass:watch" }, "repository": { "type": "git",