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

@tomjamesallen/react-flux-boilerplate

v0.2.1

Published

A starting point for React / Flux projects, inspired by the [flux examples][flux-examples].

Downloads

5

Readme

React / Flux Boilerplate

A starting point for React / Flux projects, inspired by the flux examples.

Please note, this setup only provides a client-side implementation of react/flux. This is a very lightweight implementation that has suited my needs for small client-side projects. If you need a fuller feature set, or support for isomorphic apps then I would recommend redux or fluxible depending on your needs.

This boilerplate provides the following:

  • Default wiring for a store, actions and a dispatcher
  • Default components
  • Configured React-router
  • SCSS boilerplate, following BEM and ITCSS architecture
  • Gulp build scripts for HTML, SCSS and JS
  • Watchify configured for fast rebuilding of JS
  • Dev server with livereload

Getting started

Download or clone the repo and run npm install (you will also need gulp installed globally). To start the server with livereload just run gulp.

Available gulp tasks

  • gulp - default task sets environment to development, starts the dev server, compiles assets, and watches for changes
  • gulp build or gulp build:production - build only, with environment set to production
  • gulp faux-production - same as default task, but with the environment set to production
  • gulp build:development - build only, with environment set to development

See gulpfile.js for more detail on which sub-tasks each top level task is running.

Deployment

Running gulp build will run all the build scripts and save the output to /dist. This entire folder can be deployed to your production server. These are static assets only, so they can be deployed to a static file server such as amazon s3, or github pages.