From e77fabefdf9d95c66cbb7663d7e4f8f63225a565 Mon Sep 17 00:00:00 2001 From: Xin Date: Thu, 5 Nov 2015 10:50:32 -0800 Subject: [PATCH] add bower.json file Change-Id: I2c88e8893d138e26a01bf6981076b94d11ec8bd7 --- kb_web/.idea/workspace.xml | 95 ++++++++++++++++++++++---------------- kb_web/.yo-rc.json | 1 + kb_web/README.md | 6 --- kb_web/bower.json | 35 ++++++++++++++ 4 files changed, 90 insertions(+), 47 deletions(-) create mode 100644 kb_web/.yo-rc.json create mode 100644 kb_web/bower.json diff --git a/kb_web/.idea/workspace.xml b/kb_web/.idea/workspace.xml index 0d3f9a4..6149168 100644 --- a/kb_web/.idea/workspace.xml +++ b/kb_web/.idea/workspace.xml @@ -38,16 +38,16 @@ - + - + - + @@ -58,7 +58,7 @@ - + @@ -69,6 +69,19 @@ + + + + + + + + + + + + + @@ -104,7 +117,6 @@ @@ -450,7 +463,7 @@ - + @@ -523,7 +536,7 @@ - + @@ -728,17 +741,6 @@ - - - - - - - - - - - @@ -820,14 +822,6 @@ - - - - - - - - @@ -871,7 +865,7 @@ - + @@ -884,19 +878,6 @@ - - - - - - - - - - - - - @@ -907,11 +888,43 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kb_web/.yo-rc.json b/kb_web/.yo-rc.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/kb_web/.yo-rc.json @@ -0,0 +1 @@ +{} diff --git a/kb_web/README.md b/kb_web/README.md index e402e95..6c6174d 100644 --- a/kb_web/README.md +++ b/kb_web/README.md @@ -1,15 +1,11 @@ # KloudBuster Web UI -*** - KloudBuster integrates a Python based web server to host the KloudBuster front-end website. If you want to change the UI code, you need to install NodeJS, npm, grunt and bower. ## Installation -*** - ### NodeJS & npm download nodeJS & npm. For more detail see [nodejs.org](https://nodejs.org/) @@ -37,8 +33,6 @@ Then execute the `bower install` command to install all of the packages which sp ## Build & development -*** - Run `grunt serve` for preview UI. Run `grunt build` to compress all files to kb_web/dist. diff --git a/kb_web/bower.json b/kb_web/bower.json new file mode 100644 index 0000000..e33800d --- /dev/null +++ b/kb_web/bower.json @@ -0,0 +1,35 @@ +{ + "name": "kb-web", + "version": "0.0.1", + "dependencies": { + "angular": "~1.3.0", + "angular-animate": "~1.3.0", + "angular-bootstrap": "~0.13.0", + "angular-cookies": "~1.3.0", + "angular-resource": "~1.3.0", + "angular-route": "~1.3.0", + "angular-sanitize": "~1.3.0", + "angular-touch": "~1.3.0", + "bootstrap": "~3.2.0", + "d3": "~3.5.6", + "moment": "~2.10.6", + "ng-table": "~0.8.3", + "angular-loading-bar": "~0.8.0", + "jquery-touchswipe": "~1.6.12" + }, + "devDependencies": { + "angular-mocks": "^1.3.0" + }, + "appPath": "app", + "moduleName": "kbWebApp", + "overrides": { + "bootstrap": { + "main": [ + "less/bootstrap.less", + "dist/css/bootstrap.css", + "dist/js/bootstrap.js" + ] + } + + } +}