Added back in Bazel tests for gui2-fw-lib and gui2-topo-lib

Also used a named path in typescript for gui2-fw-lib

Change-Id: I7233565e53b9b86e1766228ecc96b21ea6f7499d
diff --git a/web/gui2/BUILD b/web/gui2/BUILD
index c3b700b..3fdc59d 100644
--- a/web/gui2/BUILD
+++ b/web/gui2/BUILD
@@ -19,6 +19,7 @@
 """
 
 load("//tools/build/bazel:jdk_genrule.bzl", genrule = "jdk_genrule")
+load("@npm_bazel_typescript//:index.bzl", "ts_config")
 
 COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + [
     "@javax_ws_rs_api//jar",
@@ -38,6 +39,20 @@
     "//drivers/default:onos-drivers-default",
 ]
 
+# This export allows targets in other packages to reference files that live
+# in this package.
+# TODO Try to move this in to /web/gui2-fw-lib when possible
+exports_files([
+    "tsconfig.json",
+])
+
+ts_config(
+    name = "tsconfig-test",
+    src = "tsconfig-test.json",
+    visibility = ["//visibility:public"],
+    deps = [":tsconfig.json"],
+)
+
 """
     Builds the java jar for the java code provided by the GUI2
 """