Skip to content

Commit

Permalink
Версия 5.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreysgra committed Feb 5, 2021
1 parent 044d3c0 commit 43f7286
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
31 changes: 14 additions & 17 deletions gulpfile.js/settings.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
'use strict';

const dirs = {
src: './source/',
dest: './build/'
};
const [source, desination] = ['./source/', './build/'];

module.exports = {
paths: {
source: {
root: dirs.src,
styles: dirs.src + 'styles/',
scripts: dirs.src + 'js/',
root: source,
styles: `${source}styles/`,
scripts: `${source}js/`,
images: {
all: dirs.src + 'img/',
icons: dirs.src + 'img/icons/',
content: dirs.src + 'img/content/'
all: `${source}img/`,
icons: `${source}img/icons/`,
content: `${source}img/content/`
},
fonts: dirs.src + 'fonts/'
fonts: `${source}fonts/`
},
desination: {
root: dirs.dest,
styles: dirs.dest + 'css/',
scripts: dirs.dest + 'js/',
root: desination,
styles: `${desination}css/`,
scripts: `${desination}js/`,
images: {
all: dirs.dest + 'img/',
content: dirs.dest + 'img/content/'
all: `${desination}img/`,
content: `${desination}img/content/`
},
fonts: dirs.dest + 'fonts/'
fonts: `${desination}fonts/`
},
dist: './dist'
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-project-template",
"version": "5.0.0",
"version": "5.5.0",
"description": "Базовый шаблон проекта с использованием Gulp, Less, Webpack",
"private": true,
"scripts": {
Expand Down

0 comments on commit 43f7286

Please sign in to comment.