mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 07:26:53 +00:00
Reorganisation + Electron fixes (#118)
* Updates package versions
* Updating versions with RCs
* Updated landing page with stock images
* Begins refactoring of websocket
Adds Help component
* Dark theme for charts
* event Event
* Adds cryptocurrency font
Updates wallet to use it
* Rejigs the location of assets
* rxjs update
wallet font correction
* renaming websocket service
* Refactors websocket use
Destroys and subscribes appropriately
Also handles when websocket is not available with intervals
* Fixes issues with electron by rebasing with Maxime GRIS electron builder
* License change
* Readme update
* Parses available and enabled currencies to create an object {Name:X, Enabled:Y}
* Adds methods to convert from string arrays to objects with enabled status for all currencies
* Uses a localstorage cache for config for 15 minutes
* Moves handling of settings to config object
* Fix typescripting
* Fixes issue with saving and loading
* Slows websocket repeats
Adds cool new dictionary style item and iterable.
Updatres currency-list.component to list all enabled currencies and exchanges (still doesn't do anything)
* Updates selected-currency.component to display all currencies ticker updates if there is no selected currency
Will display only selected currency results once it is set
Sets a new property to ensure all currency names are consistent for currency list plans
* Fixes issue where only one component could listen to the websocket at once
Allows you to select a currency in exchange grid mode
* Adds selected currency support to buy & sell components
Updates selected currency ticker to update on change faster
* Adds Online status indicator
* Removal of console.logs for working features
* Allows currency-list.component to aggregate on currency and list exchanges that match it
* Highlights selected currency in currency-list.component
Allows you to select a currency
This commit is contained in:
145
web/package.json
145
web/package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gocryptotrader-web",
|
||||
"version": "0.1.0",
|
||||
"version": "0.3.0",
|
||||
"description": "Front-end interface for GoCryptoTrader",
|
||||
"homepage": "https://github.com/thrasher-/gocryptotrader",
|
||||
"author": {
|
||||
@@ -27,97 +27,72 @@
|
||||
"main": "main.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "npx electron-builder install-app-deps",
|
||||
"ng": "ng",
|
||||
"lint": "ng lint",
|
||||
"start": "webpack --watch",
|
||||
"start:web": "webpack-dev-server --content-base . --port 4200 --inline",
|
||||
"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": "cross-env NODE_ENV=production npm run build",
|
||||
"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",
|
||||
"electron:linux": "npm run build:prod && node package.js --asar --platform=linux --arch=x64",
|
||||
"electron:windows": "npm run build:prod && node package.js --asar --platform=win32 --arch=ia32",
|
||||
"electron:mac": "npm run build:prod && node package.js --asar --platform=darwin --arch=x64",
|
||||
"start": "node hooks/environments/set_profile.js && npm-run-all -p ng:serve electron:serve",
|
||||
"build": "node hooks/environments/set_profile.js && ng build && npm run electron:tsc",
|
||||
"build:prod": "node hooks/environments/set_profile.js && ng build --prod && npm run electron:tsc",
|
||||
"ng:serve": "ng serve -o",
|
||||
"electron:tsc": "tsc main.ts",
|
||||
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:tsc && electron . --serve",
|
||||
"electron:local": "npm run build:prod && electron .",
|
||||
"electron:linux": "npm run build:prod && npx electron-builder build --linux",
|
||||
"electron:windows": "npm run build:prod && npx electron-builder build --windows",
|
||||
"electron:mac": "npm run build:prod && npx electron-builder build --mac",
|
||||
"test": "karma start ./karma.conf.js",
|
||||
"pree2e": "webdriver-manager update --standalone false --gecko false --quiet && npm run build",
|
||||
"e2e": "protractor ./protractor.conf.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@amcharts/amcharts3-angular": "^2.0.3",
|
||||
"@angular/animations": "5.2.2",
|
||||
"@angular/cdk": "5.2.4",
|
||||
"@angular/common": "5.2.2",
|
||||
"@angular/compiler": "5.2.2",
|
||||
"@angular/core": "5.2.2",
|
||||
"@angular/forms": "5.2.2",
|
||||
"@angular/http": "5.2.2",
|
||||
"@angular/material": "5.2.4",
|
||||
"@angular/platform-browser": "5.2.2",
|
||||
"@angular/platform-browser-dynamic": "5.2.2",
|
||||
"@angular/router": "5.2.2",
|
||||
"@ngtools/webpack": "1.9.6",
|
||||
"amstock3": "^3.21.12",
|
||||
"core-js": "2.4.1",
|
||||
"enhanced-resolve": "3.3.0",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"node-sass": "^4.7.2",
|
||||
"rxjs": "^5.5.0",
|
||||
"zone.js": "0.8.12"
|
||||
"pree2e:build": "webdriver-manager update --gecko false && npm run ng serve",
|
||||
"pree2e:protractor": "wait-on http-get://localhost:4200/ && protractor ./protractor.conf.js",
|
||||
"e2e": "npm-run-all -p -r pree2e:build pree2e:protractor",
|
||||
"start:web": "ng serve -o"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@angular/cli": "1.6.6",
|
||||
"@angular/compiler-cli": "5.2.2",
|
||||
"@types/bluebird": "3.5.8",
|
||||
"@angular/cli": "1.7.4",
|
||||
"@angular/common": "5.2.9",
|
||||
"@angular/compiler": "5.2.9",
|
||||
"@angular/compiler-cli": "5.2.9",
|
||||
"@angular/core": "5.2.9",
|
||||
"@angular/forms": "5.2.9",
|
||||
"@angular/http": "5.2.9",
|
||||
"@angular/animations": "5.2.9",
|
||||
"@angular/language-service": "5.2.9",
|
||||
"@angular/platform-browser": "5.2.9",
|
||||
"@angular/platform-browser-dynamic": "5.2.9",
|
||||
"@angular/router": "5.2.9",
|
||||
"@angular/material": "5.2.5",
|
||||
"@angular/cdk": "5.2.5",
|
||||
"@amcharts/amcharts3-angular": "2.1.0",
|
||||
"@ngx-translate/core": "9.1.1",
|
||||
"@ngx-translate/http-loader": "2.0.1",
|
||||
"@types/core-js": "0.9.36",
|
||||
"@types/jasmine": "2.5.53",
|
||||
"@types/jasmine": "2.8.6",
|
||||
"@types/jasminewd2": "2.0.3",
|
||||
"@types/node": "7.0.7",
|
||||
"autoprefixer": "7.1.1",
|
||||
"codelyzer": "4.1.0",
|
||||
"copyfiles": "1.2.0",
|
||||
"cross-env": "5.0.1",
|
||||
"css-loader": "0.28.4",
|
||||
"cssnano": "3.10.0",
|
||||
"electron": "1.6.16",
|
||||
"electron-packager": "8.7.2",
|
||||
"electron-reload": "1.2.1",
|
||||
"exports-loader": "0.6.4",
|
||||
"extract-zip": "=1.6.5",
|
||||
"file-loader": "0.11.2",
|
||||
"html-loader": "0.4.5",
|
||||
"istanbul-instrumenter-loader": "2.0.0",
|
||||
"jasmine-core": "2.6.4",
|
||||
"jasmine-spec-reporter": "4.1.1",
|
||||
"json-loader": "0.5.4",
|
||||
"karma": "1.7.0",
|
||||
"codelyzer": "4.2.1",
|
||||
"core-js": "2.5.5",
|
||||
"cross-env": "5.1.4",
|
||||
"dotenv": "5.0.1",
|
||||
"electron": "1.8.4",
|
||||
"electron-builder": "20.8.1",
|
||||
"electron-reload": "1.2.2",
|
||||
"fs-extra": "5.0.0",
|
||||
"jasmine-core": "2.99.1",
|
||||
"jasmine-spec-reporter": "4.2.1",
|
||||
"karma": "2.0.0",
|
||||
"karma-chrome-launcher": "2.2.0",
|
||||
"karma-cli": "1.0.1",
|
||||
"karma-coverage-istanbul-reporter": "0.2.0",
|
||||
"karma-jasmine": "1.1.0",
|
||||
"karma-coverage-istanbul-reporter": "1.4.2",
|
||||
"karma-jasmine": "1.1.1",
|
||||
"karma-jasmine-html-reporter": "0.2.2",
|
||||
"karma-sourcemap-loader": "0.3.7",
|
||||
"less-loader": "4.0.4",
|
||||
"minimist": "1.2.0",
|
||||
"mkdirp": "0.5.1",
|
||||
"postcss-loader": "1.3.3",
|
||||
"postcss-url": "7.0.0",
|
||||
"protractor": "5.1.2",
|
||||
"raw-loader": "0.5.1",
|
||||
"sass-loader": "6.0.6",
|
||||
"script-loader": "0.7.0",
|
||||
"source-map-loader": "0.2.1",
|
||||
"style-loader": "0.18.2",
|
||||
"stylus-loader": "3.0.1",
|
||||
"ts-node": "3.1.0",
|
||||
"tslint": "5.4.3",
|
||||
"typescript": "2.4.2",
|
||||
"url-loader": "0.5.9",
|
||||
"npm-run-all": "4.1.2",
|
||||
"npx": "10.0.1",
|
||||
"protractor": "5.3.1",
|
||||
"replace": "0.3.0",
|
||||
"rxjs": "5.5.8",
|
||||
"ts-node": "4.1.0",
|
||||
"tslint": "5.9.1",
|
||||
"typescript": "2.6.2",
|
||||
"wait-on": "2.1.0",
|
||||
"webdriver-manager": "12.0.6",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack-dev-server": "2.11.1"
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE.md"
|
||||
"zone.js": "0.8.26"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user