Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
e7b987a5
Commit
e7b987a5
authored
Jun 28, 2017
by
Jeremy Bokobza
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/stratisproject/Breeze
parents
bf56a8d2
43dbc772
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
main.ts
Breeze.UI/main.ts
+3
-8
package.json
Breeze.UI/package.json
+6
-5
webpack.config.js
Breeze.UI/webpack.config.js
+1
-1
No files found.
Breeze.UI/main.ts
View file @
e7b987a5
...
@@ -9,15 +9,14 @@ const path = require('path');
...
@@ -9,15 +9,14 @@ const path = require('path');
const
url
=
require
(
'url'
);
const
url
=
require
(
'url'
);
const
os
=
require
(
'os'
);
const
os
=
require
(
'os'
);
// import { app, BrowserWindow, screen } from 'electron';
// import * as path from 'path';
let
serve
;
let
serve
;
const
args
=
process
.
argv
.
slice
(
1
);
const
args
=
process
.
argv
.
slice
(
1
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
);
if
(
serve
)
{
if
(
serve
)
{
require
(
'electron-reload'
)(
__dirname
,
{});
require
(
'electron-reload'
)(
__dirname
,
{
electron
:
require
(
'${__dirname}/../../node_modules/electron'
)
});
}
}
// Keep a global reference of the window object, if you don't, the window will
// Keep a global reference of the window object, if you don't, the window will
...
@@ -29,16 +28,12 @@ function createWindow() {
...
@@ -29,16 +28,12 @@ function createWindow() {
// Create the browser window.
// Create the browser window.
mainWindow
=
new
BrowserWindow
({
width
:
1200
,
height
:
700
,
frame
:
true
,
minWidth
:
1200
,
minHeight
:
700
,
icon
:
"./assets/images/stratis-tray.png"
});
mainWindow
=
new
BrowserWindow
({
width
:
1200
,
height
:
700
,
frame
:
true
,
minWidth
:
1200
,
minHeight
:
700
,
icon
:
"./assets/images/stratis-tray.png"
});
// and load the index.html of the app.
// and load the index.html of the app.
mainWindow
.
loadURL
(
url
.
format
({
mainWindow
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'/index.html'
),
pathname
:
path
.
join
(
__dirname
,
'/index.html'
),
protocol
:
'file:'
,
protocol
:
'file:'
,
slashes
:
true
slashes
:
true
}));
}));
// and load the index.html of the app.
// win.loadURL('file://' + __dirname + '/index.html');
if
(
serve
)
{
if
(
serve
)
{
mainWindow
.
webContents
.
openDevTools
();
mainWindow
.
webContents
.
openDevTools
();
...
...
Breeze.UI/package.json
View file @
e7b987a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"breeze-ui"
,
"name"
:
"breeze-ui"
,
"description"
:
"Graphical User Interface for Breeze Wallet."
,
"description"
:
"Graphical User Interface for Breeze Wallet."
,
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
"author"
:{
"author"
:
{
"name"
:
"Pieterjan Vanhoof"
,
"name"
:
"Pieterjan Vanhoof"
,
"email"
:
"pieterjan.vanhoof@stratisplatform.com"
"email"
:
"pieterjan.vanhoof@stratisplatform.com"
},
},
...
@@ -53,19 +53,19 @@
...
@@ -53,19 +53,19 @@
"bootstrap"
:
"^4.0.0-alpha.6"
,
"bootstrap"
:
"^4.0.0-alpha.6"
,
"core-js"
:
"^2.4.1"
,
"core-js"
:
"^2.4.1"
,
"ngx-clipboard"
:
"^8.0.2"
,
"ngx-clipboard"
:
"^8.0.2"
,
"rxjs"
:
"
^
5.4.1"
,
"rxjs"
:
"5.4.1"
,
"zone.js"
:
"^0.8.12"
"zone.js"
:
"^0.8.12"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@angular/cli"
:
"^1.1.3"
,
"@angular/cli"
:
"^1.1.3"
,
"@angular/compiler-cli"
:
"^4.2.4"
,
"@angular/compiler-cli"
:
"^4.2.4"
,
"@types/jasmine"
:
"2.5.53"
,
"@types/jasmine"
:
"2.5.53"
,
"@types/node"
:
"~8.0.
3
"
,
"@types/node"
:
"~8.0.
4
"
,
"autoprefixer"
:
"^7.1.1"
,
"autoprefixer"
:
"^7.1.1"
,
"codelyzer"
:
"3.1.1"
,
"codelyzer"
:
"3.1.1"
,
"concurrently"
:
"^3.5.0"
,
"concurrently"
:
"^3.5.0"
,
"copyfiles"
:
"1.2.0"
,
"copyfiles"
:
"1.2.0"
,
"cross-env"
:
"
4.0.0
"
,
"cross-env"
:
"
5.0.1
"
,
"css-loader"
:
"^0.28.4"
,
"css-loader"
:
"^0.28.4"
,
"cssnano"
:
"^3.10.0"
,
"cssnano"
:
"^3.10.0"
,
"electron"
:
"^1.6.11"
,
"electron"
:
"^1.6.11"
,
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
"extract-zip"
:
"1.6.5"
,
"extract-zip"
:
"1.6.5"
,
"file-loader"
:
"^0.11.2"
,
"file-loader"
:
"^0.11.2"
,
"html-loader"
:
"0.4.5"
,
"html-loader"
:
"0.4.5"
,
"html-webpack-plugin"
:
"2.29.0"
,
"istanbul-instrumenter-loader"
:
"^2.0.0"
,
"istanbul-instrumenter-loader"
:
"^2.0.0"
,
"jasmine-core"
:
"~2.6.4"
,
"jasmine-core"
:
"~2.6.4"
,
"jasmine-spec-reporter"
:
"~4.1.1"
,
"jasmine-spec-reporter"
:
"~4.1.1"
,
...
@@ -101,7 +102,7 @@
...
@@ -101,7 +102,7 @@
"stylus-loader"
:
"^3.0.1"
,
"stylus-loader"
:
"^3.0.1"
,
"ts-node"
:
"~3.1.0"
,
"ts-node"
:
"~3.1.0"
,
"tslint"
:
"~5.4.3"
,
"tslint"
:
"~5.4.3"
,
"typescript"
:
"
^
2.3.4"
,
"typescript"
:
"2.3.4"
,
"url-loader"
:
"^0.5.9"
,
"url-loader"
:
"^0.5.9"
,
"webdriver-manager"
:
"12.0.6"
,
"webdriver-manager"
:
"12.0.6"
,
"webpack"
:
"^3.0.0"
,
"webpack"
:
"^3.0.0"
,
...
...
Breeze.UI/webpack.config.js
View file @
e7b987a5
...
@@ -207,7 +207,7 @@ module.exports = {
...
@@ -207,7 +207,7 @@ module.exports = {
],
],
"aliasFields"
:
[],
"aliasFields"
:
[],
"alias"
:
{
// WORKAROUND See. angular-cli/issues/5433
"alias"
:
{
// WORKAROUND See. angular-cli/issues/5433
"environments"
:
isProd
?
path
.
resolve
(
__dirname
,
'src/environments/
index.prod.ts'
)
:
path
.
resolve
(
__dirname
,
'src/environments/index
.ts'
)
"environments"
:
isProd
?
path
.
resolve
(
__dirname
,
'src/environments/
environment.prod.ts'
)
:
path
.
resolve
(
__dirname
,
'src/environments/environment
.ts'
)
},
},
"modules"
:
[
"modules"
:
[
"./node_modules"
"./node_modules"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment