diff options
Diffstat (limited to 'openecomp-ui/package.json')
-rw-r--r-- | openecomp-ui/package.json | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/openecomp-ui/package.json b/openecomp-ui/package.json index 9fb606c03e..e7b47cf15c 100644 --- a/openecomp-ui/package.json +++ b/openecomp-ui/package.json @@ -29,7 +29,7 @@ "intl-relativeformat": "^1.2.0", "lodash": "^4.13.1", "md5": "^2.1.0", - "onap-ui-react": "^1.0.0", + "onap-ui-react": "^1.0.2", "onap-ui-common": "^1.0.101", "prop-types": "^15.6.2", "react": "^16.4.2", @@ -52,16 +52,19 @@ "validator": "^4.3.0" }, "devDependencies": { - "babel-core": "^6.26.0", + "@babel/core": "^7.26.0", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-decorators": "^7.25.9", + "@babel/plugin-proposal-object-rest-spread": "^7.20.7", + "@babel/plugin-transform-modules-commonjs": "^7.26.3", + "@babel/plugin-transform-runtime": "^7.25.9", + "@babel/preset-env": "^7.26.0", + "@babel/preset-react": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@testing-library/react": "11", "babel-eslint": "^8.2.1", - "babel-jest": "^22.1.0", - "babel-loader": "7.1.4", - "babel-plugin-transform-class-properties": "^6.10.2", - "babel-plugin-transform-decorators-legacy": "^1.3.4", - "babel-plugin-transform-object-rest-spread": "^6.8.0", - "babel-plugin-transform-runtime": "^6.22.0", - "babel-preset-env": "^1.6.1", - "babel-preset-react": "^6.23.0", + "babel-jest": "^29.7.0", + "babel-loader": "^8.0.0", "clean-webpack-plugin": "^0.1.19", "css-loader": "^0.23.1", "deep-freeze": "0.0.1", @@ -80,13 +83,14 @@ "http-proxy-middleware": "^0.17.4", "ignore-loader": "^0.1.1", "jasmine-core": "^2.5.2", - "jest": "^21.2.1", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", "jshint": "^2.9.4", "json-loader": "^0.5.4", "jsx-loader": "^0.13.2", "mkdirp": "^0.5.1", "moment": "^2.18.1", - "node-sass": "^4.7.2", + "node-sass": "^9.0.0", "node-watch": "^0.3.5", "prettier": "1.10.2", "prompt": "^0.2.14", @@ -141,7 +145,8 @@ "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js", "testPathIgnorePatterns": [ "<rootDir>/node_modules/", - "<rootDir>/test/nfvo-components/storyshots.test.js" + "<rootDir>/test/nfvo-components/storyshots.test.js", + "<rootDir>/test/softwareProduct/validation/SoftwareProductValidationActionHelper.test.js" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}" @@ -152,6 +157,17 @@ ], "coverageReporters": [ "lcov" + ], + "testEnvironment": "jest-environment-jsdom", + "transformIgnorePatterns": [ + "<rootDir>/node_modules/(?!cheerio|enzyme)/" + ], + "transform": { + "^.+\\.jsx?$": "babel-jest" + }, + "extensionsToTreatAsEsm": [ + ".jsx" + ] } } |