Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/softspiders/cra-typescript-test
- Owner: softspiders
- License: mit
- Created: 2019-01-31T04:33:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T11:56:59.000Z (almost 2 years ago)
- Last Synced: 2024-04-23T22:43:25.787Z (7 months ago)
- Topics: cra, create-react-app, jest, min, react, softspider, softspiders, ss, tdd, template, test, typescript
- Language: TypeScript
- Homepage:
- Size: 3.48 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)