1
Fork 0

Add scss build

This commit is contained in:
Jake Howard 2016-05-13 21:38:05 +01:00
parent 902059caef
commit 5b839a16d4
2 changed files with 4 additions and 3 deletions

View file

@ -6,9 +6,7 @@
"lint": "eslint 'static/src/js/'", "lint": "eslint 'static/src/js/'",
"build-js": "./scripts/build-js.sh", "build-js": "./scripts/build-js.sh",
"create-build-dirs": "mkdir -p static/build/js/lib static/build/fonts static/build/css static/build/img", "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-scss": "node-sass theme/static/src/scss/index.scss theme/static/build/css/index.css",
"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/",
"test": "npm run lint", "test": "npm run lint",
"spellcheck": "mdspell --en-gb -ranx \"templates/**/*.*\"" "spellcheck": "mdspell --en-gb -ranx \"templates/**/*.*\""
}, },

View file

@ -0,0 +1,3 @@
body {
background-color: orange;
}