diff options
author | TedHumphrey <Thomas.Humphrey@att.com> | 2019-08-13 15:56:33 +0000 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-08-21 05:55:06 -0700 |
commit | 4aedf73ee896f8bac3dce6d728cb40a9519b76d7 (patch) | |
tree | b83d18239300177dfa267153bb56429ed4630bad /ui-react/package.json | |
parent | b0710ba41d0d0cc4f06a4dc27c5090867c26113e (diff) |
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>
Diffstat (limited to 'ui-react/package.json')
-rw-r--r-- | ui-react/package.json | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/ui-react/package.json b/ui-react/package.json index de7cb26d1..a51812271 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", |