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
b62e58f8
Commit
b62e58f8
authored
Sep 26, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dependencies, adjust configs
parent
3fd6dfaf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
110 additions
and
95 deletions
+110
-95
package.json
Breeze.UI/package.json
+65
-65
postcss.config.js
Breeze.UI/postcss.config.js
+1
-0
protractor.conf.js
Breeze.UI/protractor.conf.js
+4
-2
tsconfig.json
Breeze.UI/tsconfig.json
+4
-0
webpack.config.js
Breeze.UI/webpack.config.js
+36
-28
No files found.
Breeze.UI/package.json
View file @
b62e58f8
{
"name"
:
"breeze-ui"
,
"description"
:
"Graphical User Interface for Breeze Wallet."
,
"version"
:
"0.
1
.0"
,
"version"
:
"0.
2
.0"
,
"author"
:
{
"name"
:
"Pieterjan Vanhoof"
,
"email"
:
"pieterjan.vanhoof@stratisplatform.com"
...
...
@@ -14,26 +14,26 @@
"stratis"
,
"angular"
,
"electron"
,
"typescript"
,
"scss"
,
"bootstrap"
],
"main"
:
"main.js"
,
"angular-cli"
:
{},
"scripts"
:
{
"ng"
:
"ng"
,
"lint"
:
"ng lint"
,
"start"
:
"concurrently
\"
npm run start:webpack
\"
\"
npm run electron:serve
\"
"
,
"start:webpack"
:
"webpack --watch"
,
"start:web"
:
"webpack-dev-server --content-base . --port 4200 --inline"
,
"start"
:
"npm-run-all --parallel webpack:watch electron:serve"
,
"webpack:watch"
:
"webpack --watch"
,
"build:electron:main"
:
"tsc main.ts --outDir dist && copyfiles package.json dist && cd dist && npm install --prod && cd .."
,
"build"
:
"webpack --display-error-details && npm run build:electron:main"
,
"build:prod"
:
"npm run build"
,
"build:prod"
:
"
cross-env NODE_ENV=production
npm run build"
,
"build:styling"
:
"node-sass --output-style expanded --source-map true --precision 6 ./src/scss/bootstrap.scss ./src/styles.css"
,
"electron:serve"
:
"npm run build:electron:main && electron ./dist --serve"
,
"electron:test"
:
"electron ./dist"
,
"electron:dev"
:
"npm run build && electron ./dist"
,
"electron:prod"
:
"npm run build:prod && electron ./dist"
,
"package:linux"
:
"npm run build:prod && node package.js --platform=linux --arch=x64"
,
"package:windows"
:
"npm run build:prod && node package.js --platform=win32 --arch=ia32"
,
"package:windows"
:
"npm run build:prod && node package.js --
asar --
platform=win32 --arch=ia32"
,
"package:mac"
:
"npm run build:prod && node package.js --platform=darwin --arch=x64"
,
"test"
:
"karma start ./karma.conf.js"
,
"pree2e"
:
"webdriver-manager update --standalone false --gecko false --quiet && npm run build"
,
...
...
@@ -41,76 +41,76 @@
},
"private"
:
true
,
"dependencies"
:
{
"@angular/animations"
:
"
^4.4.1
"
,
"@angular/common"
:
"
^4.4.1
"
,
"@angular/compiler"
:
"
^4.4.1
"
,
"@angular/core"
:
"
^4.4.1
"
,
"@angular/forms"
:
"
^4.4.1
"
,
"@angular/http"
:
"
^4.4.1
"
,
"@angular/platform-browser"
:
"
^4.4.1
"
,
"@angular/platform-browser-dynamic"
:
"
^4.4.1
"
,
"@angular/platform-server"
:
"
^4.4.1
"
,
"@angular/router"
:
"
^4.4.1
"
,
"@ng-bootstrap/ng-bootstrap"
:
"
^
1.0.0-beta.5"
,
"angular2-material-datepicker"
:
"
^
0.5.0"
,
"bootstrap"
:
"
^
4.0.0-beta"
,
"core-js"
:
"
^
2.5.1"
,
"electron-context-menu"
:
"
^
0.9.1"
,
"
ngx-bootstrap"
:
"^1.9.3
"
,
"ngx-clipboard"
:
"
^8.0.4
"
,
"@angular/animations"
:
"
4.4.3
"
,
"@angular/common"
:
"
4.4.3
"
,
"@angular/compiler"
:
"
4.4.3
"
,
"@angular/core"
:
"
4.4.3
"
,
"@angular/forms"
:
"
4.4.3
"
,
"@angular/http"
:
"
4.4.3
"
,
"@angular/platform-browser"
:
"
4.4.3
"
,
"@angular/platform-browser-dynamic"
:
"
4.4.3
"
,
"@angular/platform-server"
:
"
4.4.3
"
,
"@angular/router"
:
"
4.4.3
"
,
"@ng-bootstrap/ng-bootstrap"
:
"1.0.0-beta.5"
,
"angular2-material-datepicker"
:
"0.5.0"
,
"bootstrap"
:
"4.0.0-beta"
,
"core-js"
:
"2.5.1"
,
"electron-context-menu"
:
"0.9.1"
,
"
enhanced-resolve"
:
"3.3.0
"
,
"ngx-clipboard"
:
"
8.1.0
"
,
"rxjs"
:
"5.4.3"
,
"zone.js"
:
"
^
0.8.17"
"zone.js"
:
"0.8.17"
},
"devDependencies"
:
{
"@angular/cli"
:
"^1.4.2"
,
"@angular/compiler-cli"
:
"^4.4.1"
,
"autoprefixer"
:
"^7.1.4"
,
"@angular/cli"
:
"1.4.3"
,
"@angular/compiler-cli"
:
"4.4.3"
,
"@types/core-js"
:
"0.9.36"
,
"@types/jasmine"
:
"2.5.54"
,
"@types/node"
:
"7.0.7"
,
"autoprefixer"
:
"7.1.4"
,
"codelyzer"
:
"3.2.0"
,
"concurrently"
:
"^3.5.0"
,
"copyfiles"
:
"1.2.0"
,
"cross-env"
:
"5.0.5"
,
"css-loader"
:
"
^
0.28.7"
,
"cssnano"
:
"
^
3.10.0"
,
"electron"
:
"
^1.7.6
"
,
"electron-packager"
:
"
^8.7.2
"
,
"css-loader"
:
"0.28.7"
,
"cssnano"
:
"3.10.0"
,
"electron"
:
"
1.7.8
"
,
"electron-packager"
:
"
9.1.0
"
,
"electron-reload"
:
"1.2.1"
,
"exports-loader"
:
"^0.6.4"
,
"extract-zip"
:
"1.6.5"
,
"file-loader"
:
"^0.11.2"
,
"exports-loader"
:
"0.6.4"
,
"file-loader"
:
"0.11.2"
,
"html-loader"
:
"0.5.1"
,
"html-webpack-plugin"
:
"2.30.1"
,
"istanbul-instrumenter-loader"
:
"^3.0.0"
,
"jasmine-core"
:
"~2.8.0"
,
"jasmine-spec-reporter"
:
"~4.2.1"
,
"istanbul-instrumenter-loader"
:
"3.0.0"
,
"jasmine-core"
:
"2.8.0"
,
"jasmine-spec-reporter"
:
"4.2.1"
,
"jquery"
:
"3.2.1"
,
"json-loader"
:
"^0.5.7"
,
"karma"
:
"~1.7.1"
,
"karma-chrome-launcher"
:
"~2.2.0"
,
"karma-cli"
:
"~1.0.1"
,
"karma-coverage-istanbul-reporter"
:
"^1.3.0"
,
"karma-electron"
:
"^5.2.1"
,
"karma-jasmine"
:
"~1.1.0"
,
"karma-jasmine-html-reporter"
:
"^0.2.2"
,
"karma-sourcemap-loader"
:
"^0.3.7"
,
"less-loader"
:
"^4.0.5"
,
"json-loader"
:
"0.5.7"
,
"karma"
:
"1.7.1"
,
"karma-chrome-launcher"
:
"2.2.0"
,
"karma-cli"
:
"1.0.1"
,
"karma-coverage-istanbul-reporter"
:
"1.3.0"
,
"karma-jasmine"
:
"1.1.0"
,
"karma-jasmine-html-reporter"
:
"0.2.2"
,
"karma-sourcemap-loader"
:
"0.3.7"
,
"less-loader"
:
"4.0.5"
,
"minimist"
:
"1.2.0"
,
"mkdirp"
:
"0.5.1"
,
"node-sass"
:
"^4.5.3"
,
"postcss-loader"
:
"^1.3.3"
,
"postcss-url"
:
"^6.0.4"
,
"protractor"
:
"~5.1.2"
,
"raw-loader"
:
"^0.5.1"
,
"sass-loader"
:
"^6.0.6"
,
"script-loader"
:
"^0.7.1"
,
"source-map-loader"
:
"^0.2.1"
,
"style-loader"
:
"^0.18.2"
,
"stylus-loader"
:
"^3.0.1"
,
"ts-node"
:
"~3.3.0"
,
"tslint"
:
"~5.7.0"
,
"npm-run-all"
:
"4.1.1"
,
"node-sass"
:
"4.5.3"
,
"postcss-loader"
:
"2.0.6"
,
"postcss-url"
:
"7.1.2"
,
"protractor"
:
"5.1.2"
,
"raw-loader"
:
"0.5.1"
,
"sass-loader"
:
"6.0.6"
,
"script-loader"
:
"0.7.1"
,
"source-map-loader"
:
"0.2.1"
,
"style-loader"
:
"0.18.2"
,
"stylus-loader"
:
"3.0.1"
,
"ts-node"
:
"3.3.0"
,
"tslint"
:
"5.7.0"
,
"typescript"
:
"2.5.2"
,
"url-loader"
:
"
^
0.5.9"
,
"url-loader"
:
"0.5.9"
,
"webdriver-manager"
:
"12.0.6"
,
"webpack"
:
"
^
3.6.0"
,
"webpack-dev-server"
:
"
~
2.8.2"
"webpack"
:
"3.6.0"
,
"webpack-dev-server"
:
"2.8.2"
}
}
Breeze.UI/postcss.config.js
0 → 100644
View file @
b62e58f8
module
.
exports
=
{};
\ No newline at end of file
Breeze.UI/protractor.conf.js
View file @
b62e58f8
...
...
@@ -4,7 +4,9 @@
const
{
SpecReporter
}
=
require
(
'jasmine-spec-reporter'
);
exports
.
config
=
{
allScriptsTimeout
:
11000
,
allScriptsTimeout
:
25000
,
getPageTimeout
:
15000
,
delayBrowserTimeInSeconds
:
0
,
specs
:
[
'./e2e/**/*.e2e-spec.ts'
],
...
...
@@ -17,7 +19,7 @@ exports.config = {
},
directConnect
:
true
,
baseUrl
:
'http://localhost:4200/'
,
framework
:
'jasmine'
,
framework
:
'jasmine
2
'
,
jasmineNodeOpts
:
{
showColors
:
true
,
defaultTimeoutInterval
:
30000
,
...
...
Breeze.UI/tsconfig.json
View file @
b62e58f8
...
...
@@ -27,4 +27,8 @@
"dom"
]
}
,
"exclude"
:
[
"node_modules"
]
}
Breeze.UI/webpack.config.js
View file @
b62e58f8
...
...
@@ -5,9 +5,10 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const
ExtractTextPlugin
=
require
(
'extract-text-webpack-plugin'
);
const
autoprefixer
=
require
(
'autoprefixer'
);
const
postcssUrl
=
require
(
'postcss-url'
);
const
ConcatPlugin
=
require
(
'webpack-concat-plugin'
);
const
{
NoEmitOnErrorsPlugin
,
LoaderOptionsPlugin
,
DefinePlugin
,
HashedModuleIdsPlugin
}
=
require
(
'webpack'
);
const
{
GlobCopyWebpackPlugin
,
BaseHrefWebpackPlugin
}
=
require
(
'@angular/cli/plugins/webpack'
);
const
{
GlobCopyWebpackPlugin
,
BaseHrefWebpackPlugin
,
InsertConcatAssetsWebpackPlugin
}
=
require
(
'@angular/cli/plugins/webpack'
);
const
{
CommonsChunkPlugin
,
UglifyJsPlugin
}
=
require
(
'webpack'
).
optimize
;
const
{
AotPlugin
}
=
require
(
'@ngtools/webpack'
);
...
...
@@ -18,6 +19,18 @@ const deployUrl = "";
const
isProd
=
(
process
.
env
.
NODE_ENV
===
'production'
);
//add all external css to be added in our index.html--> like as if it's .angular-cli.json
const
styles
=
[
"./src/styles.css"
];
//we add all our external scripts we want to load externally, like inserting in our index.html --> like as if it's .angular-cli.json
const
scripts
=
[
];
//create file path for each , so we use for our excludes and includes where needed
let
style_paths
=
styles
.
map
(
style_src
=>
path
.
join
(
process
.
cwd
(),
style_src
));
function
getPlugins
()
{
var
plugins
=
[];
...
...
@@ -30,6 +43,19 @@ function getPlugins() {
plugins
.
push
(
new
NoEmitOnErrorsPlugin
());
if
(
scripts
.
length
>
0
){
plugins
.
push
(
new
ConcatPlugin
({
"uglify"
:
false
,
"sourceMap"
:
true
,
"name"
:
"scripts"
,
"fileName"
:
"[name].bundle.js"
,
"filesToConcat"
:
scripts
}));
plugins
.
push
(
new
InsertConcatAssetsWebpackPlugin
([
"scripts"
]));
}
plugins
.
push
(
new
GlobCopyWebpackPlugin
({
"patterns"
:
[
"assets"
,
...
...
@@ -225,9 +251,7 @@ module.exports = {
"polyfills"
:
[
"./src/polyfills.ts"
],
"styles"
:
[
"./src/styles.css"
]
"styles"
:
styles
},
"output"
:
{
"path"
:
path
.
join
(
process
.
cwd
(),
"dist"
),
...
...
@@ -258,9 +282,7 @@ module.exports = {
"loader"
:
"url-loader?name=[name].[hash:20].[ext]&limit=10000"
},
{
"exclude"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"exclude"
:
style_paths
,
"test"
:
/
\
.
css$
/
,
"loaders"
:
[
"exports-loader?module.exports.toString()"
,
...
...
@@ -269,9 +291,7 @@ module.exports = {
]
},
{
"exclude"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"exclude"
:
style_paths
,
"test"
:
/
\
.
scss$
|
\
.
sass$
/
,
"loaders"
:
[
"exports-loader?module.exports.toString()"
,
...
...
@@ -281,9 +301,7 @@ module.exports = {
]
},
{
"exclude"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"exclude"
:
style_paths
,
"test"
:
/
\
.
less$
/
,
"loaders"
:
[
"exports-loader?module.exports.toString()"
,
...
...
@@ -293,9 +311,7 @@ module.exports = {
]
},
{
"exclude"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"exclude"
:
style_paths
,
"test"
:
/
\
.
styl$
/
,
"loaders"
:
[
"exports-loader?module.exports.toString()"
,
...
...
@@ -305,9 +321,7 @@ module.exports = {
]
},
{
"include"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"include"
:
style_paths
,
"test"
:
/
\
.
css$
/
,
"loaders"
:
ExtractTextPlugin
.
extract
({
"use"
:
[
...
...
@@ -319,9 +333,7 @@ module.exports = {
})
},
{
"include"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"include"
:
style_paths
,
"test"
:
/
\
.
scss$
|
\
.
sass$
/
,
"loaders"
:
ExtractTextPlugin
.
extract
({
"use"
:
[
...
...
@@ -334,9 +346,7 @@ module.exports = {
})
},
{
"include"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"include"
:
style_paths
,
"test"
:
/
\
.
less$
/
,
"loaders"
:
ExtractTextPlugin
.
extract
({
"use"
:
[
...
...
@@ -349,9 +359,7 @@ module.exports = {
})
},
{
"include"
:
[
path
.
join
(
process
.
cwd
(),
"src/styles.css"
)
],
"include"
:
style_paths
,
"test"
:
/
\
.
styl$
/
,
"loaders"
:
ExtractTextPlugin
.
extract
({
"use"
:
[
...
...
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