aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-09-05 15:58:34 +0300
committerGitHub <noreply@github.com>2019-09-05 15:58:34 +0300
commit6feca4b65b78c674aea096906ecd7b46abebc36a (patch)
treeaab9c83dc61206ff0c29d840d5bf3fab1f3ed108
parentbb03625e4e20ed7680c789ae1321e66ab509d819 (diff)
parent8dc221b468ef76657eba6e31c3241f3fff226fa2 (diff)
downloadelectron-hot-reload-develop.tar.xz
electron-hot-reload-develop.zip
Merge pull request #3 from valentineus/developdevelop
v0.1.4
-rw-r--r--.travis.yml45
-rw-r--r--README.md4
-rw-r--r--package.json14
-rw-r--r--yarn.lock48
4 files changed, 82 insertions, 29 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7abd2e2
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,45 @@
+language: node_js
+
+node_js:
+ - node
+
+os:
+ - linux
+
+dist:
+ - bionic
+
+services:
+ - docker
+
+notifications:
+ email:
+ - 'info@valentineus.link'
+
+cache:
+ yarn: true
+ directories:
+ - node_modules
+
+install:
+ - git stash --all
+ - yarn install
+ - yarn run build
+ - npm pack
+
+deploy:
+ - provider: npm
+ skip_cleanup: true
+ email: 'info@valentineus.link'
+ api_key: $NPM_PROJECT_TOKEN
+ on:
+ tags: true
+
+ - provider: releases
+ skip_cleanup: true
+ file_glob: true
+ file: 'electron-hot-reload-*.tgz'
+ email: 'info@valentineus.link'
+ api_key: $GITHUB_PROJECT_TOKEN
+ on:
+ tags: true
diff --git a/README.md b/README.md
index cd94d80..bbe025c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,9 @@
# ElectronJS Hot Reload
+![npm](https://badgen.net/npm/v/electron-hot-reload)
+![bundlephobia min](https://badgen.net/bundlephobia/min/electron-hot-reload)
+![bundlephobia minzip](https://badgen.net/bundlephobia/minzip/electron-hot-reload)
+
It is a simple method to restart your application.
Features:
diff --git a/package.json b/package.json
index 749c779..f54e428 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"description": "It is a simple method to restart your application.",
"name": "electron-hot-reload",
- "version": "0.1.1",
+ "version": "0.1.4",
"main": "dist/index.js",
"repository": "git@github.com:valentineus/electron-hot-reload.git",
"author": {
@@ -11,6 +11,9 @@
},
"license": "MIT",
"private": false,
+ "publishConfig": {
+ "access": "public"
+ },
"keywords": [
"auto-reload",
"auto-restart",
@@ -31,18 +34,19 @@
"example:build": "yarn run build && yarn run build:application",
"example:run": "cd ./example/application && yarn run start",
"lint": "tslint --format codeFrame --project ./",
- "lint:fix": "yarn run lint --fix"
+ "lint:fix": "yarn run lint --fix",
+ "test": "echo \"Error: no test specified\" && exit 0"
},
"devDependencies": {
- "@types/node": "^12.7.2",
- "electron": "^6.0.3",
+ "@types/node": "^12.7.3",
+ "electron": "^6.0.7",
"spectron": "^8.0.0",
"tslint": "^5.19.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-consistent-codestyle": "^1.15.1",
"tslint-eslint-rules": "^5.4.0",
"tslint-microsoft-contrib": "^6.2.0",
- "typescript": "^3.5.3"
+ "typescript": "^3.6.2"
},
"dependencies": {
"chokidar": "^3.0.2"
diff --git a/yarn.lock b/yarn.lock
index 238e6fa..251c718 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -38,14 +38,14 @@
tslib "^1.8.1"
"@types/node@^10.12.18":
- version "10.14.16"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.16.tgz#4d690c96cbb7b2728afea0e260d680501b3da5cf"
- integrity sha512-/opXIbfn0P+VLt+N8DE4l8Mn8rbhiJgabU96ZJ0p9mxOkIks5gh6RUnpHak7Yh0SFkyjO/ODbxsQQPV2bpMmyA==
+ version "10.14.17"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.17.tgz#b96d4dd3e427382482848948041d3754d40fd5ce"
+ integrity sha512-p/sGgiPaathCfOtqu2fx5Mu1bcjuP8ALFg4xpGgNkcin7LwRyzUKniEHBKdcE1RPsenq5JVPIpMTJSygLboygQ==
-"@types/node@^12.7.2":
- version "12.7.2"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.2.tgz#c4e63af5e8823ce9cc3f0b34f7b998c2171f0c44"
- integrity sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg==
+"@types/node@^12.7.3":
+ version "12.7.3"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.3.tgz#27b3f40addaf2f580459fdb405222685542f907a"
+ integrity sha512-3SiLAIBkDWDg6vFo0+5YJyHPWU9uwu40Qe+v+0MH8wRKYBimHvvAOyk3EzMrD/TrIlLYfXrqDqrg913PynrMJQ==
ajv@^6.5.5:
version "6.10.2"
@@ -80,9 +80,9 @@ ansi-styles@^3.2.1:
color-convert "^1.9.0"
anymatch@^3.0.1:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.0.3.tgz#2fb624fe0e84bccab00afee3d0006ed310f22f09"
- integrity sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.0.tgz#e609350e50a9313b472789b2f14ef35808ee14d6"
+ integrity sha512-Ozz7l4ixzI7Oxj2+cw+p0tVUt27BpaJ+1+q1TCeANWxHpvyn2+Un+YamBdfKu0uh8xLodGhoa1v7595NhKDAuA==
dependencies:
normalize-path "^3.0.0"
picomatch "^2.0.4"
@@ -246,9 +246,9 @@ buffer-from@^1.0.0:
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
buffer@^5.1.0:
- version "5.4.0"
- resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.4.0.tgz#33294f5c1f26e08461e528b69fa06de3c45cbd8c"
- integrity sha512-Xpgy0IwHK2N01ncykXTy6FpCWuM+CJSHoPVBLyNqyrWxsedpLvwsYUhf0ME3WRFNUhos0dMamz9cOS/xRDtU5g==
+ version "5.4.2"
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.4.2.tgz#2012872776206182480eccb2c0fba5f672a2efef"
+ integrity sha512-iy9koArjAFCzGnx3ZvNA6Z0clIbbFgbdWQ0mKD3hO0krOrZh8UgA6qMKcZvwLJxS+D6iVR76+5/pV56yMNYTag==
dependencies:
base64-js "^1.0.2"
ieee754 "^1.1.4"
@@ -525,10 +525,10 @@ electron-download@^4.1.0, electron-download@^4.1.1:
semver "^5.4.1"
sumchecker "^2.0.2"
-electron@^6.0.3:
- version "6.0.3"
- resolved "https://registry.yarnpkg.com/electron/-/electron-6.0.3.tgz#0489f935d15f98f05a5479976e676691207f3159"
- integrity sha512-+AFB075WVf4LBR4bdPlkGn/jYQOZ7kC4GpZBeZ3/Fj5SCoFP51TAA5HuPWdMF2KQWjpxx/18jDGqMTYWhIRsEw==
+electron@^6.0.7:
+ version "6.0.7"
+ resolved "https://registry.yarnpkg.com/electron/-/electron-6.0.7.tgz#cf3f02502aa58d1517f3befd9c2da2a95cd2eb46"
+ integrity sha512-W0TFnJrBdYBUhzRnEqZt/CfYFmG9RwSnhhXBbOumn/qLQYr9e7kXb6z4y0XQQLhXKkDhuXp+dNqfzhtId5ZiQw==
dependencies:
"@types/node" "^10.12.18"
electron-download "^4.1.0"
@@ -1265,9 +1265,9 @@ progress-stream@^1.1.0:
through2 "~0.2.3"
psl@^1.1.24:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/psl/-/psl-1.3.0.tgz#e1ebf6a3b5564fa8376f3da2275da76d875ca1bd"
- integrity sha512-avHdspHO+9rQTLbv1RO+MPYeP/SzsCoxofjVnHanETfQhTJrmB0HlDoW+EiN/R+C0BZ+gERab9NY0lPN2TxNag==
+ version "1.3.1"
+ resolved "https://registry.yarnpkg.com/psl/-/psl-1.3.1.tgz#d5aa3873a35ec450bc7db9012ad5a7246f6fc8bd"
+ integrity sha512-2KLd5fKOdAfShtY2d/8XDWVRnmp3zp40Qt6ge2zBPFARLXOGUf2fHD5eg+TV/5oxBtQKVhjUaKFsAaE4HnwfSA==
punycode@1.3.2:
version "1.3.2"
@@ -1832,10 +1832,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
-typescript@^3.5.3:
- version "3.5.3"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
- integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
+typescript@^3.6.2:
+ version "3.6.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54"
+ integrity sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==
universalify@^0.1.0:
version "0.1.2"