Files
openeye.app/project.config.js

77 lines
1.8 KiB
JavaScript

module.exports = {
paths: {
source: 'source',
build: 'build',
styles: {
source: 'source/assets/sass/**/*.scss',
entry: 'source/assets/sass/main.scss',
dest: 'build/assets/css'
},
scripts: {
source: 'source/assets/js/**/*.js',
dest: 'build/assets/js'
},
images: {
source: [
'source/images/**/*.{jpg,jpeg,png}',
'source/assets/css/images/**/*.{jpg,jpeg,png}'
],
other: [
'source/images/**/*.{gif,svg,webp}',
'source/assets/css/images/**/*.{gif,svg,webp}'
],
dest: 'build/images'
},
markup: {
source: ['source/**/*.{kit,html,php}'],
entry: ['source/**/*.{kit,html,php}'],
exclude: [ 'source/index_alt.html',
'source/left-sidebar.html',
'source/no-sidebar.html',
'source/elements.html',
'source/right-sidebar.html'
], // oder einzelne Dateien
dest: 'build'
},
static: {
source: [
'source/assets/**/*',
'!source/assets/sass/**/*',
'!source/assets/css/**/*.css',
'!source/assets/css/images/**/*'
],
dest: 'build/assets'
},
vendor: {
fontawesome: 'core/node_modules/@fortawesome/fontawesome-free/webfonts/*',
jquery: 'core/node_modules/jquery/dist/jquery.min.js',
scrollex: null, // optional setzen
scrolly: null, // optional setzen
destFonts: 'build/assets/webfonts',
destJs: 'build/assets/js'
},
favicons: {
source: ['source/*.{png,ico,svg,webmanifest}'],
dest: 'build'
}
},
extensionMapping: {
// 'index': '.php',
// 'kontakt': '.php'
},
serve: {
proxy: 'http://openeye.localhost',
port: 3000,
open: true
},
deploy: {
host: 'openeye@10.247.64.14',
path: '/home/openeye/htdocs/openeye.app',
port: 2222,
excludes: ['.DS_Store', '.git']
}
};