generator-yeomify-landing
generator-yeomify-landing copied to clipboard
Yeoman generator for landing project powered by Gulp
Yeomify landing generator
Yeoman generator for landing project powered by Gulp.
Usage
Make sure you have yeoman, bower and gulp installed:
$ npm install -g yo bower gulp
Install the generator:
$ npm install -g generator-yeomify-landing
Then, create a folder for the generator and unfold it:
$ yo yeomify-landing
During installation you can install pug as template engine and less, sass or stylus as css preprocessor.

Then, run npm install and bower install to install the required dependencies.
Directory Layout
After installation you'll have the following directory structure:
├── app
│ ├── css
│ ├── pug
│ ├── scripts
│ └── index.html
├── gulp
│ ├── build.js
│ ├── config.js
│ └── watch.js
├── bower.json
├── gulpfile.js
├── package.json
└── readme.md
Development
Use the following commands for development:
gulp watchrun a watcher for theappfolder;gulp buildbuild the project todistfolder;gulp build --abspathsbuild the project todistfolder with the absolute paths (css and js files);gulp build:watchrun a watcher for thedistfolder;gulp build:cleanremovedistand.tmpfolders.
Also, you can change the gulp options in config.js file.
Linters
Each template engine and preprocessor uses a linter. The documentation for linters rules: pug, css, less, sass and stylus. Javascript uses jshint and supports ECMAScript 6 syntax. By default, this functionality is disabled, but you can enable it by changing the es6syntax flag into your config.js file.
Release History
- 1.6.2 — Fixed minor bugs, updated descriptions.
- 1.6.1 — Updated version of
require-dirpackage. - 1.6.0 — Added
babeljssupport, updated javascript linter. - 1.5.0 — Added ability to copy folders and contents of them (expanded
copyfilesparameter inconfig.js). - 1.4.2 — Updated gulp dependencies, replaced
gulp-minify-htmltogulp-htmlmin, fixed reset files. - 1.4.1 — Added
onLastparameter forgulp-notifyconfig, updatedjslinterconfig. - 1.4.0 — Replaced
jadeplugin topug, addedpuglinter, updatedbodystyles. - 1.3.2 — Fixed issue #4, updated modernizr version.
- 1.3.1 — Fixed bug where the page was reloaded without insert styles in
jadefile, optimizedwatchtask. - 1.3.0 — Added
less,sassandstyluslinters, updated styles files structure, updated bower dependencies. - 1.2.2 — Renamed config option from
csstocsstype, renamed folder fromstylestocss, updated names of tasks. - 1.2.1 — Fixed bug with incorrect paths in
appfolder after run thebuildtask, added default font file for css. - 1.2.0 — Replaced
gulp-ruby-sasstogulp-sass. - 1.1.2 — Added
.ideafolder to.gitignore. - 1.1.1 — Updated csslint validator options.
- 1.1.0 — Added
styluspreprocessor, added--abspathsparameter tobuildtask, updated less structure folder. - 1.0.6 — Validator options as external files, updated documentation.
- 1.0.5 — Bug fixed in
injecttask, updategulp-minify-htmlconfig. - 1.0.4 — Added html5doctor reset stylesheet, bug fixed in
watchtasks, addedpicturesfolder to config. - 1.0.3 — Added sourcemaps, bug fixed with
.gitignore. - 1.0.2 — Added yeoman generator support.
- 1.0.1 — Bugs fixed.
- 1.0.0 — Added npm support.
- 0.1.0 — Initial release.
License
MIT © Ilya Fedotov