ngx-electron-starter v0.0.5
NGX Electron Starter Pack
This project was generated with angular version 6.1.9. and electron 3.0.2
# clone our repo
git clone https://github.com/senthiljruby/ngx-electron-starter.git
or
npm install ngx-electron-starter # Copy the folder ngx-electron-starter and use as you wanted.Development server
Run yarn build:dev for running the app in electron (Standalone)
if you want to run in web browser,
Run yarn start for a dev server. Navigate to http://localhost:4200/.
The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Build
Run yarn build:dev to build the project. The build artifacts will be stored in the dist/ directory. Use the yarn build:prod flag for a production build.
Packaging
MACOSX
yarn package:osx
Windows
yarn package:win
Linux
yarn package:linux
For All Platform
yarn package:all
Running angular unit tests
Run yarn test to execute the unit tests via Karma.
Running angular end-to-end tests
Run yarn e2e to execute the end-to-end tests via Protractor.
Running Electron unit tests
Run yarn electron-test to execute the unit tests via mocha.
1.0.0
- Initial release
License
Copyright (c) 2019
Licensed under the MIT license.
Author
Senthil Kumar Bhaskaran