Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k-dizzled/pure-ts-template
https://github.com/k-dizzled/pure-ts-template
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/k-dizzled/pure-ts-template
- Owner: K-dizzled
- License: lgpl-2.1
- Created: 2024-11-09T12:15:15.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T13:53:09.000Z (about 2 months ago)
- Last Synced: 2024-11-09T14:45:41.955Z (about 2 months ago)
- Language: TypeScript
- Size: 551 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TypeScript Project Template
This is a simple template for TypeScript projects. It includes some very basic setup for pure `ts`. Linter is configured with `eslint` and `prettier`. `Jest` is configured for testing. `commonjs` module syntax as could be seen in `tsconfig.json` is used for the project. `nvm` version configured in `.nvmrc` is `20.13.1`. Scripts are configured in such way that complete rebuild and formatting happend before `test` and `serve`, but that could be easily changed.
## Prerequisites
Setup the npm version via `nvm`:
```bash
nvm use
```Install dependencies:
```bash
npm install
```## Development
Run the entry point:
```bash
npm run serve
```Run tests:
```bash
npm test
```