项目作者: petersonby

项目描述 :
Boilerplate project with Gulp
高级语言: JavaScript
项目地址: git://github.com/petersonby/gulp.git
创建时间: 2019-02-19T20:12:08Z
项目社区:https://github.com/petersonby/gulp

开源协议:

下载


Gulp boilerplate project

Install

Click on Use this template button.

Usage

Create build and start server for development:

  1. npm start

Create build for production:

  1. npm run build

Includes:

HTML

You can create Nunjucks components and layouts that will be rendered to HTML pages.

CSS

You can use any SCSS(SASS) opportunities.

Two PostCSS plugins: autoprefixer and postcss-combine-media-query.

In production mode styles will be optimized by csso.

JS

_polyfill.jsForEach polyfill for NodeLists.

animated-scroll.js – animated scroll to anchors.

menu.js – script for mobile menu.

slider.js – slider by tiny-slider.

Template contains ESLint to style your code with airbnb-base.

Your scripts will be compiled by Babel and minimized by TerserPlugin in production mode.