summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/package.json')
-rw-r--r--usecaseui-portal/package.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/usecaseui-portal/package.json b/usecaseui-portal/package.json
index 70035a3c..e85f2365 100644
--- a/usecaseui-portal/package.json
+++ b/usecaseui-portal/package.json
@@ -5,10 +5,14 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
+ "server": "ng serve --host='0.0.0.0' --proxy-config proxy.conf.json",
"build": "ng build --prod --aot",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
+ "mockproxy": "ng serve --host='0.0.0.0' --proxy-config localproxy.conf.json",
+ "mockconfig": "node ./src/app/mock/server.js --port 3004",
+ "mock": "npm run mockconfig & npm run mockproxy",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"private": true,
@@ -27,7 +31,9 @@
"core-js": "^2.4.1",
"d3": "^3.5.17",
"echarts": "^4.1.0",
- "jquery": "^3.3.1",
+ "faker": "^4.1.0",
+ "jquery": "^3.4.1",
+ "lodash": "^4.17.15",
"ng-zorro-antd": "^0.7.1",
"ngx-echarts": "^2.2.0",
"rxjs": "^5.5.6",
@@ -43,6 +49,7 @@
"codelyzer": "^4.0.1",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
+ "json-server": "^0.15.0",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^1.2.1",