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.

Package Sidebar

Install

npm i create-react-typescript

Weekly Downloads

8

Version

1.5.0

License

ISC

Unpacked Size

130 kB

Total Files

13

Last publish

Collaborators

  • fentech