npm dependency upgrade (#470)
* npm dependency upgrade * Remove unneeded optionaDependency
This commit is contained in:
parent
e5a915dddf
commit
f43e4028db
4 changed files with 9936 additions and 22726 deletions
|
@ -23,7 +23,6 @@ const config = {
|
|||
allExtensions: true,
|
||||
isTSX: true,
|
||||
}],
|
||||
['@emotion/babel-preset-css-prop'],
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
|
|
32567
mattermost-plugin/webapp/package-lock.json
generated
32567
mattermost-plugin/webapp/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -13,62 +13,56 @@
|
|||
"check-types": "tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.10.4",
|
||||
"@babel/core": "7.10.4",
|
||||
"@babel/plugin-proposal-class-properties": "7.10.4",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.10.4",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.10.4",
|
||||
"@babel/cli": "7.14.3",
|
||||
"@babel/core": "7.14.3",
|
||||
"@babel/plugin-proposal-class-properties": "7.13.0",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.14.2",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.14.2",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||||
"@babel/polyfill": "7.10.4",
|
||||
"@babel/preset-env": "7.10.4",
|
||||
"@babel/preset-react": "7.10.4",
|
||||
"@babel/preset-typescript": "7.10.4",
|
||||
"@babel/runtime": "7.10.4",
|
||||
"@emotion/babel-preset-css-prop": "10.0.27",
|
||||
"@emotion/core": "10.0.28",
|
||||
"@types/enzyme": "3.10.5",
|
||||
"@types/jest": "26.0.4",
|
||||
"@types/node": "14.0.20",
|
||||
"@types/react": "16.9.41",
|
||||
"@types/react-dom": "16.9.8",
|
||||
"@babel/preset-env": "7.14.2",
|
||||
"@babel/preset-react": "7.13.13",
|
||||
"@babel/preset-typescript": "7.13.0",
|
||||
"@babel/runtime": "7.14.0",
|
||||
"@types/enzyme": "3.10.8",
|
||||
"@types/jest": "26.0.23",
|
||||
"@types/node": "15.6.1",
|
||||
"@types/react": "17.0.6",
|
||||
"@types/react-dom": "17.0.5",
|
||||
"@types/react-intl": "3.0.0",
|
||||
"@types/react-redux": "7.1.9",
|
||||
"@types/react-router-dom": "5.1.5",
|
||||
"@types/react-transition-group": "4.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "3.6.0",
|
||||
"@typescript-eslint/parser": "3.6.0",
|
||||
"@types/react-redux": "7.1.16",
|
||||
"@types/react-router-dom": "5.1.7",
|
||||
"@types/react-transition-group": "4.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "4.25.0",
|
||||
"@typescript-eslint/parser": "4.25.0",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-jest": "26.1.0",
|
||||
"babel-loader": "8.1.0",
|
||||
"babel-plugin-typescript-to-proptypes": "1.3.2",
|
||||
"css-loader": "3.6.0",
|
||||
"enzyme": "3.11.0",
|
||||
"enzyme-adapter-react-16": "1.15.2",
|
||||
"enzyme-to-json": "3.5.0",
|
||||
"eslint": "7.4.0",
|
||||
"eslint-import-resolver-webpack": "0.12.2",
|
||||
"eslint-plugin-import": "2.22.0",
|
||||
"eslint-plugin-react": "7.20.3",
|
||||
"eslint-plugin-react-hooks": "4.0.6",
|
||||
"file-loader": "6.0.0",
|
||||
"babel-jest": "27.0.1",
|
||||
"babel-loader": "8.2.2",
|
||||
"babel-plugin-typescript-to-proptypes": "1.4.2",
|
||||
"css-loader": "5.2.6",
|
||||
"eslint": "7.27.0",
|
||||
"eslint-import-resolver-webpack": "0.13.1",
|
||||
"eslint-plugin-import": "2.23.3",
|
||||
"eslint-plugin-react": "7.23.2",
|
||||
"eslint-plugin-react-hooks": "4.2.0",
|
||||
"file-loader": "6.2.0",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
"jest": "26.1.0",
|
||||
"jest-canvas-mock": "2.2.0",
|
||||
"jest-junit": "11.0.1",
|
||||
"mattermost-webapp": "github:mattermost/mattermost-webapp#23f5f93d9f12a7e2b5623e5cee6814366abd9a0f",
|
||||
"node-sass": "4.14.1",
|
||||
"sass-loader": "9.0.2",
|
||||
"style-loader": "1.2.1",
|
||||
"webpack": "4.43.0",
|
||||
"webpack-cli": "3.3.12"
|
||||
"jest": "27.0.1",
|
||||
"jest-canvas-mock": "2.3.1",
|
||||
"jest-junit": "12.0.0",
|
||||
"sass": "1.25.0",
|
||||
"sass-loader": "11.1.1",
|
||||
"style-loader": "2.0.0",
|
||||
"webpack": "5.37.1",
|
||||
"webpack-cli": "4.7.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "3.6.5",
|
||||
"mattermost-redux": "5.27.0",
|
||||
"react": "16.13.1",
|
||||
"react-redux": "7.2.0",
|
||||
"redux": "4.0.5",
|
||||
"typescript": "3.9.6"
|
||||
"core-js": "3.12.1",
|
||||
"mattermost-redux": "5.33.1",
|
||||
"react": "17.0.2",
|
||||
"react-redux": "7.2.4",
|
||||
"redux": "4.1.0",
|
||||
"typescript": "4.2.4"
|
||||
},
|
||||
"jest": {
|
||||
"snapshotSerializers": [
|
||||
|
|
|
@ -6,7 +6,7 @@ const PLUGIN_ID = require('../plugin.json').id;
|
|||
|
||||
const NPM_TARGET = process.env.npm_lifecycle_event; //eslint-disable-line no-process-env
|
||||
let mode = 'production';
|
||||
let devtool = '';
|
||||
let devtool = undefined;
|
||||
if (NPM_TARGET === 'debug' || NPM_TARGET === 'debug:watch') {
|
||||
mode = 'development';
|
||||
devtool = 'source-map';
|
||||
|
|
Loading…
Reference in a new issue