Add electron-builder packager (#293)

* style(.editorconfig): Add json rule to editorconfig file

* build(build): Add application images

These images need to create installers
Contains images for:
- Win
- Mac
- Linux

* fix(device): Mac is not allow excusive right to use USB

* build(npm): Add standard-version script

* chore(device): Fix comment in UhkDeviceService

* chore(release): 1.0.0-alpha.1

* ci(travis): Change travis to c language and add osx, linux build matrix

* build(build): Windows icon size must be at least 256x256

* ci(appveyor): Add temporary GH_TOKEN to test msi installer

* build(tsconfig): Optimalize tsconfigs

Needed a tsconfig.json in the shared/src library because if it not exist the code builded after the second build on mac, and travis linux. Reproduce the error:
- Delete node_modules directory
- npm i
- npm run build
- error occured (ERROR in ./shared/src/polyfills.ts
Module build failed: error while parsing tsconfig.json)
Created a new tscfonfig.json in the project root folder.
The old config files extends this root configs.

* build(tsconfig): in tsconfig-electron-main not override module version

* chore(editorconfig): Delete json rule

* style: Reformat the main package.json to apply editorconfig style
This commit is contained in:
Róbert Kiss
2017-06-05 23:34:46 +02:00
committed by László Monda
parent 6c31088da8
commit f2b358ba96
23 changed files with 295 additions and 161 deletions
+29 -5
View File
@@ -1,12 +1,35 @@
language: node_js
language: c
sudo: false
dist: trusty
node_js:
- '6.9.4'
env:
global:
- ELECTRON_CACHE=$HOME/.electron
matrix:
fast_finish: true
include:
- os: osx
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
cache:
directories:
- node_modules
- $HOME/.electron
- $HOME/.cache
addons:
apt:
packages:
- libgnome-keyring-dev
- libsecret-1-dev
- icnsutils
install:
- npm install -g npm@3.10.7
- nvm install
- npm install
before_script:
@@ -15,7 +38,8 @@ before_script:
- npm run lint
script:
- cd ./test-serializer && node ./test-serializer.js
- npm run test
- npm run release
cache:
directories: