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

jekyll-postcss-browserify

v0.1.1

Published

A boilerplate for building static websites with Gulp, Jekyll, PostCSS, Browserify, svg-sprite, and more.

Downloads

3

Readme

jekyll-postcss-browserify

js-standard-style Build Status

A boilerplate for building static websites with Gulp, Jekyll, PostCSS, Browserify, imagemin, svg-sprite, and more.

This project is an opinionated front-end boilerplate for developing and deploying static websites using Jekyll. It includes several front-end tools that help facilitate the development process, and Gulp to automate common development tasks, compiling source code, watching files for changes, and deployment.

Features

Requirements

This project is compatible with Linux, Unix, and Mac OSX operating systems. It requires the following software to be already installed on your system:

Running Windows? Jekyll does not officially support the Windows operating system, but they do provide special instructions if you want to take a crack at it anyway.

Installation

Clone this repository to your local machine, and install its dependencies with the following command(s):

git clone [email protected]:cbracco/jekyll-postcss-browserify.git
cd jekyll-postcss-browserify/
npm install

The npm install command will first run bundle install to install the required Ruby gems, and then npm install for the required npm modules.

Usage

Developing

To start working, first run the following command(s):

npm start

The npm start command will run the default Gulp task which builds the Jekyll templates and compiles the website assets, starts a local server (http://127.0.0.1.xip.io:9999) with Browsersync, opens the project in the default browser, and begins watching for file changes.

This is considered “Development Mode”, which means that the files being served in this local environment are not yet minified or optimized for deployment.

Publishing

To publish a production-ready version of the website, run the following command(s):

npm run production

The npm run production command will run the production Gulp task which deletes any existing production builds, builds a new production-ready version of the website, starts a local server (http://127.0.0.1.xip.io:9998) with Browsersync, and opens the project in the default browser.

This can be considered “Production Mode”, which means that the files being served in this local environment are minified and optimized for deployment. It is intended to mimic the production environment on your local environment, so you can preview exactly what you will see before you deploy the website to a production server.

Deploying

Before deploying the website, first create a file called rsync-credentials.json and fill it with the following information:

{
  "destination": "/path/to/your/website",
  "hostname": "example.com",
  "username": "person",
  "port": 666
}

Then, run the following command(s) to deploy a production-ready version of the website to a remote server:

npm run deploy

The npm run deploy command will run the deploy Gulp task which deletes any existing production builds, builds a new production-ready version of the website, and uses rsync to upload the website to the specified remote server.

Credits

“If I have seen further it is by standing on ye sholders of Giants.”Issac Newton

jekyll-postcss-browserify is a project by @cbracco and its contributors. It is influenced by the following organizations, projects, articles, and individuals:

Thank you all for your hard work.

Contributing

Changelog

License