diff --git a/README.md b/README.md index e7093ac..0d8fdb1 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,12 @@ -## TO START +# biobulkbende.org -* make sure you have installed git, node.js and npm -* clone this repo +> https://biobulkbende.org - $ git clone https://github.com/biobulkbende/biobulkbende.org - -* from within the folder install all packages +Our public website made by members! - $ npm install +## Hacking -* run gulp for automation - - $ gulp watch +- Make sure you have installed git, node.js and npm +- Clone this repo: `git clone https://github.com/biobulkbende/biobulkbende.org` +- From within the folder install all packages: `npm install` +- Run gulp for automation: `gulp watch` diff --git a/app/index.html b/app/index.html index 59f7111..c6be230 100644 --- a/app/index.html +++ b/app/index.html @@ -1,246 +1,521 @@ - - - - Bio Bulk Bende - - - - + + + + Bio Bulk Bende + + + + - - - - - + + + + + + + - - - - - -
- - - - - Our fresh vegetables - -
-

bio bulke bende

-

The first organic autonomous
foodcoop in Rotterdam

- +
+ + + + + Our fresh vegetables + +
+

bio bulke bende

+

+ The first organic autonomous
foodcoop in Rotterdam +

+ -

Join us!

-
-
+

Join us!

+
+
- -
-
-
-

Biobulkbende is an association completely run by the members. Together we collectively purchase organic food from local producers and distributors.

-

In the context of the current food system, with all its flaws and vulnerabilities, we believe it is important to have more control over the food we buy and consume. Food doesnt have to be treated strictly as a commodity, access to food doesn't have to rely on impenetrable logistics systems, and overwhelming packaging does not have to be the norm. Access to high quality, organic and affordable food is very important for us, and we think that it should be available to everyone.

- - - - - - The pick up day is arrived! - -

In 2019, we took matters into our own hands and started the first organic food co-op in Rotterdam.

-

Inspired by the Amsterdam food co-op Vokomokum, The Park Slope co-op and many others, our co-op is run on a volunteer-basis by all members. As members of this co-op, we all conribute a small part of our time in order to keep our co-op running according to our values: building a community, sharing organic food, sourcing ingredients that is are not produced through any exploitation of labour and are environmentally friendly. We source our fresh food from local farmers and suppliers from the Rijnmond region, while our dry goods and cans come from the organic food supplier De Nieuwe Band / Odin.

- - - - - The pick up day is arrived! - -

We come together every first monday of the month from 18:00 to 20:00 at the Wijkcoop010 in de Zomerhofstraat 75, ZOHO. People who are interested to become a member can join the introduction at 19:00.

-
-
-
-
- -
-
-
-
- Join us! -

We are happy to have new members at the moment. Send us an email or simply drop by on our next pickup day and say hello!

-
-
-
-
-
-
+ +
+
+
+

+ Biobulkbende is an association completely run by the members. + Together we collectively purchase organic food from local producers + and distributors. +

+

+ In the context of the current food system, with all its flaws and + vulnerabilities, we believe it is important to have more control + over the food we buy and consume. Food doesnt have to be treated + strictly as a commodity, access to food doesn't have to rely on + impenetrable logistics systems, and overwhelming packaging does not + have to be the norm. Access to high quality, organic and affordable + food is very important for us, and we think that it should be + available to everyone. +

+ + + + + + The pick up day is arrived! + +

+ In 2019, we took matters into our own hands and started the first + organic food co-op in Rotterdam. +

+

+ Inspired by the Amsterdam food co-op Vokomokum, The Park Slope co-op + and many others, our co-op is run on a volunteer-basis by all + members. As members of this co-op, we all conribute a small part of + our time in order to keep our co-op running according to our values: + building a community, sharing organic food, sourcing ingredients + that is are not produced through any exploitation of labour and are + environmentally friendly. We source our fresh food from local + farmers and suppliers from the Rijnmond region, while our dry goods + and cans come from the organic food supplier De Nieuwe Band / Odin. +

