Coder Social home page Coder Social logo

prepare-react-app's Introduction

🥏prepare-react-app

An alternative CLI for creating new React projects, with minimalistic approach and many customization possibilities.

release version weekly download count primary language procentage workflow build status last commit badge licence badge


program screenshot

Why?

I'm tired of using Create React App which ships with a lot of additional dependencies, but doesn't really add any of the most used tooling for React apps. I've wished that React had it's own CLI that does the job as good as i.e. Vue CLI, so you don't need to spend hours to set up a linter for your new project. That's where prepare-react-app comes in handy, it let's you initiate a new React project where you can choose yourself which parts you want to include in your build.

Usage

  1. Run prepare-react-app using npx
npx prepare-react-app <app-name>

Follow the instructions to set it up as you like

Development

npm run build to compile TypeScript files npm run test to run tests

Licence

MIT

prepare-react-app's People

Contributors

bartektelec avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

prepare-react-app's Issues

let user create projects in non-empty dir

the cli checks if destination folder is empty and will not allow creating a project there
user should be asked if he is aware of the directory not being empty and if they want to proceed anyway

fix eslint config with prettier

Eslint seems to highlight every space and new line for some reason (these disappear when eslint . --fix).
The projects are formatted using ESlint on save, but sometimes it doesnt work properly.
Eslint should only check the code style and good practices with airbnb.
Maybe prettier should be used for formatting, and just let eslint do the linting only.

project templates

add feature for saving and loading project templates that are basicly sets of plugins that cli is supposed to use
add possibility for storing templates in the cloud/npm
this should be different from plugins as plugins are the building blocks of a project, and template is just a list of needed blocks and the order these should be applied in

create a plugin system

create a plugin system which will replace the blueprints and deps.
the point of this feature is to make the package more scalable so the plugins can be split out to their own packages
the plugin system should async load the packages out of npm when needed
it should make it easier to create plugins for the cli

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.