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
3d21edd3
Commit
3d21edd3
authored
Jun 27, 2017
by
Pieterjan Vanhoof
Committed by
GitHub
Jun 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #116 from stratisproject/ui
Revert to typescript 2.3.4
parents
636a9bdb
0c330dc6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
main.ts
Breeze.UI/main.ts
+0
-7
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 @
3d21edd3
...
...
@@ -9,9 +9,6 @@ const path = require('path');
const
url
=
require
(
'url'
);
const
os
=
require
(
'os'
);
// import { app, BrowserWindow, screen } from 'electron';
// import * as path from 'path';
let
serve
;
const
args
=
process
.
argv
.
slice
(
1
);
serve
=
args
.
some
(
val
=>
val
===
"--serve"
);
...
...
@@ -29,16 +26,12 @@ function createWindow() {
// Create the browser window.
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.
mainWindow
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'/index.html'
),
protocol
:
'file:'
,
slashes
:
true
}));
// and load the index.html of the app.
// win.loadURL('file://' + __dirname + '/index.html');
if
(
serve
)
{
mainWindow
.
webContents
.
openDevTools
();
...
...
Breeze.UI/package.json
View file @
3d21edd3
...
...
@@ -2,7 +2,7 @@
"name"
:
"breeze-ui"
,
"description"
:
"Graphical User Interface for Breeze Wallet."
,
"version"
:
"0.1.0"
,
"author"
:{
"author"
:
{
"name"
:
"Pieterjan Vanhoof"
,
"email"
:
"pieterjan.vanhoof@stratisplatform.com"
},
...
...
@@ -53,19 +53,19 @@
"bootstrap"
:
"^4.0.0-alpha.6"
,
"core-js"
:
"^2.4.1"
,
"ngx-clipboard"
:
"^8.0.2"
,
"rxjs"
:
"
^
5.4.1"
,
"rxjs"
:
"5.4.1"
,
"zone.js"
:
"^0.8.12"
},
"devDependencies"
:
{
"@angular/cli"
:
"^1.1.3"
,
"@angular/compiler-cli"
:
"^4.2.4"
,
"@types/jasmine"
:
"2.5.53"
,
"@types/node"
:
"~8.0.
3
"
,
"@types/node"
:
"~8.0.
4
"
,
"autoprefixer"
:
"^7.1.1"
,
"codelyzer"
:
"3.1.1"
,
"concurrently"
:
"^3.5.0"
,
"copyfiles"
:
"1.2.0"
,
"cross-env"
:
"
4.0.0
"
,
"cross-env"
:
"
5.0.1
"
,
"css-loader"
:
"^0.28.4"
,
"cssnano"
:
"^3.10.0"
,
"electron"
:
"^1.6.11"
,
...
...
@@ -75,6 +75,7 @@
"extract-zip"
:
"1.6.5"
,
"file-loader"
:
"^0.11.2"
,
"html-loader"
:
"0.4.5"
,
"html-webpack-plugin"
:
"2.29.0"
,
"istanbul-instrumenter-loader"
:
"^2.0.0"
,
"jasmine-core"
:
"~2.6.4"
,
"jasmine-spec-reporter"
:
"~4.1.1"
,
...
...
@@ -101,7 +102,7 @@
"stylus-loader"
:
"^3.0.1"
,
"ts-node"
:
"~3.1.0"
,
"tslint"
:
"~5.4.3"
,
"typescript"
:
"
^
2.3.4"
,
"typescript"
:
"2.3.4"
,
"url-loader"
:
"^0.5.9"
,
"webdriver-manager"
:
"12.0.6"
,
"webpack"
:
"^3.0.0"
,
...
...
Breeze.UI/webpack.config.js
View file @
3d21edd3
...
...
@@ -207,7 +207,7 @@ module.exports = {
],
"aliasFields"
:
[],
"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"
:
[
"./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