summaryrefslogtreecommitdiffstats
path: root/webapp/package.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-10 16:29:10 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-10 16:36:12 +0100
commitfb2f6b918beb0a994ad304bfd678ef0c5c562210 (patch)
tree21c64ee76658b2e68559891ba317cb893afd2d44 /webapp/package.json
parentc51d5034d527578da70bdd41b9ce13f28455c598 (diff)
Moved Dashboad webapp on Angular 5 !
Webapp loading time decreased from 2.7s to 1.5sec ! Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/package.json')
-rw-r--r--webapp/package.json85
1 files changed, 53 insertions, 32 deletions
diff --git a/webapp/package.json b/webapp/package.json
index 9c22f6b..f4f843f 100644
--- a/webapp/package.json
+++ b/webapp/package.json
@@ -2,12 +2,13 @@
"name": "xds-dashboard",
"version": "1.0.0",
"description": "X (cross) Development System dashboard",
- "scripts": {
- "clean": "gulp clean",
- "compile": "gulp compile",
- "build": "gulp build",
- "start": "concurrently --kill-others \"gulp watch\" \"lite-server\""
- },
+ "keywords": [
+ "XDS",
+ "AGL",
+ "IoT.bzh",
+ "angular",
+ "HTML5"
+ ],
"repository": {
"type": "git",
"url": "https://github.com/iotbzh/xds-agent"
@@ -17,16 +18,27 @@
"bugs": {
"url": "https://github.com/iotbzh/xds-agent/issues"
},
+ "scripts": {
+ "build": "ng build --prod --verbose",
+ "start": "ng serve --prod --port=8000",
+ "watch": "ng build --preserve-symlinks --watch",
+ "server": "node server/server.js",
+ "ng": "ng",
+ "test": "ng test",
+ "lint": "ng lint",
+ "e2e": "ng e2e"
+ },
"dependencies": {
- "@angular/common": "2.4.4",
- "@angular/compiler": "2.4.4",
- "@angular/core": "2.4.4",
- "@angular/forms": "2.4.4",
- "@angular/http": "2.4.4",
- "@angular/platform-browser": "2.4.4",
- "@angular/platform-browser-dynamic": "2.4.4",
- "@angular/router": "3.4.4",
- "@angular/upgrade": "2.4.4",
+ "@angular/animations": "5.0.1",
+ "@angular/common": "5.0.1",
+ "@angular/compiler": "5.0.1",
+ "@angular/core": "5.0.1",
+ "@angular/forms": "5.0.1",
+ "@angular/platform-browser": "5.0.1",
+ "@angular/platform-browser-dynamic": "5.0.1",
+ "@angular/router": "5.0.1",
+ "@ngx-translate/core": "^8.0.0",
+ "@ngx-translate/http-loader": "^2.0.0",
"@types/core-js": "0.9.35",
"@types/node": "7.0.5",
"@types/socket.io-client": "^1.4.29",
@@ -34,30 +46,39 @@
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"font-awesome-animation": "0.0.10",
- "ngx-bootstrap": "1.6.6",
+ "ng2-file-upload": "^1.2.0",
+ "ngx-bootstrap": "^2.0.0-beta.7",
"ngx-cookie": "^1.0.0",
"reflect-metadata": "^0.1.8",
- "rxjs": "5.0.3",
- "rxjs-system-bundle": "5.0.3",
+ "rxjs": "5.5.2",
"socket.io-client": "^1.7.3",
"socketio": "^1.0.0",
"systemjs": "0.20.0",
- "zone.js": "^0.7.6"
+ "zone.js": "^0.8.16"
},
"devDependencies": {
- "concurrently": "^3.1.0",
- "del": "^2.2.0",
- "gulp": "^3.9.1",
- "gulp-if": "2.0.2",
- "gulp-rsync": "0.0.7",
- "gulp-sequence": "^0.4.6",
- "gulp-sourcemaps": "^1.9.1",
- "gulp-tslint": "^7.0.1",
- "gulp-typescript": "^3.1.3",
- "lite-server": "^2.2.2",
- "ts-node": "^1.7.2",
- "tslint": "^4.0.2",
- "typescript": "^2.2.1",
+ "@angular/cli": "1.5.0",
+ "@angular/compiler-cli": "5.0.1",
+ "@angular/language-service": "5.0.1",
+ "@types/jasmine": "~2.5.53",
+ "@types/jasminewd2": "~2.0.2",
+ "@types/node": "~6.0.60",
+ "codelyzer": "~4.0.1",
+ "jasmine-core": "~2.6.2",
+ "jasmine-spec-reporter": "~4.1.0",
+ "karma": "~1.7.0",
+ "karma-chrome-launcher": "~2.1.1",
+ "karma-cli": "~1.0.1",
+ "karma-coverage-istanbul-reporter": "^1.2.1",
+ "karma-jasmine": "~1.1.0",
+ "karma-jasmine-html-reporter": "^0.2.2",
+ "nodemon": "1.11.0",
+ "protractor": "~5.1.2",
+ "pump": "^1.0.2",
+ "ts-loader": "1.3.0",
+ "ts-node": "~3.2.0",
+ "tslint": "~5.4.3",
+ "typescript": "~2.4.0",
"typings": "^2.0.0"
}
}