daux.io/crafty.config.js

63 lignes
2.0 KiB
JavaScript
Brut Vue normale Historique

module.exports = {
browsers:
"> 0.25%, Edge >= 15, Safari >= 10, iOS >= 10, Chrome >= 56, Firefox >= 51, IE >= 11, not op_mini all",
presets: [
"@swissquote/crafty-preset-babel",
"@swissquote/crafty-runner-rollup",
"@swissquote/crafty-preset-postcss",
"@swissquote/crafty-runner-gulp"
],
2019-09-20 23:29:22 +02:00
destination_css: ".",
destination_js: ".",
stylelint_pattern: [
2019-09-20 23:29:22 +02:00
"src/css/**/*.scss",
"!*.min.css",
"!**/vendor/**/*.scss"
],
stylelint: {
rules: {
"swissquote/no-type-outside-scope": null,
"plugin/no-unsupported-browser-features": null
}
},
js: {
search: {
runner: "rollup",
source: "src/js/search/index.js",
2019-09-20 23:19:39 +02:00
destination: "_libraries/search.min.js"
},
theme_daux: {
runner: "rollup",
source: "src/js/theme_daux/index.js",
destination: "themes/daux/js/daux.min.js"
}
},
css: {
theme_blue: {
2019-09-20 23:29:22 +02:00
source: "src/css/theme_daux/theme-blue.scss",
2019-09-21 22:44:09 +02:00
destination: "themes/daux/css/theme-blue.min.css",
watch: ["src/css/**/*.scss"]
},
theme_green: {
2019-09-20 23:29:22 +02:00
source: "src/css/theme_daux/theme-green.scss",
2019-09-21 22:44:09 +02:00
destination: "themes/daux/css/theme-green.min.css",
watch: ["src/css/**/*.scss"]
},
theme_navy: {
2019-09-20 23:29:22 +02:00
source: "src/css/theme_daux/theme-navy.scss",
2019-09-21 22:44:09 +02:00
destination: "themes/daux/css/theme-navy.min.css",
watch: ["src/css/**/*.scss"]
},
theme_red: {
2019-09-20 23:29:22 +02:00
source: "src/css/theme_daux/theme-red.scss",
2019-09-21 22:44:09 +02:00
destination: "themes/daux/css/theme-red.min.css",
watch: ["src/css/**/*.scss"]
},
daux_singlepage: {
2019-09-20 23:29:22 +02:00
source: "src/css/theme_daux_singlepage/main.scss",
2019-09-21 22:44:09 +02:00
destination: "themes/daux_singlepage/css/main.min.css",
watch: ["src/css/**/*.scss"]
}
}
};