Wondering what’s next for npm?Check out our public roadmap! »

    create-react-typescript

    1.5.0 • Public • Published

    Create React Typescript

    Do you need to start up a React app with the configuration provided by create-react-app, but also need TypeScript with linting configured, so you can start working?

    Just run:

    $ npx create-react-typescript <package-name>
    

    This command will:

    • Use CRA to spin-up a new React app with TypeScript
    • Installs ESLint and Prettier
    • Adds ESLint configuration for React with Typescript
    • Adds a pre-commit to run linting
    • Adds a lint script to your package.json
    • Adds vscode workspace settings to run ESLint on save
    • Installs and sets up Jest and Enzyme

    Options

    --npm

    Use the option --npm if you prefer to use NPM as your package manager instead of Yarn.

    --commitizen

    Install and setup commitizen.

    Install

    npm i create-react-typescript

    DownloadsWeekly Downloads

    0

    Version

    1.5.0

    License

    ISC

    Unpacked Size

    130 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar