Giter Site home page Giter Site logo

codefork / angular-electron-seed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devwurm/angular-electron-seed

0.0 2.0 0.0 81 KB

Seed project for an Angular - Electron Desktop app with the Angular-CLI

TypeScript 30.91% JavaScript 67.15% HTML 1.56% CSS 0.38%

angular-electron-seed's Introduction

Angular - Electron seed

A biolerplate for building cross platform desktop apps with Electron, Angular and the Angular-CLI.

This project is based on Angular-CLI version 1.0.0.

What you get

  • Electron
  • Angular 4
  • Angular-CLI 1.0.0
  • Bundling and transpiling with Webpack (Typescript, SASS, LESS, Stylus, etc.)
  • Development server with LiveReload
  • Karma, Jasmine and Protractor for testing
  • Code scaffolding via Angular-CLI
  • Application packaging via electron-packager
  • Yarn

Getting started

Use the seed via git:

git clone https://github.com/DevWurm/angular-electron-seed.git my-project

After this change into my-project and run

yarn install

Available tools

Build

Run yarn run build to build the project. The build artifacts will be stored in the dist/ directory.

Running the app

To run the app based on the created build results, run yarn run run

Development server

Run yarn run start for a dev server. The app will automatically launch and reload if you change any of the source files.

Code scaffolding

If you have the Angular-CLI installed globally you can run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/interface/enum/module.

Running unit tests

Run yarn run test to execute the unit tests via Karma.

Running end-to-end tests

Run yarn run e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app in a dev server via yarn run start.

Packaging releases

Run yarn run package:win, yarn run package:mac, yarn run package:linux or yarn run package:all to build binary releases for the specified plattform(s).

angular-electron-seed's People

Contributors

devwurm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.