Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/therustmonk/tsng2
- Owner: therustmonk
- Created: 2016-01-28T10:10:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T12:31:47.000Z (over 8 years ago)
- Last Synced: 2025-01-02T21:12:50.340Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 173 KB
- Stars: 51
- Watchers: 6
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```