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,
|
allExtensions: true,
|
||||||
isTSX: true,
|
isTSX: true,
|
||||||
}],
|
}],
|
||||||
['@emotion/babel-preset-css-prop'],
|
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
'@babel/plugin-proposal-class-properties',
|
'@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"
|
"check-types": "tsc"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "7.10.4",
|
"@babel/cli": "7.14.3",
|
||||||
"@babel/core": "7.10.4",
|
"@babel/core": "7.14.3",
|
||||||
"@babel/plugin-proposal-class-properties": "7.10.4",
|
"@babel/plugin-proposal-class-properties": "7.13.0",
|
||||||
"@babel/plugin-proposal-object-rest-spread": "7.10.4",
|
"@babel/plugin-proposal-object-rest-spread": "7.14.2",
|
||||||
"@babel/plugin-proposal-optional-chaining": "7.10.4",
|
"@babel/plugin-proposal-optional-chaining": "7.14.2",
|
||||||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||||||
"@babel/polyfill": "7.10.4",
|
"@babel/polyfill": "7.10.4",
|
||||||
"@babel/preset-env": "7.10.4",
|
"@babel/preset-env": "7.14.2",
|
||||||
"@babel/preset-react": "7.10.4",
|
"@babel/preset-react": "7.13.13",
|
||||||
"@babel/preset-typescript": "7.10.4",
|
"@babel/preset-typescript": "7.13.0",
|
||||||
"@babel/runtime": "7.10.4",
|
"@babel/runtime": "7.14.0",
|
||||||
"@emotion/babel-preset-css-prop": "10.0.27",
|
"@types/enzyme": "3.10.8",
|
||||||
"@emotion/core": "10.0.28",
|
"@types/jest": "26.0.23",
|
||||||
"@types/enzyme": "3.10.5",
|
"@types/node": "15.6.1",
|
||||||
"@types/jest": "26.0.4",
|
"@types/react": "17.0.6",
|
||||||
"@types/node": "14.0.20",
|
"@types/react-dom": "17.0.5",
|
||||||
"@types/react": "16.9.41",
|
|
||||||
"@types/react-dom": "16.9.8",
|
|
||||||
"@types/react-intl": "3.0.0",
|
"@types/react-intl": "3.0.0",
|
||||||
"@types/react-redux": "7.1.9",
|
"@types/react-redux": "7.1.16",
|
||||||
"@types/react-router-dom": "5.1.5",
|
"@types/react-router-dom": "5.1.7",
|
||||||
"@types/react-transition-group": "4.4.0",
|
"@types/react-transition-group": "4.4.1",
|
||||||
"@typescript-eslint/eslint-plugin": "3.6.0",
|
"@typescript-eslint/eslint-plugin": "4.25.0",
|
||||||
"@typescript-eslint/parser": "3.6.0",
|
"@typescript-eslint/parser": "4.25.0",
|
||||||
"babel-eslint": "10.1.0",
|
"babel-eslint": "10.1.0",
|
||||||
"babel-jest": "26.1.0",
|
"babel-jest": "27.0.1",
|
||||||
"babel-loader": "8.1.0",
|
"babel-loader": "8.2.2",
|
||||||
"babel-plugin-typescript-to-proptypes": "1.3.2",
|
"babel-plugin-typescript-to-proptypes": "1.4.2",
|
||||||
"css-loader": "3.6.0",
|
"css-loader": "5.2.6",
|
||||||
"enzyme": "3.11.0",
|
"eslint": "7.27.0",
|
||||||
"enzyme-adapter-react-16": "1.15.2",
|
"eslint-import-resolver-webpack": "0.13.1",
|
||||||
"enzyme-to-json": "3.5.0",
|
"eslint-plugin-import": "2.23.3",
|
||||||
"eslint": "7.4.0",
|
"eslint-plugin-react": "7.23.2",
|
||||||
"eslint-import-resolver-webpack": "0.12.2",
|
"eslint-plugin-react-hooks": "4.2.0",
|
||||||
"eslint-plugin-import": "2.22.0",
|
"file-loader": "6.2.0",
|
||||||
"eslint-plugin-react": "7.20.3",
|
|
||||||
"eslint-plugin-react-hooks": "4.0.6",
|
|
||||||
"file-loader": "6.0.0",
|
|
||||||
"identity-obj-proxy": "3.0.0",
|
"identity-obj-proxy": "3.0.0",
|
||||||
"jest": "26.1.0",
|
"jest": "27.0.1",
|
||||||
"jest-canvas-mock": "2.2.0",
|
"jest-canvas-mock": "2.3.1",
|
||||||
"jest-junit": "11.0.1",
|
"jest-junit": "12.0.0",
|
||||||
"mattermost-webapp": "github:mattermost/mattermost-webapp#23f5f93d9f12a7e2b5623e5cee6814366abd9a0f",
|
"sass": "1.25.0",
|
||||||
"node-sass": "4.14.1",
|
"sass-loader": "11.1.1",
|
||||||
"sass-loader": "9.0.2",
|
"style-loader": "2.0.0",
|
||||||
"style-loader": "1.2.1",
|
"webpack": "5.37.1",
|
||||||
"webpack": "4.43.0",
|
"webpack-cli": "4.7.0"
|
||||||
"webpack-cli": "3.3.12"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"core-js": "3.6.5",
|
"core-js": "3.12.1",
|
||||||
"mattermost-redux": "5.27.0",
|
"mattermost-redux": "5.33.1",
|
||||||
"react": "16.13.1",
|
"react": "17.0.2",
|
||||||
"react-redux": "7.2.0",
|
"react-redux": "7.2.4",
|
||||||
"redux": "4.0.5",
|
"redux": "4.1.0",
|
||||||
"typescript": "3.9.6"
|
"typescript": "4.2.4"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"snapshotSerializers": [
|
"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
|
const NPM_TARGET = process.env.npm_lifecycle_event; //eslint-disable-line no-process-env
|
||||||
let mode = 'production';
|
let mode = 'production';
|
||||||
let devtool = '';
|
let devtool = undefined;
|
||||||
if (NPM_TARGET === 'debug' || NPM_TARGET === 'debug:watch') {
|
if (NPM_TARGET === 'debug' || NPM_TARGET === 'debug:watch') {
|
||||||
mode = 'development';
|
mode = 'development';
|
||||||
devtool = 'source-map';
|
devtool = 'source-map';
|
||||||
|
|
Loading…
Reference in a new issue