Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/softspiders/cra-typescript-test

Minimalistic create-react-app + TypeScript example
https://github.com/softspiders/cra-typescript-test

cra create-react-app jest min react softspider softspiders ss tdd template test typescript

Last synced: about 17 hours ago
JSON representation

Minimalistic create-react-app + TypeScript example

Awesome Lists containing this project

README

        





# cra-typescript-test

## Feature tags

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

## Direct ancestors

TBD

## Direct descendants

- [cra-ts-storybook-snapshot-testing](https://github.com/softspiders/cra-ts-storybook-snapshot-testing)
- [***+msw,react-query,rest,rtl***: cra_ts_rtl_msw_react-query](https://github.com/AlexanderLapygin/cra_ts_rtl_msw_react-query)

---

## Requirements

* [*Node 8.10.0* o later](https://nodejs.org/en/download/package-manager/)
* [*create-react-app*](https://facebook.github.io/create-react-app/)

*TypeScript* and other dependencies are transitive and therefore installed implicitly.

## Installation

Two steps are required:

### Install *create-react-app*

```sh
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:

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

## Running

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

```sh
node start
```

or

```sh
yarn start
```

## Running test (in watch mode)

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

```sh
node test
```

or

```sh
yarn test
```

## Authors

[Alexander Lapygin](https://github.com/AlexanderLapygin)

## Inspired by

[React+TypeScript+TDD](https://react-typescript-tdd.firebaseapp.com/)

### License

Licensed under the [MIT license](./LICENSE).

---

[SOFTSPIDERS](https://github.com/softspiders/softspiders)