generator-hacknight-web

Yeoman generator for creating a website with Gulp + Browsersync

Usage no npm install needed!

<script type="module">
  import generatorHacknightWeb from 'https://cdn.skypack.dev/generator-hacknight-web';
</script>

README

generator-hacknight-web

Yeoman generator for creating a website with Gulp + Browsersync

Installation

First, install Yeoman and generator-hacknight-web using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-hacknight-web

Getting started

Create a directory for your project:

mkdir mynewproject

Navigate to your new project directory:

cd mynewproject

Generate your new project:

yo hacknight-web

Features

Starting project scaffold

|-- src/
|    |-- index.html
|    |-- css/
|         |-- main.css
|    |-- js/
|         |-- main.js
|    |-- images/
|         |-- logo.png

Build process with Gulp

Serve your project with live reload:

gulp serve

Build your project for production:

gulp build

Build includes asset concatenation, minification, and compression.

License

MIT © hacknight