Add scss build
This commit is contained in:
parent
902059caef
commit
5b839a16d4
2 changed files with 4 additions and 3 deletions
|
@ -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/**/*.*\""
|
||||
},
|
||||
|
|
3
theme/static/src/scss/index.scss
Normal file
3
theme/static/src/scss/index.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
background-color: orange;
|
||||
}
|
Reference in a new issue