Prepared GUI2 FW lib for publishing on npmjs.org

Change-Id: Icdbdacb24848795b644fc8b76c628fbdb8701e96
diff --git a/web/gui2-topo-lib/BUILD b/web/gui2-topo-lib/BUILD
index 9eae292..eff1dcd 100644
--- a/web/gui2-topo-lib/BUILD
+++ b/web/gui2-topo-lib/BUILD
@@ -110,8 +110,8 @@
           #"   tail -n 100 ../../$(location onos-gui2-ng-test.log) >&2;" +
           "   exit 1;" +
           " fi;" +
-          " cd dist/gui2-topo-lib && " +
-          " npm pack >> $$ROOT/$(location gui2-topo-lib.log) 2>&1 &&" +
+          " cp README.md LICENSE dist/gui2-topo-lib && " +
+          " npm pack ./dist/gui2-topo-lib >> $$ROOT/$(location gui2-topo-lib.log) 2>&1 &&" +
           " mv gui2-topo-lib-*.tgz $$ROOT/$(location gui2-topo-lib-ver.tgz) &&" +
           " touch $$ROOT/$(location gui2-topo-lib.log)",  # to get the log always as the 2nd file,
     message = "Angular Topo GUI2 build",
@@ -202,6 +202,8 @@
     srcs = glob(
         [
             "projects/gui2-topo-lib/**/*",
+            "README.md",
+            "LICENSE",
         ],
         exclude = [
             "projects/gui2-topo-lib/**/*.spec.*",  # Don't track tests here
diff --git a/web/gui2-topo-lib/LICENSE b/web/gui2-topo-lib/LICENSE
new file mode 100644
index 0000000..33cee65
--- /dev/null
+++ b/web/gui2-topo-lib/LICENSE
@@ -0,0 +1,13 @@
+Copyright 2019-present Open Networking Foundation.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/web/gui2-topo-lib/package.json b/web/gui2-topo-lib/package.json
index 253d02e..d855dd7 100644
--- a/web/gui2-topo-lib/package.json
+++ b/web/gui2-topo-lib/package.json
@@ -1,6 +1,6 @@
 {
   "name": "gui2-topo-lib",
-  "version": "2.1.0",
+  "version": "2.1.1",
   "scripts": {
     "ng": "ng",
     "start": "ng serve",
@@ -22,7 +22,7 @@
     "@angular/router": "~7.0.0",
     "core-js": "^2.5.4",
     "d3": "^5.9.2",
-    "gui2-fw-lib": "file:../gui2-fw-lib/dist/gui2-fw-lib/gui2-fw-lib-2.1.0.tgz",
+    "gui2-fw-lib": "file:../gui2-fw-lib/dist/gui2-fw-lib/gui2-fw-lib-2.1.1.tgz",
     "rxjs": "~6.3.3",
     "topojson-client": "^3.0.0",
     "zone.js": "~0.8.26"
diff --git a/web/gui2-topo-lib/projects/gui2-topo-lib/package.json b/web/gui2-topo-lib/projects/gui2-topo-lib/package.json
index 9962820..8043f1a 100644
--- a/web/gui2-topo-lib/projects/gui2-topo-lib/package.json
+++ b/web/gui2-topo-lib/projects/gui2-topo-lib/package.json
@@ -1,6 +1,19 @@
 {
   "name": "gui2-topo-lib",
-  "version": "2.1.0",
+  "version": "2.1.1",
+  "author": {
+    "name": "Sean Condon",
+    "email": "sean@opennetworking.org"
+  },
+  "description": "ONOS Project GUI Topology View Library built on Angular7+",
+  "keywords": "ONOS SDN Controller ONF Open Networking Foundation",
+  "homepage": "https://onosproject.org/",
+  "bugs": "support@opennetworking.org",
+  "license": "Apache-2.0",
+  "repository": {
+    "type" : "git",
+    "url" : "https://github.com/opennetworkinglab/onos.git"
+  },
   "peerDependencies": {
     "@angular/common": "^7.0.0",
     "@angular/core": "^7.0.0"