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-bootstrap

v5.2.0

Published

wolox-react-bootstrap

Downloads

23

Readme

wolox-react-bootstrap

This script aims to automate the process of initializing a React App using the Wolox standards.

Prerequisites

How to use

To run from server:

You don't need to clone this repository. Just follow these steps:

Run the installation script using the following command:

bash <(curl -s https://raw.githubusercontent.com/Wolox/react-bootstrap/development/run.sh)

Optional parameters:

  • -v or --verbose: Display more information as the bootstrap is running
  • -l or --local: Run a local version of the bootstrap

Run locally

To setup a local version of the bootstrap, you may clone it and do the following:

cd ./react-bootstrap
npm link

After that, every time you want to run it you may execute the run script: with the local flag

# Make sure you are in the parent folder of the bootstrap
./react-bootstrap/run.sh -l
Components
  • FormInput (input and textarea)
  • ProviderWrapper
  • Routes
  • Spinner
  • Suspense
Screens
  • Dashboard

Bootstrap libraries

||| |----|-----------| |react| ^17.0.1

|Name|Description| |----|-----------| |eslint-config-wolox| Wolox eslint standard rules. |eslint-config-wolox-react| Wolox eslint React rules. |@wolox/eslint-config-typescript| Wolox eslint React rules. |prettier| Code formatter. |postcss| Tool for transforming styles with JS plugins. |react-testing-library| Simple and complete React DOM testing utilities that encourage good testing practices. |chalk| Terminal Styling. |env-cmd| Node program for executing commands using an environment from an env file. |aws-deploy-script-fe| AWS script for deploying your frontend applications. |node-sass| Provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. |react-dom| Serves as the entry point to the DOM and server renderers for React. |apisauce| Talking to APIs doesn't have to be awkward anymore. |react-router-dom| DOM bindings for React Router. |react-router| Routing for React. |history| Manage session history anywhere JavaScript runs. |i18next| An internationalization-framework written in and for JavaScript. |react-spinkit| Spinners library. |typescript| Brings you optional static type-checking along with the latest ECMAScript feature.

Notes

This script will configure your system to install global npm packages without having to use sudo.

Known Issues

Yeoman not found during project generation

Sometimes when running the generator, you will get an error indicating that yeoman is not installed and a prompt with a message like: -bash: yo: command not found. This could be due to having more than one node version installed, or not having the right PATH configured. Either way, here is how to fix this issue.

NOTE: This solution works only if you have installed node using nvm (node version manager). We are working on a different solution that does not require nvm.

Step 1: Check if you have the right version of node setted

It's a common issue having two or more versions of node. What you need to do is make sure that the version that is shown with the command node --version is the same as the one in your nvm directory (nvm list). If not, you can set it using the command nvm use -version- (e.g.: nvm use v13.8.0).

Step 2: Add node binaries folder route to PATH

In the ~/.bashrc, ~/.zshrc or the configuration script for your shell you need to add the following line at the end of the file:

export PATH=$NVM_DIR/versions/node/$(node --version)/bin:$PATH

Save the changes, close and re-open the console or run source .bashrc to apply the changes of the file. Now run the generator again. It should work just fine.

About

This repository is maintained by everyone at Wolox.

Wolox

License

wolox-react-bootstrap is available under the MIT license.

Copyright (c) 2020 Wolox

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.