Changes to support npm publish of reactjs components

Modify the pom.xml to copy ui-react sources to target, add
maven-exec-plugin to run the "npm publish" step, update the package.json
to include where to publish

Issue-ID: CLAMP-450
Change-Id: Id0d15e71924867d1d4329a377661d125b21fee6c
Signed-off-by: TedHumphrey <Thomas.Humphrey@att.com>
diff --git a/ui-react/package.json b/ui-react/package.json
index de7cb26..a518122 100644
--- a/ui-react/package.json
+++ b/ui-react/package.json
@@ -1,17 +1,29 @@
 {
-  "name": "clamp-ui",
-  "version": "0.0.1",
-  "description": "ONAP Clamp Designer UI",
+  "name": "onap-clamp-ui",
+  "version": "4.1.0-SNAPSHOT",
+  "description": "ONAP Clamp Loop Designer UI",
+  "author": "ONAP Clamp Team",
+  "license": "Apache-2.0",
+  "homepage": "wiki.onap.org",
+  "publishConfig": {
+    "registry": "https://nexus3.onap.org/repository/npm.snapshot/"
+  },
   "main": "index.js",
   "proxy": "http://localhost:8080",
   "scripts": {
     "start": "react-scripts start",
     "build": "react-scripts build",
-    "test": "react-scripts test --env=jsdom",
-    "eject": "react-scripts eject"
+    "test": "react-scripts test --env=jsdom --watchAll=false",
+    "eject": "react-scripts eject",
+    "publish": "npm run publish"
   },
-  "author": "ONAP Clamp Team",
-  "license": "Apache-2.0",
+  "files": [
+    "src/*.js",
+    "src/*.png",
+    "src/api",
+    "src/components",
+    "src/theme"
+  ],
   "dependencies": {
     "@json-editor/json-editor": "1.3.5",
     "react": "16.8.0",