+ + + + + The pick up day is arrived! + +

+ We come together every first monday of the month from 18:00 to 20:00 + at the Wijkcoop010 in de Zomerhofstraat 75, ZOHO. + People who are interested to become a member can join the + introduction at 19:00. +

+
+
+
+
+ +
+
+
+
+ Join us! +

+ We are happy to have new members at the moment. Send us an + email or simply drop + by on our next pickup day and say hello! +

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+

+ What is a foodcoop? +

+

+ A co-op is a collective where everyone shares the workload for + the benefit of the whole. A food co-op is a group of people + that buy food from (local) suppliers of their own choosing. A + collective do-it-with-others supermarket.

+ BioBulkBende members order collectively from local + suppliers and distributors. This means we get as close to the + wholesale prices as possible by cutting out middle men and + ordering in bulk. BioBulkBende exists only through the + cooperation of the members involved. There is no profit and + everyone in the community contributes to the co-op on a + volunteer basis. +

+
+
+
+
+
+
+
- -
-
-
-
-
- -
-
-
-

What is a foodcoop?

-

A co-op is a collective where everyone shares the workload for the benefit of the whole. A food co-op is a group of people that buy food from (local) suppliers of their own choosing. A collective do-it-with-others supermarket.

- BioBulkBende members order collectively from local suppliers and distributors. This means we get as close to the wholesale prices as possible by cutting out middle men and ordering in bulk. BioBulkBende exists only through the cooperation of the members involved. There is no profit and everyone in the community contributes to the co-op on a volunteer basis.

-
-
-
-
-
-
-
+
+
+
+
+
+ Once you are member you are part of our community! +
+
+

+ + Being a Member +

+

+ As a member of Biobulkbende, you have access to high-quality + organic food, straight from the producers and / or distributors, + at much lower prices than in the supermarket. In return, you pay + a membership fee of 15 euros and contribute a bit of your time + and energy each month (3h ±) to keep our co-op running. As a + member of the co-op you have a say in how the co-op works, how + decisions are made and what direction we take together. +

+
+
+
+
+ + + Once you are member you are part of our community! + -
-
-
-
-
- Once you are member you are part of our community! -
-
-

Being a Member

-

As a member of Biobulkbende, you have access to high-quality organic food, straight from the producers and / or distributors, at much lower prices than in the supermarket. In return, you pay a membership fee of 15 euros and contribute a bit of your time and energy each month (3h ±) to keep our co-op running. As a member of the co-op you have a say in how the co-op works, how decisions are made and what direction we take together.

-
-
-
-
- - - Once you are member you are part of our community! - +
+
+
+
+

+ + Workgroups +

+

+ A work group is a group of members who work together and are + responsible for a specific need of our food co-op. Some examples + of work groups are cooking, set-up, membership, orders, finance, + etc. As a member of our food co-op, joining a work group is a + requirement. When you join, we help you pick what work group + matches your interests, as well as what matches the needs of the + co-op. Members can change work groups when their interests + change. +

+
+
+ Working togheter is part of being a foocoop! +
+
+
+
+ + + The pick up day is arrived! + -
-
-
-
-

Workgroups

-

A work group is a group of members who work together and are responsible for a specific need of our food co-op. Some examples of work groups are cooking, set-up, membership, orders, finance, etc. As a member of our food co-op, joining a work group is a requirement. When you join, we help you pick what work group matches your interests, as well as what matches the needs of the co-op. Members can change work groups when their interests change.

-
-
- Working togheter is part of being a foocoop! -
-
-
-
- - - The pick up day is arrived! - +
+
+
+
+ To order your food is easy! +
+
+

+ + Ordering food +

+

+ As soon as you become a member you can place your first order, + yay! Together we order in dry-food (from toothpaste to pasta) in + bulk packaging. Fresh food doesn't have to be in bulk. We also + have items that are popular, like oats, in stock to save costs + and plastic! Payment is done during pick-up day through + banktransfer or pin. For ordering, we use a free software called + Foodsoft . You can + learn more about how to order by joining us at any upcoming + pickup day. +

