[ONOS-6523] GUI Build: Removed third party libs from repo
- installed at build time as dependancies

Change-Id: I85fd69f0b14e6fd1af2693320c1ca23c62f58ac4
diff --git a/tools/gui/gulp-tasks/bower/index.js b/tools/gui/gulp-tasks/bower/index.js
new file mode 100644
index 0000000..c6b89e2
--- /dev/null
+++ b/tools/gui/gulp-tasks/bower/index.js
@@ -0,0 +1,15 @@
+import gulp from 'gulp';
+import bower from 'gulp-bower';
+
+const bowerTask = () => {
+    return bower({
+        directory: 'vendor',
+        cwd: '../../web/gui/src/main/webapp',
+    });
+};
+
+const tasks = () => {
+    gulp.task('bower', () => bowerTask());
+};
+
+export default tasks();
\ No newline at end of file
diff --git a/tools/gui/gulp-tasks/index.js b/tools/gui/gulp-tasks/index.js
index 1a926f6..0aee89a 100644
--- a/tools/gui/gulp-tasks/index.js
+++ b/tools/gui/gulp-tasks/index.js
@@ -1,7 +1,6 @@
 export { default as BundleJS } from './bundles/bundle-js';
 export { default as BundleCSS } from './bundles/bundle-css';
-
-// TODO: These are commented out because of npm issues with BUCK.
 export { default as Lint } from './lint';
 export { default as DevServer } from './dev-server';
-export { default as Tests } from './unit-tests';
\ No newline at end of file
+export { default as Tests } from './unit-tests';
+export { default as bowerDeps } from './bower';
\ No newline at end of file
diff --git a/tools/gui/gulp-tasks/lint/index.js b/tools/gui/gulp-tasks/lint/index.js
index 1aeb444..f864c6b 100644
--- a/tools/gui/gulp-tasks/lint/index.js
+++ b/tools/gui/gulp-tasks/lint/index.js
@@ -7,8 +7,6 @@
     '../../web/gui/src/main/webapp/app/**/*.js'
 ];
 
-console.log(eslint().version);
-
 function isFixed(file) {
     // Has ESLint fixed the file contents?
     return file.eslint != null && file.eslint.fixed;
diff --git a/tools/gui/gulpfile.babel.js b/tools/gui/gulpfile.babel.js
index 2705872..24327e0 100644
--- a/tools/gui/gulpfile.babel.js
+++ b/tools/gui/gulpfile.babel.js
@@ -1,10 +1,6 @@
 import gulp from 'gulp';
 import * as Tasks from './gulp-tasks/';
 
-gulp.task('build', ['bundle-css', 'bundle-js']);
-gulp.task('tests', ['test']);
-
-gulp.task('default', []);
-
-// TODO: Uncomment once npm and buck issues are resolved.
-// gulp.task('default', ['bundle-js', 'serve', 'watch-js']);
\ No newline at end of file
+gulp.task('build', ['bower', 'bundle-css', 'bundle-js']);
+gulp.task('tests', ['bower', 'test']);
+gulp.task('default', ['bundle-js', 'serve', 'watch-js']);
\ No newline at end of file
diff --git a/tools/gui/package.json b/tools/gui/package.json
index 25e418b..1b3f4d7 100644
--- a/tools/gui/package.json
+++ b/tools/gui/package.json
@@ -18,6 +18,7 @@
     "eslint": "^4.4.1",
     "eslint-config-google": "^0.9.1",
     "gulp": "^3.9.1",
+    "gulp-bower": "0.0.13",
     "gulp-concat": "^2.6.1",
     "gulp-eslint": "^4.0.0",
     "gulp-if": "^2.0.2",