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

haul-dog

v1.0.0-beta.22

Published

Haul is a new command line tools for React Native

Downloads

2

Readme


Build Status Version MIT License

All Contributors PRs Welcome Code of Conduct

Chat tweet

Haul is a drop-in replacement for react-native CLI built on open tools like Webpack. It can act as a development server or bundle your React Native app for production.

Features

  • Replaces React Native packager to bundle your app
  • Access to full webpack ecosystem, using additonal loaders and plugins is simple
  • Doesn't need watchman, symlinks work nicely
  • Helpful and easy to understand error messages
  • Hot Module Reloading

Getting started

Start by adding Haul as a dependency to your React Native project (use react-native init MyProject to create one if you don't have a project):

yarn add --dev haul

If you're on a React Native version >= 0.43, add the following in android/app/build.gradle somewhere before the apply from: "../../node_modules/react-native/react.gradle" statement:

project.ext.react = [
    cliPath: "node_modules/haul/bin/cli.js"
]

To configure your project to use haul, run the following:

yarn run haul init

This will automatically add the configuration needed to make Haul work with your app, e.g. add webpack.haul.js to your project, which you can customise to add more functionality.

Next, you're ready to start the development server:

yarn run haul start -- --platform ios

Finally, reload your app to update the bundle or run your app just like you normally would:

react-native run-ios

Documentation

Check out the docs to learn more about available commands and tips on customizing the webpack configuration.

  1. CLI Commands
  2. Configuration
  3. Recipes

Hot Module Replacement

Please refer to the Setup guide.

Limitations

Haul uses a completely different architecture from React Native packager, which means there are some things which don't work quite the same.

We are actively working on adding support for the following:

  • Existing react-native commands

The following features are unlikely to be supported in the future:

  • Haste module system: use something like babel-plugin-module-resolver instead
  • Transpile files under node_modules: transpile your modules before publishing, or configure webpack not to ignore them

Contributors

Thanks goes to these wonderful people (emoji key):

| Mike Grabowski💬 💻 🎨 📖 💡 🤔 👀 | Satyajit Sahoo💬 💻 🎨 🤔 👀 | Paweł Trysła💬 🐛 💻 📖 💡 🤔 | Krzysztof Borowy💬 🐛 💻 🤔 | Michał Pierzchała💻 🤔 ⚠️ | Steve Kellock💻 | Mathieu Dutour💻 | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | Orta📖 | Yann Pringault💻 📖 | Drapich Piotr💻 📖 | Júlio César🐛 💻 | LiJung Chi💻 | spypsy💻 | Juwan Wheatley📖 | | Jeremi Stadler📖 | David Sheldrick💻 | Miguel Oller🐛 💻 | Krzysztof Karol💻 | Jakub Stasiak💻 | Ferran Negre🐛 💻 | CL123123📖 | | Marty Penner📖 | Jim Cummins📖 | Gant Laborde📖 | Paweł Burniak📖 | bsnelder💻 | aivæn💻 | Nemanja Stojanovic💻 | | bogdanbolchis📖 | Joe Arasin🐛 💻 | Norbert de Langen📖 | Gustav Wengel📖 | Eric Wooley🐛 💻 | Matt Cubitt🐛 💻 | Jakub Beneš💻 |

This project follows the all-contributors specification. Contributions of any kind welcome!