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-gdaymate

v0.0.3

Published

Boilterplate for twig prototyping

Downloads

10

Readme

YO Generator GdayMate

  _____     _               __  __       _         _ 
 / ____|   | |             |  \/  |     | |       | |
| |  __  __| | __ _ _   _  | \  / | __ _| |_ ___  | |
| | |_ |/ _` |/ _` | | | | | |\/| |/ _` | __/ _ \ | |
| |__| | (_| | (_| | |_| | | |  | | (_| | ||  __/ |_|
 \_____|\__,_|\__,_|\__, | |_|  |_|\__,_|\__\___| (_)
                     __/ |                           
                    |___/                            
   This is a starting point for most of my work.
   ---------------------------------------
   Author   :   Jinzhe Li
   Email    :   [email protected]

Intro

That's my own YO Generator who fits for my own requirements.

Credit to David Hellmann and his awesome [DHBoilterplate] (https://github.com/davidhellmann/generator-dhBoilerplate)

What is inside

Sass Functions

  • borderradius('level-x') or br('level-x')
  • boxshadow('level-x') or bs('level-x')
  • color('color-name') or c('color-name')
  • ease('easing-name') or e('easing-name')
  • fontfamily('font-name') or ff('font-name')
  • font-size('font-size') or fs('font-size')
  • lineheight(i) or lh(i)
  • sapce(i) or s(i)
  • verticalrhythm(i) or vr(i)

Sass Mixins

  • @include center
  • @include clearfix
  • @include container('full') ‚full‘ ist optional
  • @include cols(i)
  • @include filter(filter-name, value%)
  • @include fluid-type($properties, $min-vw, $max-vw, $min-value, $max-value) or @include ft($properties, $min-vw, $max-vw, $min-value, $max-value)
  • @include flexbox('full') or @include fb('full') ‚full‘ is optional
  • @include flexcols(i) or @include fc(i)
  • @include gutter(i)or @include g(i)
  • @include pull(i)
  • @include push(i)
  • @include valign
  • @include visuallyhidden or @include vh

Install

$ npm install -g generator-gdaymate

Usage

Jump in your Working Directory and type:

yo gdaymate

Run through the options. When you're done grab a coffee. The node module installation take a while :)

Commands

Intialize your Project simple with gulp init

Default Task with BrowserSync

gulp

Task for watch & deploy on live site (DANGEROUS)

gulp live

Task for Building

This Task clean the folder, build the stuff from ground up and optimize the images and minifiy JS / CSS files. Ready for live!

gulp build

Other Tasks

There are some other Tasks there…

// Clean Tasks
// Clean the specific folder in the "___dist" dir
gulp clean:templates
gulp clean:css
gulp clean:js
gulp clean:images


// Main Tasks
// All this are triggered within "gulp init" & "gulp build" task.
// Some of this are triggered within the "gulp" task.
gulp templates
gulp systemFiles
gulp modernizr
gulp compile:js
gulp sass
gulp copy:fonts
gulp images
gulp svg-single
gulp svg-sprite


// Minify Tasks
// This task are triggered within the "guld build" task.
gulp minify:js
gulp minify:sass
gulp minify:images

// FTP Tasks
// This only updates news files. FTP deets should be set in config.json in root
gulp upload:dist