Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodesp/ts-node-starter
Opinionated Typescript Node starter
https://github.com/theodesp/ts-node-starter
boilerplate node typescript
Last synced: about 1 month ago
JSON representation
Opinionated Typescript Node starter
- Host: GitHub
- URL: https://github.com/theodesp/ts-node-starter
- Owner: theodesp
- License: mit
- Created: 2019-05-01T18:21:28.000Z (over 5 years ago)
- Default Branch: flavor/marblejs
- Last Pushed: 2023-01-23T22:42:17.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T07:21:21.544Z (about 2 months ago)
- Topics: boilerplate, node, typescript
- Language: TypeScript
- Size: 3.24 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 59
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-node-starter
[![Greenkeeper badge](https://badges.greenkeeper.io/theodesp/ts-node-starter.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/theodesp/ts-node-starter.svg?branch=master)](https://travis-ci.org/theodesp/ts-node-starter)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)An opinionated boilerplate project built with Node.js and Typescript.
### Stack
- Runtime: [Node.js](https://nodejs.org/en/)
- Type System: [TypeScript](https://www.typescriptlang.org/)
- Test Runner: [Jest](https://jestjs.io/)
- Linter: [TSlint](https://palantir.github.io/tslint/)
- Assertions: [Chai](https://www.chaijs.com/)
- Framework: [Marble.js](https://docs.marblejs.com/)## Scripts
The following npm scripts can be run using `npm run `. This project relies on `cross-env` and `rimraf` utilities in order to support cross-platform opening and deleting files.
- `build` - build the TypeScript files and output to `lib/`
- `clean `- recursively delete the `lib/` and `coverage/` directories
- `clean:build `- recursively delete the `lib/` directory
- `clean:coverage` - recursively delete the `coverage/` directory
- `coverage `- run the test suite and generate code coverage reports
- `coverage:open` - run npm run coverage then open the results in a browser
- `dev `- concurrently run `build:watch` and `start:watch`
- `lint `- run the linter configured by TSLint on the `src/` directory
- `start` - run server
- `start:dev` - run server from `src`
- `start:watch` - relaunch the server if new changes are detected in `src/`
- `test `- run unit tests defined in the `tests/` directory
- `test:watch `- run tests in watch mode
- `test:ci `- run unit tests and generate necessary files for CI integration