Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/therustmonk/tsng2

Minimal TypeScript + Angular 2 (RC4) + Electron (optional) Project
https://github.com/therustmonk/tsng2

Last synced: 2 days ago
JSON representation

Minimal TypeScript + Angular 2 (RC4) + Electron (optional) Project

Awesome Lists containing this project

README

        

## TSNG2

Minimal Boilerplate with TypeScript + Angular 2 + Electron (optional)

Use it to bootstrap your project.

### Install

To install dependencies run with shell:

```sh
$ npm install
```

When dependencies will be installed use gulp to build:

```sh
$ npm run build
```

To start lite server to test use:

```sh
$ npm run try-web
```

### Electron

To start project as desktop (electron) app use:

```sh
$ npm run try-desktop
```

And to pack native release use:

```sh
$ npm run pack-desktop
```

### Building

This boilerplate uses gulp to build. Watch command is also available if you develop it continiously:

```sh
npm run gulp watch
```

Minification is turned off by default. Use `--minify` flag to activate it:

```sh
npm run gulp build --minify
```