1.0.11 • Published 2 years ago

with-batteries v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

with-batteries

A CLI tool for generating React and Next apps with all the neccessary batteries (packages) included. It's also come with Typescript support out of the box. It's a great way to start your next project.

The package contains 4 directories like so:

  • Next with TypeScript (batteries included)
  • Next with JavaScript (batteries included)
  • React with TypeScript (batteries included) created using Vite
  • React with JavaScript (batteries included) created using Vite

Installation

  • In your terminal, run:
npx with-batteries name-of-your-project
  • Then choose from one of the templates.
  • Finally choose your preferred variant and run:
cd name-of-your-project
npm install or yarn
npm run dev or yarn run dev

Included Batteries:

  • For React

    • Axios
    • React Router
    • React Query
    • Tailwind (with a predefined config file)
    • Eslint Config React App (to give you linting similar to create-react-app)
    • Configured with ScrollToTop utility, more info can be found in App.jsx/tsx file in src directory.

    For more info regarding the various dependencies please refer to the package.json

  • For Next

    • Axios
    • React Query
    • Tailwind (with a predefined config file)
    • eslint-plugin-react
    • Types required for the TypeScript variant The .eslintrc file has also been provided with a starter template. For more info regarding the various dependencies please refer to the package.json

NOTE:

The React templates are not provided with a README file. You can add one after scafolding the project.

TODO

  • Add Storybook templates
  • Add Testing to the existing as well as upcoming templates.

License

MIT

Authors

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago