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

@j154004/generator-react-hot

v2.2.6

Published

Yeoman generator to provide the scaffolding for a hot reloading React application

Downloads

29

Readme

generator-react-hot

Build Status

Yeoman generator to provide the scaffolding for a React app with hot reloading.

Generated app has the following features:

  • Hot reloading for React
  • Transpilation with Babel to support older browsers
  • Linting using ESLint, extending from the airbnb config
  • Dockerfile to spin up an nginx server with built code
  • Jest and Enzyme setup for testing
  • .gitignore file to prevent accidentally pushing unnecessary files
  • Development and production webpack configurations, extending from a base configuration
  • Injects resources into index.html file on build
  • Support for SCSS and CSS for styling

Installation

Install generator-react-hot with npm scoped package:

npm install yo @j154004/generator-react-hot -g

Usage

You can use this generator with yo with ease. In the directory you wish to create your resource run the following command:

yo @j154004/react-hot

Answer the questions asked by the generator, these answers will be injected into various files that will be created in your directory.

All the dependencies required to run the application will be installed automatically.

Options

  • --skip-welcome - Skips welcome greeting before displaying options.

Getting Started

  • Start by running the hot reloading development server with npm start.
  • Navigate to http://localhost:PORT in your browser, where PORT is the one you chose when running the generator. You should see the words "Hello, world!" printed on the page.
  • Change the text inside the <div> element in src/App.js and notice the text change in the browser when you save your changes.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b feature/new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/new-feature
  5. Submit a pull request.

License

See LICENSE for licensing information.