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-react-wizard

v0.2.0

Published

Prepare React project with several options (Browserify of WebPack, Gulp, Babel etc)

Downloads

2

Readme

React Wizard

is Yeoman template to help users for ReactJS initial project setup. I'm trying to not use bunch of libraries that won't be used. Through an interactive guide, the user can set whether he wants to use the version from CDN or not, how to pack the final file (Browserify or Webpack), to use Gulp or just npm scripts, etc.

Questions:

How do you want to inject React?

  • CDN - React (and ReactDOM) library will be injected in HTML page from official React CDN. Latest version will be used, so if you need specific version please update src/index.html file
  • Built - React libraries will be downloaded as npm module, and used in final release with require.

What packager you want to use?

Select library to pack source files to final Javascript release:

  • Webpack
  • Browserify

Do you want to use Babel?

If you want to use modern EcmaScript features, or JSX templating for React components you must to use Babel.

What Babel presets you want to use?

  • React - used to transpile JSX HTML code to React components
  • Newest EcmaScript - used to update your modern Javascript code, to be supported in older browsers

How to build your scripts?

  • Standalone - with this option we will create script(s) in ./scripts/ folder that will be used for build. In this case you must to execute those scripts manually
  • Gulp - will configure gulpfile.js - main Gulp configuration file with all tasks that user can execute.

Should Gulp listen for file changes for autobuild?

this question will be asked only if Gulp is selected. If you select it whenever you change source files, Gulp will execute task for autobuild.

Should Gulp autorefresh browsers on changes?

this question will be asked only if Gulp is selected. If you set Y browser-sync server will be started on default port (3000). To change port open gulpfile.js and on "serve" task replace _port variable. You can open this local web address on several browsers, and on each change, all browsers will be refreshed.

Install all npm libraries?

Your project is generated, and npm config file (package.json) is set. If you don't need to change it manually you can select Y. If you want to update something, change module versions (by default latest stable will be loaded), you need to run npm install manually.