From 5b839a16d4b95dcaaf855d588ec087cd698fb8f1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 13 May 2016 21:38:05 +0100 Subject: [PATCH] Add scss build --- package.json | 4 +--- theme/static/src/scss/index.scss | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 theme/static/src/scss/index.scss diff --git a/package.json b/package.json index 69b3182..ac25bfe 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,7 @@ "lint": "eslint 'static/src/js/'", "build-js": "./scripts/build-js.sh", "create-build-dirs": "mkdir -p static/build/js/lib static/build/fonts static/build/css static/build/img", - "build": "npm run create-build-dirs && npm run build-fonts && npm run build-images && npm run build-js && npm run build-less", - "build-fonts": "cp -R node_modules/bootstrap/dist/fonts static/build/ && cp -R node_modules/ionicons/fonts static/build/ ", - "build-images": "cp -r static/src/img/* static/build/img/", + "build-scss": "node-sass theme/static/src/scss/index.scss theme/static/build/css/index.css", "test": "npm run lint", "spellcheck": "mdspell --en-gb -ranx \"templates/**/*.*\"" }, diff --git a/theme/static/src/scss/index.scss b/theme/static/src/scss/index.scss new file mode 100644 index 0000000..f74bff6 --- /dev/null +++ b/theme/static/src/scss/index.scss @@ -0,0 +1,3 @@ +body { + background-color: orange; +}