2018-02-25 20:12:18 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
presets: [
|
|
|
|
"@swissquote/crafty-preset-postcss",
|
|
|
|
"@swissquote/crafty-runner-gulp"
|
|
|
|
],
|
|
|
|
destination_css: "themes",
|
2018-02-25 23:02:09 +01:00
|
|
|
stylelint_pattern: [
|
|
|
|
"themes/daux/scss/**/*.scss",
|
|
|
|
"themes/daux_singlepage/scss/**/*.scss",
|
|
|
|
"!*.min.css",
|
|
|
|
"!**/vendor/**/*.scss"
|
|
|
|
],
|
|
|
|
stylelint: {
|
|
|
|
rules: {
|
|
|
|
"swissquote/no-type-outside-scope": null
|
|
|
|
}
|
|
|
|
},
|
2018-02-25 20:12:18 +01:00
|
|
|
css: {
|
|
|
|
"theme_blue": {
|
|
|
|
source: "themes/daux/scss/theme-blue.scss",
|
2018-02-25 23:02:09 +01:00
|
|
|
destination: "daux/css/theme-blue.min.css",
|
2018-02-26 22:46:36 +01:00
|
|
|
watch: ["themes/daux/scss/**"]
|
2018-02-25 20:12:18 +01:00
|
|
|
},
|
|
|
|
"theme_green": {
|
|
|
|
source: "themes/daux/scss/theme-green.scss",
|
2018-02-25 23:02:09 +01:00
|
|
|
destination: "daux/css/theme-green.min.css",
|
2018-02-26 22:46:36 +01:00
|
|
|
watch: ["themes/daux/scss/**"]
|
2018-02-25 20:12:18 +01:00
|
|
|
},
|
|
|
|
"theme_navy": {
|
|
|
|
source: "themes/daux/scss/theme-navy.scss",
|
2018-02-25 23:02:09 +01:00
|
|
|
destination: "daux/css/theme-navy.min.css",
|
2018-02-26 22:46:36 +01:00
|
|
|
watch: ["themes/daux/scss/**"]
|
2018-02-25 20:12:18 +01:00
|
|
|
},
|
|
|
|
"theme_red": {
|
|
|
|
source: "themes/daux/scss/theme-red.scss",
|
2018-02-25 23:02:09 +01:00
|
|
|
destination: "daux/css/theme-red.min.css",
|
2018-02-26 22:46:36 +01:00
|
|
|
watch: ["themes/daux/scss/**"]
|
2018-02-25 20:12:18 +01:00
|
|
|
},
|
|
|
|
"daux_singlepage": {
|
|
|
|
source: "themes/daux_singlepage/scss/main.scss",
|
2018-02-25 23:02:09 +01:00
|
|
|
destination: "daux_singlepage/css/main.min.css",
|
2018-02-26 22:46:36 +01:00
|
|
|
watch: ["themes/daux_singlepage/scss/**"]
|
2018-02-25 20:12:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|