+
+
+
+
+ + + To order your food is easy! + +
+
-
-
-
-
- To order your food is easy! -
-
-

Ordering food

-

As soon as you become a member you can place your first order, yay! Together we order in dry-food (from toothpaste to pasta) in bulk packaging. Fresh food doesn't have to be in bulk. We also have items that are popular, like oats, in stock to save costs and plastic! Payment is done during pick-up day through banktransfer or pin. For ordering, we use a free software called Foodsoft . You can learn more about how to order by joining us at any upcoming pickup day.

-
-
-
-
- - - To order your food is easy! - -
-
+
+ + + + + + The pick up day is arrived! + +
+
+
+
+
+

+ Pick-up day +

+

+ Every 1st Monday of the month, from 18:00 - 20:00 our co-op + comes together to pick up our fresh, local and bulky orders. + The pick-up day is more then just picking up your order. It's + also a chance to meet other members and have an affordable + vegan dinner cooked by our members. During the pick-up day we + have an introduction for people interested to join the co-op. + This takes place at 7pm sharp. +

+

+ Join us! +

+

+ Attending the introduction is mandatory so that you learn all + the ins and outs of the co-op right from the start. After you + have joined the introduction you can become a member! +

+
+
+
+
+
+
-
- - - - - - The pick up day is arrived! - -
-
-
-
-
-

Pick-up day

-

Every 1st Monday of the month, from 18:00 - 20:00 our co-op comes together to pick up our fresh, local and bulky orders. The pick-up day is more then just picking up your order. It's also a chance to meet other members and have an affordable vegan dinner cooked by our members. During the pick-up day we have an introduction for people interested to join the co-op. This takes place at 7pm sharp.

-

Join us!

-

Attending the introduction is mandatory so that you learn all the ins and outs of the co-op right from the start. After you have joined the introduction you can become a member!

-
-
-
-
-
-
+ - + - + + - - + - + - - - - - - \ No newline at end of file + + + + + diff --git a/docs/index.html b/docs/index.html index d2fbf0a..b683b42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,246 +1,521 @@ - - - - Bio Bulk Bende - - - - + + + + Bio Bulk Bende + + + + - - - - - + + + + + + + - - - - - -
- - - - - Our fresh vegetables - -
-

bio bulke bende

-

The first organic autonomous
foodcoop in Rotterdam

- +
+ + + + + Our fresh vegetables + +
+

bio bulke bende

+

+ The first organic autonomous
foodcoop in Rotterdam +

+ -

Join us!

-
-
+

Join us!

+
+
- -
-
-
-

Biobulkbende is an association completely run by the members. Together we collectively purchase organic food from local producers and distributors.

-

In the context of the current food system, with all its flaws and vulnerabilities, we believe it is important to have more control over the food we buy and consume. Food doesnt have to be treated strictly as a commodity, access to food doesn't have to rely on impenetrable logistics systems, and overwhelming packaging does not have to be the norm. Access to high quality, organic and affordable food is very important for us, and we think that it should be available to everyone.

- - - - - - The pick up day is arrived! - -

In 2019, we took matters into our own hands and started the first organic food co-op in Rotterdam.

-

Inspired by the Amsterdam food co-op Vokomokum, The Park Slope co-op and many others, our co-op is run on a volunteer-basis by all members. As members of this co-op, we all conribute a small part of our time in order to keep our co-op running according to our values: building a community, sharing organic food, sourcing ingredients that is are not produced through any exploitation of labour and are environmentally friendly. We source our fresh food from local farmers and suppliers from the Rijnmond region, while our dry goods and cans come from the organic food supplier De Nieuwe Band / Odin.

- - - - - The pick up day is arrived! - -

We come together every first monday of the month from 18:00 to 20:00 at the Wijkcoop010 in de Zomerhofstraat 75, ZOHO. People who are interested to become a member can join the introduction at 19:00.

