Neapolitan Pasta Maker

    create-react-prime

    4.5.7 • Public • Published

    prime-logo

    Create React Prime

    This CLI tool allows you to easily install and setup react-web and react-mobile. check their repositories for more information.

    Quick start

    npx create-react-prime@latest
    cd <project name>
    npm start

    or

    npm init react-prime@latest
    cd <project name>
    npm start

    Arguments

    Passing arguments to the CLI is optional! The CLI will prompt questions for any missing required arguments. The order they are passed determines what they are used for.

    # Argument name Value Default Description
    1 Project Name Any text (no spaces) Boilerplate name The name of the project. No spaces allowed. Follows the directory naming rules of your current OS. This name will be applied to the installation directory, the package.json and depending on the boilerplate, can be applied to other files or directories as well.

    Options

    Passing options to the CLI is optional! The CLI will prompt questions for any missing required options.

    Option Value Default Description
    -b, --boilerplate - - Start installation process for boilerplates
    -m, --modules - - Start installation process for modules
    -c, --components - - Start installation process for components
    -d, --debug - false Enable additional logging

    Development

    Make sure to read further before you start developing on the create-react-prime CLI tool!

    create-react-prime

    The internals are located in the lib folder. This folder acts as an internal NPM package that can be referenced with @crp anywhere in this project. Make sure to discuss with the team beforehand if you want to add changes to the internal code.

    Modules

    Modules are located in the src folder. Here you can find the logic for every installation process that this CLI tool has to offer. It's not necessary to request for changes in this section of the codebase, but it's always good to discuss your plans with the team beforehand.

    Make sure to familiarize yourself with the code style and folder/file structure before you start writing code!

    Install

    npm i create-react-prime

    DownloadsWeekly Downloads

    21

    Version

    4.5.7

    License

    MIT

    Unpacked Size

    61.9 kB

    Total Files

    3

    Last publish

    Collaborators

    • jbostelaar
    • sandervspl