All Projects → lbassin → electron-angular-webpack

lbassin / electron-angular-webpack

Licence: MIT license
A simple kit for Electron, Angular 6 and Webpack 4 including a live reload system for Angular.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to electron-angular-webpack

aurelia-typescript-webpack-starter
A minimal Aurelia starter kit written in TypeScript and built using webpack.
Stars: ✭ 28 (-54.84%)
Mutual labels:  skeleton, kit
next-all-in
🗃⚛️ Next starter for creating any type of site
Stars: ✭ 29 (-53.23%)
Mutual labels:  skeleton
React Native Skeleton Content
A customizable skeleton-like loading placeholder for react native projects using expo.
Stars: ✭ 221 (+256.45%)
Mutual labels:  skeleton
skeleton-python-library
A skeleton project for quickly getting a new cisagov Python library started.
Stars: ✭ 19 (-69.35%)
Mutual labels:  skeleton
Placeholdifier
Turn any website into a live wireframe
Stars: ✭ 230 (+270.97%)
Mutual labels:  skeleton
bash-framework
◼️ speed up your shell script development and add a modern look and feel (alpha version) ✨ 💫
Stars: ✭ 21 (-66.13%)
Mutual labels:  skeleton
Awesome Skeleton
skeleton generation tool
Stars: ✭ 212 (+241.94%)
Mutual labels:  skeleton
react-bones
💀 Dead simple content loading components for React and React-Native. 💀
Stars: ✭ 42 (-32.26%)
Mutual labels:  skeleton
javascript-seed-project
Seed project for JavaScript based apps. Just clone and code.
Stars: ✭ 17 (-72.58%)
Mutual labels:  skeleton
dddplus-archetype-demo
♨️ Using dddplus-archetype build a WMS in 5 minutes. 5分钟搭建一个仓储中台WMS!
Stars: ✭ 56 (-9.68%)
Mutual labels:  skeleton
Typescript Ddd Skeleton
🟨 TypeScript DDD Skeleton: Bootstrap your new projects or be inspired by this example project
Stars: ✭ 240 (+287.1%)
Mutual labels:  skeleton
Skeleton Php
⚡️ This package provides a wonderful PHP skeleton to start building your next package idea.
Stars: ✭ 234 (+277.42%)
Mutual labels:  skeleton
LuaKit
Lua核心工具包,包含对面向对象,组件系统(灵活的绑定解绑模式),mvc分模块加载,事件分发系统等常用模式的封装。同时提供打印,内存泄漏检测,性能分析等常用工具类。
Stars: ✭ 112 (+80.65%)
Mutual labels:  kit
Ms G3d
[CVPR 2020 Oral] PyTorch implementation of "Disentangling and Unifying Graph Convolutions for Skeleton-Based Action Recognition"
Stars: ✭ 225 (+262.9%)
Mutual labels:  skeleton
slim-skeleton
Slim Framework skeleton application following MVC construction
Stars: ✭ 18 (-70.97%)
Mutual labels:  skeleton
Pollinate
Template your base files and generate new projects from Git(Hub).
Stars: ✭ 213 (+243.55%)
Mutual labels:  skeleton
Tabanimated
A skeleton screen framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
Stars: ✭ 2,909 (+4591.94%)
Mutual labels:  skeleton
lazy-kit
A new design system for developing with less effort. See how it looks:
Stars: ✭ 68 (+9.68%)
Mutual labels:  kit
elemon
live-reload Electron application during development
Stars: ✭ 71 (+14.52%)
Mutual labels:  live-reload
Angular4-boilerplate-webpack2
Clean Angular Boilerplate with webapack 2
Stars: ✭ 17 (-72.58%)
Mutual labels:  skeleton

THIS PROJECT IS OUT OF DATE AND NOT MAINTAINED


A simple kit for Electron, Angular 8 and Webpack 4 including a live reload system for Angular

The boilerplate include loaders for TypeScript and Sass

Commands are available to package your app or create installer on Windows, Mac and Linux

Feel free to take a look at the boilerplate skeleton here

Quick start

Prerequisites

Be sure to have Node >= 8.0 and NPM >= 5 installed on your computer/server

You can download NodeJS by following this link, take the LTS version. The installer will install Node and Npm.