-
-
-
-
- -
-
-
-
- Join us! -

We are happy to have new members at the moment. Send us an email or simply drop by on our next pickup day and say hello!

-
-
-
-
-
-
+ +
+
+
+

+ Biobulkbende is an association completely run by the members. + Together we collectively purchase organic food from local producers + and distributors. +

+

+ In the context of the current food system, with all its flaws and + vulnerabilities, we believe it is important to have more control + over the food we buy and consume. Food doesnt have to be treated + strictly as a commodity, access to food doesn't have to rely on + impenetrable logistics systems, and overwhelming packaging does not + have to be the norm. Access to high quality, organic and affordable + food is very important for us, and we think that it should be + available to everyone. +

+ + + + + + The pick up day is arrived! + +

+ In 2019, we took matters into our own hands and started the first + organic food co-op in Rotterdam. +

+

+ Inspired by the Amsterdam food co-op Vokomokum, The Park Slope co-op + and many others, our co-op is run on a volunteer-basis by all + members. As members of this co-op, we all conribute a small part of + our time in order to keep our co-op running according to our values: + building a community, sharing organic food, sourcing ingredients + that is are not produced through any exploitation of labour and are + environmentally friendly. We source our fresh food from local + farmers and suppliers from the Rijnmond region, while our dry goods + and cans come from the organic food supplier De Nieuwe Band / Odin. +

+ + + + + The pick up day is arrived! + +

+ We come together every first monday of the month from 18:00 to 20:00 + at the Wijkcoop010 in de Zomerhofstraat 75, ZOHO. + People who are interested to become a member can join the + introduction at 19:00. +

+
+
+
+
+ +
+
+
+
+ Join us! +

+ We are happy to have new members at the moment. Send us an + email or simply drop + by on our next pickup day and say hello! +

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+

+ What is a foodcoop? +

+

+ A co-op is a collective where everyone shares the workload for + the benefit of the whole. A food co-op is a group of people + that buy food from (local) suppliers of their own choosing. A + collective do-it-with-others supermarket.

+ BioBulkBende members order collectively from local + suppliers and distributors. This means we get as close to the + wholesale prices as possible by cutting out middle men and + ordering in bulk. BioBulkBende exists only through the + cooperation of the members involved. There is no profit and + everyone in the community contributes to the co-op on a + volunteer basis. +

+
+
+
+
+
+
+
- -
-
-
-
-
- -
-
-
-

What is a foodcoop?

-

A co-op is a collective where everyone shares the workload for the benefit of the whole. A food co-op is a group of people that buy food from (local) suppliers of their own choosing. A collective do-it-with-others supermarket.

- BioBulkBende members order collectively from local suppliers and distributors. This means we get as close to the wholesale prices as possible by cutting out middle men and ordering in bulk. BioBulkBende exists only through the cooperation of the members involved. There is no profit and everyone in the community contributes to the co-op on a volunteer basis.

-
-
-
-
-
-
-
+
+
+
+
+
+ Once you are member you are part of our community! +
+
+

+ + Being a Member +

+

+ As a member of Biobulkbende, you have access to high-quality + organic food, straight from the producers and / or distributors, + at much lower prices than in the supermarket. In return, you pay + a membership fee of 15 euros and contribute a bit of your time + and energy each month (3h ±) to keep our co-op running. As a + member of the co-op you have a say in how the co-op works, how + decisions are made and what direction we take together. +

+
+
+
+
+ + + Once you are member you are part of our community! + -
-
-
-
-
- Once you are member you are part of our community! -
-
-

Being a Member

-

As a member of Biobulkbende, you have access to high-quality organic food, straight from the producers and / or distributors, at much lower prices than in the supermarket. In return, you pay a membership fee of 15 euros and contribute a bit of your time and energy each month (3h ±) to keep our co-op running. As a member of the co-op you have a say in how the co-op works, how decisions are made and what direction we take together.

