diff options
author | Einav Weiss Keidar <einavw@amdocs.com> | 2018-05-30 18:12:02 +0300 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2018-07-08 08:58:48 +0000 |
commit | f2c47232959536b878b1db64a8a5ffb63a1d7f1f (patch) | |
tree | db73f6396a089bbc74ee7372180a01286bf3b3a0 /openecomp-ui/package.json | |
parent | d4cc2beaef58a4fc95bdc281efd879b1d1edf279 (diff) |
webpack 4 upgrade
Issue-ID: SDC-1388
Change-Id: I44d61491ef802187baa4beb3b4fc2c9f1e8405e5
Signed-off-by: Einav Weiss Keidar <einavw@amdocs.com>
Diffstat (limited to 'openecomp-ui/package.json')
-rw-r--r-- | openecomp-ui/package.json | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/openecomp-ui/package.json b/openecomp-ui/package.json index 2b060f2801..c9bfcc8223 100644 --- a/openecomp-ui/package.json +++ b/openecomp-ui/package.json @@ -5,19 +5,15 @@ "author": "ONAP", "license": "SEE LICENSE IN LICENSE", "scripts": { - "start": "gulp dev && webpack-dev-server --progress", - "build": "gulp build", - "css-usage": "gulp css-usage", - "static-keys-bundle": "gulp static-keys-bundle", - "check-keys-against-bundles": "gulp static-keys-bundle-with-report", + "build": "webpack --mode=production", + "build-dev": "webpack --mode=development", + "start": "webpack-dev-server --progress --mode=development", "test": "jest", "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js", "test-dev": "jest --watch", "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html", "test-build": "jest --coverage", - "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts", "storyshots": "jest storyshots.test.js", - "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts", "lint-fix": "eslint --fix --ext .js --ext .jsx src" }, "dependencies": { @@ -34,7 +30,6 @@ "lodash": "^4.13.1", "md5": "^2.1.0", "prop-types": "^15.6.0", - "randomstring": "^1.1.5", "react": "^15.6.2", "react-bootstrap": "^0.32.1", "react-click-outside": "^2.3.1", @@ -46,7 +41,7 @@ "react-input-autosize": "^2.2.0", "react-redux": "^5.0.6", "react-select": "1.2.1", - "react-show-more": "^1.1.1", + "react-show-more-text": "^1.0.3", "react-sortable": "^1.2.0", "react-transition-group": "^2.3.1", "redux": "^3.7.2", @@ -55,19 +50,17 @@ "validator": "^4.3.0" }, "devDependencies": { - "@kadira/storybook": "^2.35.3", - "@kadira/storybook-addon-knobs": "^1.7.1", - "@kadira/storybook-addon-options": "^1.0.2", "babel-core": "^6.24.0", "babel-eslint": "^8.2.1", "babel-jest": "^22.1.0", - "babel-loader": "^7.0.0-beta.1", + "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", + "clean-webpack-plugin": "^0.1.19", "css-loader": "^0.23.1", "deep-freeze": "0.0.1", "del": "^3.0.0", @@ -80,14 +73,6 @@ "eslint-plugin-react": "^7.7.0", "express": "^4.13.3", "file-loader": "^0.8.5", - "gulp": "^3.9.1", - "gulp-clean": "^0.3.1", - "gulp-css-usage": "^2.0.0", - "gulp-rename": "^1.2.2", - "gulp-replace": "^0.5.4", - "gulp-sass": "^3.1.0", - "gulp-tap": "^1.0.1", - "gulp-zip": "^4.1.0", "html-loader": "^0.4.3", "http-proxy-middleware": "^0.17.4", "ignore-loader": "^0.1.1", @@ -100,8 +85,9 @@ "moment": "^2.18.1", "node-sass": "^4.7.2", "node-watch": "^0.3.5", - "prettier": "^1.10.2", + "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", "rosie": "^1.6.0", @@ -110,15 +96,16 @@ "source-map-loader": "^0.1.5", "storyshots": "^3.2.2", "style-loader": "^0.13.0", - "svg-sprite-loader": "^0.1.1", + "svg-sprite-loader": "^3.7.3", "url-loader": "^0.5.7", - "webpack": "^2.2.1", - "webpack-dev-server": "^2.4.2" + "webpack": "^4.5.0", + "webpack-cli": "^2.0.14", + "webpack-dev-server": "^3.1.3" }, "engines": { "node": ">=8.0.0", "npm": ">=5.0.0", - "yarn": "^1.3.2" + "yarn": "^1.7.0" }, "jest": { "moduleNameMapper": { |