Update to webpack 5, remove gulp

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2021-04-25 16:31:21 -04:00
parent ab2a3e9ee8
commit 4ef2174226
13 changed files with 1144 additions and 4328 deletions

View File

@@ -3,10 +3,11 @@
"version": "0.1.0",
"description": "Prowlarr is an Indexer/Tracker manager with seamless integration for your favorite PVR apps",
"scripts": {
"build": "gulp build",
"start": "gulp watch",
"watch": "gulp watch",
"clean": "git clean -fXd",
"build": "webpack --config ./frontend/build/webpack.config.js",
"prebuild": "yarn clean",
"clean": "rimraf ./_output/UI && rimraf \"**/*.js.map\"",
"start": "webpack --watch --config ./frontend/build/webpack.config.js",
"watch": "webpack --watch --config ./frontend/build/webpack.config.js",
"lint": "esprint check",
"lint-fix": "esprint check --fix",
"stylelint-linux": "stylelint $(find frontend -name '*.css') --config frontend/.stylelintrc",
@@ -16,21 +17,14 @@
"author": "Team Prowlarr",
"license": "GPL-3.0",
"readmeFilename": "readme.md",
"main": "index.js",
"browserslist": [
">0.25%",
"not ie 11",
"not op_mini all",
"not chrome < 60"
],
"dependencies": {
"@babel/core": "7.12.17",
"@babel/plugin-proposal-class-properties": "7.12.13",
"@babel/plugin-proposal-decorators": "7.12.13",
"@babel/plugin-proposal-export-default-from": "7.12.13",
"@babel/plugin-proposal-export-namespace-from": "7.12.13",
"@babel/plugin-proposal-function-sent": "7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.12.13",
"@babel/plugin-proposal-numeric-separator": "7.12.13",
"@babel/plugin-proposal-optional-chaining": "7.12.17",
"@babel/plugin-proposal-throw-expressions": "7.12.13",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.12.17",
"@babel/preset-react": "7.12.13",
"@babel/eslint-parser": "7.12.17",
"@fortawesome/fontawesome-free": "5.15.2",
"@fortawesome/fontawesome-svg-core": "1.2.34",
"@fortawesome/free-regular-svg-icons": "5.15.2",
@@ -39,54 +33,21 @@
"@microsoft/signalr": "5.0.4",
"@sentry/browser": "6.2.0",
"@sentry/integrations": "6.2.0",
"ansi-colors": "4.1.1",
"autoprefixer": "9.7.5",
"babel-loader": "8.2.2",
"babel-plugin-inline-classnames": "2.0.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"chart.js": "2.9.4",
"classnames": "2.2.6",
"clipboard": "2.0.6",
"connected-react-router": "6.8.0",
"core-js": "3.9.0",
"css-loader": "3.4.2",
"del": "6.0.0",
"element-class": "0.2.2",
"eslint": "7.20.0",
"eslint-plugin-filenames": "1.3.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"esprint": "2.0.0",
"file-loader": "6.2.0",
"filesize": "6.1.0",
"gulp": "4.0.2",
"gulp-cached": "1.1.1",
"gulp-concat": "2.6.1",
"gulp-livereload": "4.0.2",
"gulp-postcss": "8.0.0",
"gulp-print": "5.0.2",
"gulp-sourcemaps": "2.6.5",
"gulp-watch": "5.0.1",
"gulp-wrap": "0.15.0",
"history": "4.10.1",
"html-webpack-plugin": "4.5.0",
"https-browserify": "1.0.0",
"jdu": "1.0.0",
"jquery": "3.5.1",
"loader-utils": "^2.0.0",
"lodash": "4.17.20",
"mini-css-extract-plugin": "0.9.0",
"mobile-detect": "1.4.4",
"moment": "2.29.1",
"mousetrap": "1.6.5",
"normalize.css": "8.0.1",
"optimize-css-assets-webpack-plugin": "5.0.4",
"postcss-color-function": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-mixins": "6.2.3",
"postcss-nested": "4.2.1",
"postcss-simple-vars": "5.0.2",
"postcss-url": "8.0.0",
"prop-types": "15.7.2",
"qs": "6.9.6",
"react": "16.13.1",
@@ -112,23 +73,57 @@
"redux-batched-actions": "0.5.0",
"redux-localstorage": "0.4.1",
"redux-thunk": "2.3.0",
"reselect": "4.0.0"
},
"devDependencies": {
"@babel/core": "7.12.17",
"@babel/plugin-proposal-class-properties": "7.12.13",
"@babel/plugin-proposal-decorators": "7.12.13",
"@babel/plugin-proposal-export-default-from": "7.12.13",
"@babel/plugin-proposal-export-namespace-from": "7.12.13",
"@babel/plugin-proposal-function-sent": "7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.12.13",
"@babel/plugin-proposal-numeric-separator": "7.12.13",
"@babel/plugin-proposal-optional-chaining": "7.12.17",
"@babel/plugin-proposal-throw-expressions": "7.12.13",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.12.17",
"@babel/preset-react": "7.12.13",
"@babel/eslint-parser": "7.12.17",
"autoprefixer": "9.7.5",
"babel-loader": "8.2.2",
"babel-plugin-inline-classnames": "2.0.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"copy-webpack-plugin": "8.1.1",
"core-js": "3.9.0",
"css-loader": "5.2.4",
"eslint": "7.20.0",
"eslint-plugin-filenames": "1.3.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"esprint": "2.0.0",
"file-loader": "6.2.0",
"html-webpack-plugin": "5.3.1",
"loader-utils": "^2.0.0",
"mini-css-extract-plugin": "1.5.0",
"postcss-color-function": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-mixins": "6.2.3",
"postcss-nested": "4.2.1",
"postcss-simple-vars": "5.0.2",
"postcss-url": "8.0.0",
"require-nocache": "1.0.0",
"reselect": "4.0.0",
"rimraf": "3.0.2",
"run-sequence": "2.2.1",
"streamqueue": "1.1.2",
"style-loader": "1.2.1",
"style-loader": "2.0.0",
"url-loader": "4.1.1",
"webpack": "5.35.1",
"webpack-cli": "4.6.0",
"webpack-livereload-plugin": "3.0.1",
"worker-loader": "3.0.8",
"stylelint": "13.10.0",
"stylelint-order": "4.1.0",
"url-loader": "4.1.0",
"webpack": "4.44.2",
"webpack-stream": "6.1.2",
"worker-loader": "3.0.8"
},
"main": "index.js",
"browserslist": [
">0.25%",
"not ie 11",
"not op_mini all",
"not chrome < 60"
]
"stylelint-order": "4.1.0"
}
}