ts-to-html
Version:
TS and SASS compiler for a HTML with live preview
39 lines (30 loc) • 1.06 kB
Markdown
# ts-to-html
[](https://github.com/ezequiel-fr)
[](https://github.com/ezequiel-fr/ts-to-html#license)
[](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.