-
-
-
-
- - - Once you are member you are part of our community! - +
+
+
+
+

+ + Workgroups +

+

+ A work group is a group of members who work together and are + responsible for a specific need of our food co-op. Some examples + of work groups are cooking, set-up, membership, orders, finance, + etc. As a member of our food co-op, joining a work group is a + requirement. When you join, we help you pick what work group + matches your interests, as well as what matches the needs of the + co-op. Members can change work groups when their interests + change. +

+
+
+ Working togheter is part of being a foocoop! +
+
+
+
+ + + The pick up day is arrived! + -
-
-
-
-

Workgroups

-

A work group is a group of members who work together and are responsible for a specific need of our food co-op. Some examples of work groups are cooking, set-up, membership, orders, finance, etc. As a member of our food co-op, joining a work group is a requirement. When you join, we help you pick what work group matches your interests, as well as what matches the needs of the co-op. Members can change work groups when their interests change.

-
-
- Working togheter is part of being a foocoop! -
-
-
-
- - - The pick up day is arrived! - +
+
+
+
+ To order your food is easy! +
+
+

+ + Ordering food +

+

+ As soon as you become a member you can place your first order, + yay! Together we order in dry-food (from toothpaste to pasta) in + bulk packaging. Fresh food doesn't have to be in bulk. We also + have items that are popular, like oats, in stock to save costs + and plastic! Payment is done during pick-up day through + banktransfer or pin. For ordering, we use a free software called + Foodsoft . You can + learn more about how to order by joining us at any upcoming + pickup day. +

+
+
+
+
+ + + To order your food is easy! + +
+
-
-
-
-
- To order your food is easy! -
-
-

Ordering food

-

As soon as you become a member you can place your first order, yay! Together we order in dry-food (from toothpaste to pasta) in bulk packaging. Fresh food doesn't have to be in bulk. We also have items that are popular, like oats, in stock to save costs and plastic! Payment is done during pick-up day through banktransfer or pin. For ordering, we use a free software called Foodsoft . You can learn more about how to order by joining us at any upcoming pickup day.

-
-
-
-
- - - To order your food is easy! - -
-
+
+ + + + + + The pick up day is arrived! + +
+
+
+
+
+

+ Pick-up day +

+

+ Every 1st Monday of the month, from 18:00 - 20:00 our co-op + comes together to pick up our fresh, local and bulky orders. + The pick-up day is more then just picking up your order. It's + also a chance to meet other members and have an affordable + vegan dinner cooked by our members. During the pick-up day we + have an introduction for people interested to join the co-op. + This takes place at 7pm sharp. +

+

+ Join us! +

+

+ Attending the introduction is mandatory so that you learn all + the ins and outs of the co-op right from the start. After you + have joined the introduction you can become a member! +

+
+
+
+
+
+
-
- - - - - - The pick up day is arrived! - -
-
-
-
-
-

Pick-up day

-

Every 1st Monday of the month, from 18:00 - 20:00 our co-op comes together to pick up our fresh, local and bulky orders. The pick-up day is more then just picking up your order. It's also a chance to meet other members and have an affordable vegan dinner cooked by our members. During the pick-up day we have an introduction for people interested to join the co-op. This takes place at 7pm sharp.

-

Join us!

-

Attending the introduction is mandatory so that you learn all the ins and outs of the co-op right from the start. After you have joined the introduction you can become a member!

