5.2.0 • Published 3 years ago

@frontendez/gulp-markup-boilerplate v5.2.0

Weekly downloads
65
License
MIT
Repository
github
Last release
3 years ago

gulp-markup-boilerplate

Gulp boilerplate for markup (HTML, CSS, JS).

Features

  • Easy project creation
  • Full featured templating with Nunjucks
  • Sass, autoprefixer, minify css, bundle css
  • ES modules support, minify js, bundle js
  • Optimize images
  • Web server
  • Browser live reloads after changes

Create a new project

npx @frontendez/gulp-markup-boilerplate my-project
cd my-project

(npx is a package runner tool that comes with npm 5.2+ and higher)

It will create a project directory inside the current folder, generate the initial structure and install dependencies.

Commands

  • npm run build - build project from source

  • npm run dev - start web server, watch and build changes, reload browser automatically

  • npm run watch - watch and build changes without web server starting

  • npm run clean - clean output directory 'dist'

Project structure

my-project                  #Project directory
|-- dist                    #Output directory
    |-- assets              #Assets
        |-- fonts           #Fonts
        |-- images          #Images
        |-- libraries       #Libraries
        |-- scripts         #Scripts
        |-- styles          #Styles
    |-- index.html          #Index page
|-- node_modules            #Node modules
|-- src                     #Source directory
    |-- fonts               #Fonts
    |-- images              #Images
    |-- libraries           #Libraries
    |-- scripts             #Scripts
        |-- __chunks        #Chunks (partials)
    |-- static              #Static files
    |-- styles              #Styles
        |-- __chunks        #Chunks (partials)
    |-- views               #Views
        |-- __chunks        #Chunks (partials)
        |-- index.njk       #Index page
|-- config.js               #Project config
|-- gulpfile.js             #Gulp config
|-- package.json
|-- package-lock.json

Configuration files

  • config.js - configuring paths and bundle files

  • gulpfile.js - gulp tasks file

5.2.0

3 years ago

5.1.4

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.0.0

3 years ago

4.2.0

3 years ago

4.1.1

3 years ago

4.1.0

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago