Bazel build of ONOS GUI package

Change-Id: Id5f9931c38f82afcdcefc49171dd79f2f5bdad14
diff --git a/WORKSPACE b/WORKSPACE
index 1a47662..c04c831 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,6 +1,19 @@
 load("//tools/build/bazel:generate_workspace.bzl", "generated_maven_jars")
 load("//tools/build/bazel:p4lang_workspace.bzl", "generate_p4lang")
+
 generated_maven_jars()
 generate_p4lang()
 
+git_repository(
+        name = "build_bazel_rules_nodejs",
+        remote = "https://github.com/bazelbuild/rules_nodejs.git",
+        tag = "0.10.0", # check for the latest tag when you install
+)
+
+load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
+node_repositories(package_json = ["//tools/gui:package.json"])
+
+load("//tools/build/bazel:nodejs_workspace.bzl", "packages_example_setup_workspace")
+packages_example_setup_workspace()
+
 ONOS_VERSION = '1.14.0-SNAPSHOT'