UNPKG

@ts-engine/cli

Version:

Write TypeScript packages with optionally zero configuration.

58 lines (39 loc) 1.58 kB
<p align="center"> <img src="https://raw.githubusercontent.com/ts-engine/assets/master/logo.png" alt="ts-engine logo" /> </p> <h1 align="center">ts-engine</h1> <p align="center"> <img style="display: inline-block; margin-right: 5px;" src="https://github.com/ts-engine/ts-engine/workflows/CI/badge.svg" /> <img style="display: inline-block; margin-right: 5px;" src="https://badgen.net/github/release/ts-engine/ts-engine" /> </p> > Write TypeScript packages with optionally zero configuration. Setting up new [TypeScript](https://typescriptlang.org) packages is annoying. Installing and configuring the same packages over and over again is tedious and it is easy for tool versions to drift across multiple packages. ts-engine aims to reduce package setup effort drastically. With just one dependency and optionally no configuration you can build, test and lint your packages. ## Getting Started Install the package. ```sh yarn add --dev @ts-engine/cli ``` Build and typecheck your code using [Rollup](https://rollupjs.org), TypeScript and [Babel](https://babeljs.io). ```sh tse build src/index.ts ``` Run your app directly from its TypeScript entry file. ```sh tse run src/index.ts ``` Execute tests using [Jest](https://jestjs.io). ```sh tse test ``` Lint your code using [ESLint](https://eslint.org) and format it with [Prettier](https://prettier.io). ```sh tse lint . ``` ## Documentation Checkout the official docs over at https://ts-engine.dev. ## Examples Example Node.js applications and libraries can be found [here](./packages/_examples).