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

https://github.com/zoltan-nz/typescript-sandbox

Typescript Sandbox
https://github.com/zoltan-nz/typescript-sandbox

cli experiment sandbox stream typescript universal-dependencies

Last synced: 6 months ago
JSON representation

Typescript Sandbox

Awesome Lists containing this project

README

          

# TypeScript SandBox

- [Experiment 1 - Streaming: Reading CSV file, transforming records to JavaScript Objects](src/streamer-experiment/README.md)
- [Experiment 2 - Creating a CLI tool in NodeJS](./src/cli-experiment/README.md)
- [Experiment 3 - Setup an universal library package with TypeScript](./src/package-experiment/README.md)
- [Experiment 4 - Using Jest Puppeteer for real browser acceptance testing](./src/jest-puppeteer-experiment/README.md)
- [Experiment 5 - Parsing numbers](./src/parsing-numbers/README.md)

## NPM commands

| Command | Description |
| ------------------------ | ------------------------------------------------------- |
| `npm run clean` | Remove `./dist` folder |
| `npm run prettier` | Run `prettier` |
| `npm run lint` | Run `prettier` and `ts-lint` sequentially |
| `npm run build` | Run `clean` and `lint` parallel and run `tsc` after |
| `npm run test` | Run `jest` |
| `npm run watch:build` | Watch any `*.ts` file change and run `tsc` |
| `npm run watch:prettier` | Watch any `*.ts` file change and run `prettier` |
| `npm run watch:lint` | Watch any `*.ts` file change and run `tslint` with fix` |
| `npm run watch:test` | Run `jest` with `--watchAll` |
| `npm run dev` | Run `watch:build` and `watch:test` parallel |