-
-
-
-
-
-
+ - + - + + - - + - + - - - - - - \ No newline at end of file + + + + + diff --git a/gulpfile.js b/gulpfile.js index 39ba147..ba60583 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,122 +1,152 @@ -const gulp = require('gulp'); -const { src, dest, series, parallel } = require('gulp'); -const autoprefixer = require('autoprefixer'), -postcss = require('gulp-postcss'), -sass = require('gulp-sass'), -sourcemaps = require('gulp-sourcemaps'), -del = require('del'), -webpack = require('webpack-stream'), -webpackConfig = require('./webpack.config.js'), -modernizr = require('gulp-modernizr'), -svgSprite = require('gulp-svg-sprite'), -rename = require('gulp-rename'), -imagemin = require('gulp-imagemin'), -browserSync = require('browser-sync').create(); +const gulp = require("gulp"); +const { src, dest, series, parallel } = require("gulp"); +const autoprefixer = require("autoprefixer"), + postcss = require("gulp-postcss"), + sass = require("gulp-sass"), + sourcemaps = require("gulp-sourcemaps"), + del = require("del"), + webpack = require("webpack-stream"), + webpackConfig = require("./webpack.config.js"), + modernizr = require("gulp-modernizr"), + svgSprite = require("gulp-svg-sprite"), + rename = require("gulp-rename"), + imagemin = require("gulp-imagemin"), + browserSync = require("browser-sync").create(); // JS TASKS -function cleanScripts(){ - return del('./app/temp/scripts/App.js'); +function cleanScripts() { + return del("./app/temp/scripts/App.js"); } -function modernizrTask(){ - return src(['./app/assets/scss/**/*.scss','./app/assets/js/**/*.js']) - .pipe(modernizr({ - "options": [ - "setClasses" - ] - })) - .pipe(dest('./app/assets/temp')); +function modernizrTask() { + return src(["./app/assets/scss/**/*.scss", "./app/assets/js/**/*.js"]) + .pipe( + modernizr({ + options: ["setClasses"], + }) + ) + .pipe(dest("./app/assets/temp")); } -function scriptsTask(){ - return src('./app/assets/js/App.js') - .pipe(webpack(webpackConfig, null, function(err, stats) { - if (err) { console.log(err); }; - })) - // .on('error', function (err) { if(err){ console.log(err.message);} }) - .pipe(dest('./app/temp/scripts')) - .pipe(browserSync.stream()); +function scriptsTask() { + return ( + src("./app/assets/js/App.js") + .pipe( + webpack(webpackConfig, null, function (err, stats) { + if (err) { + console.log(err); + } + }) + ) + // .on('error', function (err) { if(err){ console.log(err.message);} }) + .pipe(dest("./app/temp/scripts")) + .pipe(browserSync.stream()) + ); } -function endCleanModernizr(){ - return del(['./app/assets/temp']); +function endCleanModernizr() { + return del(["./app/assets/temp"]); } // SCSS TASKS function scssTask() { - return src('./app/assets/scss/**/*.scss') - .pipe(sourcemaps.init()) - .pipe(sass().on('error', sass.logError)) - .pipe(postcss([ autoprefixer()])) - .pipe(sourcemaps.write('.')) - .pipe(dest('app/temp/styles')) - .pipe(browserSync.stream()); + return src("./app/assets/scss/**/*.scss") + .pipe(sourcemaps.init()) + .pipe(sass().on("error", sass.logError)) + .pipe(postcss([autoprefixer()])) + .pipe(sourcemaps.write(".")) + .pipe(dest("app/temp/styles")) + .pipe(browserSync.stream()); } // ICONS TASK var config = { - mode: { - css: { - sprite: 'sprite.svg', - render: { - css: { - template: './gulp/templates/sprite.css' - } - } - } - } -} + mode: { + css: { + sprite: "sprite.svg", + render: { + css: { + template: "./gulp/templates/sprite.css", + }, + }, + }, + }, +}; function beginClean() { - return del(['./app/temp/sprite', '-/app/assets/media/images/sprites']); + return del(["./app/temp/sprite", "-/app/assets/media/images/sprites"]); } function createSprite() { - return src('./app/assets/media/images/icons/**/*.svg') - .pipe(svgSprite(config)) - .pipe(dest('./app/temp/sprite/')); + return src("./app/assets/media/images/icons/**/*.svg") + .pipe(svgSprite(config)) + .pipe(dest("./app/temp/sprite/")); } function copySpriteGraphic() { - return src('./app/temp/sprite/css/**/*.svg') - .pipe(dest('./app/assets/media/images/sprites')); + return src("./app/temp/sprite/css/**/*.svg").pipe( + dest("./app/assets/media/images/sprites") + ); } function copySpriteCSS() { - return src('./app/temp/sprite/css/*.css') - .pipe(rename('_sprite.scss')) - .pipe(dest('./app/assets/scss/modules')); + return src("./app/temp/sprite/css/*.css") + .pipe(rename("_sprite.scss")) + .pipe(dest("./app/assets/scss/modules")); } function endClean() { - return del('./app/temp/sprite'); + return del("./app/temp/sprite"); } // WATCH TASK -const watch = function() { - browserSync.init({ - notify: false, - server: { - baseDir: './app' - } - }); - gulp.watch("./app/assets/scss/**/*.scss", {usePolling : true}, gulp.series(scssTask)).on('change', browserSync.reload); - gulp.watch("./app/assets/js/**/*.js", {usePolling : true}, gulp.series(cleanScripts, modernizrTask, scriptsTask, endCleanModernizr)); - // gulp.watch("./app/assets/images", {usePolling : true}, gulp.series(imagesTask)); - gulp.watch("./app/*.html").on('change', browserSync.reload); +const watch = function () { + browserSync.init({ + notify: false, + server: { + baseDir: "./app", + }, + }); + gulp + .watch( + "./app/assets/scss/**/*.scss", + { usePolling: true }, + gulp.series(scssTask) + ) + .on("change", browserSync.reload); + gulp.watch( + "./app/assets/js/**/*.js", + { usePolling: true }, + gulp.series(cleanScripts, modernizrTask, scriptsTask, endCleanModernizr) + ); + // gulp.watch("./app/assets/images", {usePolling : true}, gulp.series(imagesTask)); + gulp.watch("./app/*.html").on("change", browserSync.reload); }; // IMAGE TASK -function imagesTask(){ - return src(['./app/assets/media/images/**/*','./app/temp/media/images/**/*', '!./app/assets/media/images/icons', '!./app/assets/media/images/icons/**/*']) - .pipe(imagemin({ - progressive: true, - interlaced: true, - multipass: true - })) - .pipe(dest('./docs/assets/media/images')); +function imagesTask() { + return src([ + "./app/assets/media/images/**/*", + "./app/temp/media/images/**/*", + "!./app/assets/media/images/icons", + "!./app/assets/media/images/icons/**/*", + ]) + .pipe( + imagemin({ + progressive: true, + interlaced: true, + multipass: true, + }) + ) + .pipe(dest("./docs/assets/media/images")); } exports.watch = watch; -exports.icons = series(beginClean, createSprite, copySpriteGraphic, copySpriteCSS, endClean); -exports.images = imagesTask; \ No newline at end of file +exports.icons = series( + beginClean, + createSprite, + copySpriteGraphic, + copySpriteCSS, + endClean +); +exports.images = imagesTask; diff --git a/webpack.config.js b/webpack.config.js index e95d280..7d3e984 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,26 +1,25 @@ -const path = require('path'); - +const path = require("path"); module.exports = { mode: "production", entry: { - App: "./app/assets/js/App.js", - Vendor: "./app/assets/js/Vendor.js" + App: "./app/assets/js/App.js", + Vendor: "./app/assets/js/Vendor.js", }, output: { - path: path.resolve(__dirname, "dist/scripts"), - filename: "[name].js" - }, - module: { - rules: [ - { - test: /\.(js)$/, - exclude: /node_modules/, - use: ['babel-loader'] - } - ] - }, - resolve: { - extensions: ['*', '.js'] - } -} \ No newline at end of file + path: path.resolve(__dirname, "dist/scripts"), + filename: "[name].js", + }, + module: { + rules: [ + { + test: /\.(js)$/, + exclude: /node_modules/, + use: ["babel-loader"], + }, + ], + }, + resolve: { + extensions: ["*", ".js"], + }, +};