Skip to content

softspiders/cra-typescript-test

Repository files navigation

cra-typescript-test

Feature tags

  • create-react-app
  • react
  • test
  • typescript

Direct ancestors

TBD

Direct descendants


Requirements

TypeScript and other dependencies are transitive and therefore installed implicitly.

Installation

Two steps are required:

Install create-react-app

npm i -g create-react-app

Generate+Install createreactapp-typescript-test application (create-react-app with TypeScript)

All code in this repository are generated and installed at once by the following create-react-app command.

Being in some parent directory, run:

create-react-app createreactapp-typescript-test --scripts-version=react-scripts-ts

Running

Being in the createreactapp-typescript-test directory, run:

node start

or

yarn start

Running test (in watch mode)

Being in the createreactapp-typescript-test directory, run:

node test

or

yarn test

Authors

Alexander Lapygin

Inspired by

React+TypeScript+TDD

License

Licensed under the MIT license.


SOFTSPIDERS