UNPKG

ts-to-html

Version:

TS and SASS compiler for a HTML with live preview

39 lines (30 loc) 1.06 kB
# ts-to-html [![Author](https://badgen.net/badge/Author/ezequiel-fr/green)](https://github.com/ezequiel-fr) [![License](https://badgen.net/badge/License/TheUnlicense/blue?icon=github)](https://github.com/ezequiel-fr/ts-to-html#license) [![Downloads](https://img.shields.io/npm/dt/ts-to-html?color=red&label=Downloads)](https://www.npmjs.com/package/ts-to-html) Compile TS into one JS file for web apps. Live server included for bundled file and SASS. <br /> Summary : - [Installation](#installation) - [Commands](#commands) : - [init](#init-project) - [start](#start) - [dev](#dev) - [build](#build) ## Installation NPM : ```sh npm install ts-to-html -g ``` ## Commands ### `init <project>` Flags : - `--no-git` : Disable git init - `--force` : Reset content of files already existing to replace it with new files (like deleting) the project and creating a new one. ### `start` Start the server. ### `dev` Start the server in live preview mode. ### `build` Output a build version of the project.