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

website-builder-gulp

v1.0.8

Published

A website builder for using gulp

Downloads

32

Readme

Overview

A website builder for using gulp. Use this project to create highly performant and lightweight static websites. Or, just use the gulp compiler to create optimized JS and CSS for your Wordpress, Shopify, or Drupal website. Build your JS, SCSS, and static HTML files using the "hot reload" features that come with gulp watch. In addition, your images, fonts, videos, and documents will be all be optimized for web using gulp so that every aspect of your website is optimal.

Before you get started

  • Make sure you have node and npm installed. We prefer yarn, but you can use npm instead.

Getting Started

  • Initialize your project if not already done so.
yarn init
  • Add the website builder
yarn add website-builder-gulp
  • Bring in the website builder boiler plate
node node_modules/website-builder-gulp/init.js
  • Install new dependencies added to your package json
yarn install
  • Start your project
yarn start

Notes

  • After you get your project running be sure to find and replace all instances throughout the project of CHANGE to match the appropriate values for your website ex:
<title>CHANGE | <!-- $title --></title>
  • Be sure to run yarn build when you are ready to deploy your site. This will optimize all of your javascript, images, and video so that they are compact and highly performant. In addition it creates a perfect sitemap and robots.txt file for your website.

Ways to Use This Project

Boiler Plate

  • Create a static website using Code Kit by running gulp develop. This will create static html pages for each .kit file you have in the pages folder. To create routes ie /about, simply create a folder for each page and place your kit file inside that folder. We suggest naming the .kit file the same
  • This package comes with a boiler plate bootstrap project complete with all the common head, nav, footer and wrapper html. Run node /node_modules/website-builder-gulp/init.js to initialize the boiler plate project.

Asset Files only

  • Using something other than kit files for your html? Using a CMS like wordpress, shopify, or Drupal but want the benefits of using SCSS and npm? Use our assets only options.
  • Start by configuring the gulpfile.bable.js after initializing your boiler plate. In the config file be sure to set the path to your source files so that gulp can watch your changes. Configure your destination path so that your output goes to the right place for your SCSS. For example, we built a shopify them by placing the source files outside of the theme folder and had the builder point to the shopify theme folder as the destination and voila! you are using scss in your shopify theme once again.
  • run gulp develop-js-scss-fonts-images to watch your folder for changes build out perfect pages.

Other options

  • gulp develop-js-scss only watches for js and scss
  • gulp develop-js-scss only watches for js and scss
  • gulp develop-js-scss-fonts only watches for js, scss, and fonts
  • gulp develop-js-scss-fonts only watches for js, scss, and fonts