ng-cli-electron
Build an electron project scaffolded in @angular/cli
Last updated a year ago by dolanmiu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ng-cli-electron 
SYNC missed versions from official npm registry.

Build Status Dependency Status Known Vulnerabilities

ng-cli-electron

Build an electron project scaffolded in @angular/cli

This is an extention/plugin which allows @angular/cli users to create electron apps. It was made to address this:

#4227

Install

$ npm install ng-cli-electron electron awesome-typescript-loader --save

Usage

The commands are similar to @angular/cli's own ones.

Build

Add the following in your scripts section inside package.json:

"build-electron": "nge build"

If you only want to build the main part of Electron:

"build-electron-main": "nge build --main"

Using @angular/cli build flags

You can use a subset of the build flags here

More specifically:

  • aot
  • app
  • deploy-url
  • environment
  • extract-css
  • force
  • i18n-file
  • i18n-format
  • locale
  • missing-translation
  • output-hashing
  • progress
  • sourcemap
  • target
  • vendor-chunk
  • common-chunk
  • verbose

Serve

Add the following in your scripts section inside package.json:

"serve-electron": "nge serve"

Help

nge --help

Made with ???? by Dolan

Current Tags

  • 6.0.0                                ...           latest (a year ago)

13 Versions

  • 6.0.0                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 4
Last Day 1
Last Week 0
Last Month 19
Dependencies (11)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |