A project based on gulp in order to use it as a template for every front-end project.
- Clone or Download the git project.
- Use npm to install all dependencies.
npm install
- Once you finish to install the dependencies you can start to use it.
By default gulp command run the development task.
gulp
gulp development
gulp production
Features | Task | Tools Used |
---|---|---|
CSS | styles | Sass |
JavaScript | scripts | Babel, Webpack |
Images | copy-images | Compression with imagemin |
- Support for Babel.js in the
gulpfile.babel.js
- The
gulp tasks
were broken in separated files. - update directory structure
- Added the next tasks
clean
delete the files which were built eitherdevelopment
orproduction
task.copy-html
copy the html assets to the build directory.copy-images
apply gulp-imagemin and after copy the images.lint
apply gulp-eslint to js filesscripts
apply babel, uglify and concat to js filesstyles
apply sass and autoprefixer to scss fileswatch
listen the changes in the above tasks.
- Added documentation for tasks.
- Added ignored entries for IDEA, node_modules and build files.
Pending to publish a post : http://codesandtags.org