# check node version
node -v

# check npm version
npm -v

If you are confronted to the following error while executing our commands on Mac OS :

ERROR in {project_name}/image.jpg
     Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
       Referenced from: /Users/{project_name}/node_modules/mozjpeg/vendor/cjpeg
       Reason: image not found  

Please run this command : brew install libpng. See issue here.

Create a new project and install npm packages

# clone via ssh
git clone [email protected]:lbassin/electron-angular-webpack.git
# or clone via https
git clone https://github.com/lbassin/electron-angular-webpack.git

# change directory to the app
cd electron-angular-webpack

# install dependencies with npm
npm install

Commands

Command Description
npm run dev Execute the app with a live reload system and source mapping
npm run prod Build the app with css/js optimizations and minifications
npm run packager:win Package the app with prod configuration and generate .exe & supporting files
↳ Default configuration : Platform Win32, Arch x64
npm run packager:mac Package the app with prod configuration and generate .app & supporting files
↳ Default configuration : Platform Darwin, Arch x64
npm run packager:linux Package the app with prod configuration and generate executable & supporting files
↳ Default configuration : Platform Linux, Arch x64
npm run installer:win Create Squirrel installer to distribute your app easily
↳ Setup.exe will install app in app_data directory
↳ A desktop shortcut will be created
↳ Default configuration : Platform Win32, Arch x64 ~ Tested on Windows 10
npm run installer:mac Create DMG installer to distribute your app easily
↳ Require XCode and XCode Command Line Tools
↳ XCode licence must be accepted : sudo xcodebuild -license accept
↳ Default configuration : Platform Darwin, Arch x64 ~ Tested on High Sierra 10.13
npm run installer:linux Create DEB installer to distribute your app easily
↳ Default configuration : Platform Linux, Arch x64 ~ Tested on Ubuntu 16.04
  • To change the default configuration of packagers and/or installers :
    • Go to ./builder/packager.js and/or ./builder/installer.js
    • Edit spec['platform'] and/or spec['arch'] calls in the switch
    • You can add your own platform and arch in the object spec but refer to this doc

Skeleton

electron-angular-webpack/
 ├──builder/                       # packagers and installers config folder
 │   ├──icons/                     # multi os app icons
 │   │   ├──linux/                 # app icon folder for linux
 │   │   │   └──icon.png           ~ must be a png
 │   │   ├──mac/                   # app icon folder for mac
 │   │   │   └──icon.icns          ~ must be a icns
 │   │   └──windows/               # app icon folder for windows
 │   │       └──icon.ico           ~ must be a ico
 │   │
 │   ├──installer.js               ~ config file for installers
 │   │
 │   └──packager.js                ~ config file for packagers
 │
 ├──src/                           # angular app folder
 │
 ├──.gitignore                     ~ untracked files to ignore
 ├──LICENSE.md                     ~ license of this project
 ├──README.md                      ~ contains information about this project
 ├──electron.ts                    ~ entry file for Electron
 ├──package-lock.json              ~ describes the exact tree that was generated by node/npm (vers. > 8)
 ├──package.json                   ~ manifest about applications, modules, packages, and more
 ├──postcss.config.js              ~ postcss loader configuration file
 ├──tsconfig.json                  ~ specifies root files and compiler options required to compile
 └──webpack.config.js              ~ webpack main configuration file

In addition to this structure, our commands will create these elements :

 .
 ├──dist/                          # compiled code/library
 │
 ├──node_modules/                  # non-global libraries are installed here
 │
 ├──mac_packager/                  # packager folder for mac (removed after npm run installer:mac)
 ├──mac_installer/                 # installer folder for mac
 │
 ├──linux_packager/                # packager folder for linux (removed after npm run installer:linux)
 ├──linux_installer/               # installer folder for linux
 │
 ├──win_packager/                  # packager folder for windows (removed after npm run installer:win)
 └──win_installer/                 # installer folder for windows

Creators

Laurent BASSIN Maxime MARQUET
Laurent BASSIN Maxime MARQUET
Github Linkedin Github Linkedin

Contributors

Nhữ Bảo Vũ
Nhữ Bảo Vũ

License

MIT © Laurent BASSIN & Maxime MARQUET

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].