Fix 'Order of TOSCA.meta field is hardcoded'-bug
[sdc.git] / openecomp-ui / package.json
index c9bfcc8..ee86b75 100644 (file)
@@ -3,7 +3,7 @@
     "version": "1.0.0",
     "description": "",
     "author": "ONAP",
-    "license": "SEE LICENSE IN LICENSE",
+    "license": "Apache-2.0",
     "scripts": {
         "build": "webpack --mode=production",
         "build-dev": "webpack --mode=development",
@@ -18,7 +18,7 @@
     },
     "dependencies": {
         "attr-accept": "^1.1.0",
-        "axios": "^0.16.2",
+        "axios": "^0.25.0",
         "classnames": "^2.2.5",
         "core-js": "^2.4.0",
         "d3": "^4.10.0",
         "intl-relativeformat": "^1.2.0",
         "lodash": "^4.13.1",
         "md5": "^2.1.0",
-        "prop-types": "^15.6.0",
-        "react": "^15.6.2",
+        "onap-ui-react": "^1.0.0",
+        "onap-ui-common": "^1.0.101",
+        "prop-types": "^15.6.2",
+        "react": "^16.4.2",
         "react-bootstrap": "^0.32.1",
-        "react-click-outside": "^2.3.1",
-        "react-datepicker": "^0.48.0",
+        "react-checkbox-tree": "1.4.1",
+        "react-click-outside": "^3.0.1",
+        "react-datepicker": "^0.61.0",
         "react-dnd": "^2.5.4",
         "react-dnd-html5-backend": "^2.5.4",
-        "react-dom": "^15.6.2",
-        "react-dropzone": "4.2.3",
-        "react-input-autosize": "^2.2.0",
-        "react-redux": "^5.0.6",
+        "react-dom": "^16.4.2",
+        "react-dropzone": "4.3.0",
+        "react-input-autosize": "^2.2.1",
+        "react-redux": "^5.0.7",
         "react-select": "1.2.1",
-        "react-show-more-text": "^1.0.3",
-        "react-sortable": "^1.2.0",
-        "react-transition-group": "^2.3.1",
+        "react-show-more-text": "1.6.1",
+        "react-sortable": "^1.2.1",
+        "react-transition-group": "^2.4.0",
         "redux": "^3.7.2",
-        "sdc-ui": "1.6.53",
         "uuid-js": "^0.7.5",
         "validator": "^4.3.0"
     },
     "devDependencies": {
-        "babel-core": "^6.24.0",
+        "babel-core": "^6.26.0",
         "babel-eslint": "^8.2.1",
         "babel-jest": "^22.1.0",
         "babel-loader": "7.1.4",
@@ -64,7 +66,8 @@
         "css-loader": "^0.23.1",
         "deep-freeze": "0.0.1",
         "del": "^3.0.0",
-        "enzyme": "^2.7.1",
+        "enzyme": "^3.4.0",
+        "enzyme-adapter-react-16": "^1.2.0",
         "eslint": "^4.18.1",
         "eslint-config-prettier": "^2.9.0",
         "eslint-loader": "^2.0.0",
@@ -88,8 +91,8 @@
         "prettier": "1.10.2",
         "prompt": "^0.2.14",
         "randomstring": "^1.1.5",
-        "react-addons-test-utils": "~15.3.2",
-        "react-hot-loader": "^3.1.3",
+        "react-hot-loader": "^4.3.4",
+        "react-test-renderer": "^16.4.2",
         "rosie": "^1.6.0",
         "run-sequence": "^2.2.1",
         "sass-loader": "^6.0.6",
         "svg-sprite-loader": "^3.7.3",
         "url-loader": "^0.5.7",
         "webpack": "^4.5.0",
-        "webpack-cli": "^2.0.14",
-        "webpack-dev-server": "^3.1.3"
+        "webpack-cli": "^3.3.12",
+        "webpack-dev-server": "^3.1.3",
+        "worker-loader": "^2.0.0",
+        "html-webpack-plugin": "^3.2.0"
+    },
+    "resolutions": {
+        "**/sockjs-client": "1.5.2"
     },
     "engines": {
-        "node": ">=8.0.0",
-        "npm": ">=5.0.0",
+        "node": ">=14.17.1",
+        "npm": ">=8.6.0",
         "yarn": "^1.7.0"
     },
     "jest": {
         "moduleNameMapper": {
             "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
             "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
+            "\\.worker\\.js$": "<rootDir>/test-utils/workerMock.js",
             "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
-            "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
+            "^onap-ui-react/lib/components/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
             "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
             "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
             "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
             "DEBUG": false
         },
         "setupFiles": [
+            "<rootDir>/test-utils/shim.js",
             "<rootDir>/test-utils/test-env-setup.js"
         ],
         "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",