npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-yeomify-landing

v1.6.2

Published

Yeoman generator for landing project powered by Gulp

Downloads

11

Readme

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.

Yeomify landing generator

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 watch run a watcher for the app folder;
  • gulp build build the project to dist folder;
  • gulp build --abspaths build the project to dist folder with the absolute paths (css and js files);
  • gulp build:watch run a watcher for the dist folder;
  • gulp build:clean remove dist and .tmp folders.

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-dir package.
  • 1.6.0 — Added babeljs support, updated javascript linter.
  • 1.5.0 — Added ability to copy folders and contents of them (expanded copyfiles parameter in config.js).
  • 1.4.2 — Updated gulp dependencies, replaced gulp-minify-html to gulp-htmlmin, fixed reset files.
  • 1.4.1 — Added onLast parameter for gulp-notify config, updated jslinter config.
  • 1.4.0 — Replaced jade plugin to pug, added pug linter, updated body styles.
  • 1.3.2 — Fixed issue #4, updated modernizr version.
  • 1.3.1 — Fixed bug where the page was reloaded without insert styles in jade file, optimized watch task.
  • 1.3.0 — Added less, sass and stylus linters, updated styles files structure, updated bower dependencies.
  • 1.2.2 — Renamed config option from css to csstype, renamed folder from styles to css, updated names of tasks.
  • 1.2.1 — Fixed bug with incorrect paths in app folder after run the build task, added default font file for css.
  • 1.2.0 — Replaced gulp-ruby-sass to gulp-sass.
  • 1.1.2 — Added .idea folder to .gitignore.
  • 1.1.1 — Updated csslint validator options.
  • 1.1.0 — Added stylus preprocessor, added --abspaths parameter to build task, updated less structure folder.
  • 1.0.6 — Validator options as external files, updated documentation.
  • 1.0.5 — Bug fixed in inject task, update gulp-minify-html config.
  • 1.0.4 — Added html5doctor reset stylesheet, bug fixed in watch tasks, added pictures folder 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