upgrade dep for ui

This commit is contained in:
masnn committed 2020-06-11 23:15:08 +08:00
1 parent ca11d80776
commit 0efac48bde
4 files changed
+1299 -848

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
const path = require('path'); const path = require('path');
module.exports = { module.exports = {
"root": true,
"parser": "babel-eslint", "parser": "babel-eslint",
"plugins": [ "plugins": [
"babel", "babel",
+6 -4
View File
@@ -169,10 +169,12 @@ export default function (env = {}) {
}), }),
// copy static assets // copy static assets
new CopyWebpackPlugin([{ from: root('static') }]), new CopyWebpackPlugin({
patterns: [
// copy emoji images { from: root('static') },
new CopyWebpackPlugin([{ from: root('node_modules/emojify.js/dist/images/basic'), to: 'img/emoji/' }]), { from: root('node_modules/emojify.js/dist/images/basic'), to: 'img/emoji/' },
]
}),
// Options are provided by LoaderOptionsPlugin until webpack#3136 is fixed // Options are provided by LoaderOptionsPlugin until webpack#3136 is fixed
new webpack.LoaderOptionsPlugin({ new webpack.LoaderOptionsPlugin({
+33 -33
View File
@@ -5,80 +5,80 @@
"private": true, "private": true,
"license": "AGPL-1.0", "license": "AGPL-1.0",
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.4.4", "@babel/cli": "^7.10.1",
"@babel/core": "^7.4.4", "@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.10.1",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.10.1",
"@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.10.1",
"@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.10.1",
"@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.10.1",
"@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.10.1",
"@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.4.4", "@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.4.4", "@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.10.1",
"@babel/register": "^7.4.4", "@babel/register": "^7.10.1",
"autoprefixer": "^9.5.1", "autoprefixer": "^9.8.0",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"babel-plugin-lodash": "^3.3.4", "babel-plugin-lodash": "^3.3.4",
"babel-plugin-prismjs": "^2.0.1", "babel-plugin-prismjs": "^2.0.1",
"chalk": "^4.0.0", "chalk": "^4.1.0",
"copy-webpack-plugin": "^5.1.1", "copy-webpack-plugin": "^6.0.2",
"css-loader": "^3.5.2", "css-loader": "^3.5.3",
"del": "^5.1.0", "del": "^5.1.0",
"eslint": "^6.8.0", "eslint": "^7.2.0",
"eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb": "^18.1.0",
"eslint-import-resolver-webpack": "^0.12.1", "eslint-import-resolver-webpack": "^0.12.1",
"eslint-loader": "^4.0.0", "eslint-loader": "^4.0.2",
"eslint-plugin-babel": "^5.3.0", "eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.17.2", "eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0", "eslint-plugin-react": "^7.20.0",
"file-loader": "^6.0.0", "file-loader": "^6.0.0",
"friendly-errors-webpack-plugin": "^1.7.0", "friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^9.0.0", "fs-extra": "^9.0.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-cli": "^2.2.0", "gulp-cli": "^2.3.0",
"gulp-iconfont": "^10.0.2", "gulp-iconfont": "^10.0.2",
"gulp-if": "^3.0.0", "gulp-if": "^3.0.0",
"gulp-nunjucks": "^5.0.1", "gulp-nunjucks": "^5.0.1",
"gulp-plumber": "^1.2.1", "gulp-plumber": "^1.2.1",
"gulp-svgmin": "^2.2.0", "gulp-svgmin": "^2.2.0",
"imports-loader": "^0.8.0", "imports-loader": "^0.8.0",
"js-yaml": "^3.13.1", "js-yaml": "^3.14.0",
"monaco-editor-webpack-plugin": "^1.9.0", "monaco-editor-webpack-plugin": "^1.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3", "optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0", "postcss-loader": "^3.0.0",
"rupture": "^0.7.1", "rupture": "^0.7.1",
"style-loader": "^1.1.3", "style-loader": "^1.2.1",
"stylus": "^0.54.5", "stylus": "^0.54.5",
"stylus-loader": "^3.0.2", "stylus-loader": "^3.0.2",
"through2": "^3.0.1", "through2": "^3.0.1",
"uglifyjs-webpack-plugin": "^2.2.0", "uglifyjs-webpack-plugin": "^2.2.0",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
"webpack": "^4.42.1", "webpack": "^4.43.0",
"yargs": "^15.3.1" "yargs": "^15.3.1"
}, },
"dependencies": { "dependencies": {
"@babel/runtime-corejs2": "^7.0.0", "@babel/runtime-corejs2": "^7.10.2",
"base-64": "^0.1.0", "base-64": "^0.1.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"clipboard": "^2.0.4", "clipboard": "^2.0.4",
"codemirror": "^5.46.0", "codemirror": "^5.54.0",
"diff-dom": "^4.1.3", "diff-dom": "^4.1.3",
"emojify.js": "^1.1.0", "emojify.js": "^1.1.0",
"fancy-log": "^1.3.3", "fancy-log": "^1.3.3",
"jquery": "^3.2.1", "jquery": "^3.5.1",
"jquery-scroll-lock": "^3.1.3", "jquery-scroll-lock": "^3.1.3",
"jquery.easing": "^1.4.1", "jquery.easing": "^1.4.1",
"jquery.transit": "^0.9.12", "jquery.transit": "^0.9.12",
"katex": "^0.11.1", "katex": "^0.11.1",
"lodash": "^4.17.13", "lodash": "^4.17.13",
"mini-css-extract-plugin": "^0.9.0", "mini-css-extract-plugin": "^0.9.0",
"moment": "^2.24.0", "moment": "^2.26.0",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pickadate": "^3.6.4", "pickadate": "^3.6.4",
@@ -103,13 +103,13 @@
"tether-drop": "^1.4.2", "tether-drop": "^1.4.2",
"timeago-react": "^3.0.0", "timeago-react": "^3.0.0",
"timeago.js": "^4.0.2", "timeago.js": "^4.0.2",
"uuid": "^7.0.3", "uuid": "^8.1.0",
"vj-simplemde": "0.0.8" "vj-simplemde": "0.0.8"
}, },
"scripts": { "scripts": {
"build": "node build", "build": "node build",
"build:production": "node build --production", "build:production": "node build --production",
"lint": "eslint --fix ." "lint": "eslint components constant pages utils --fix"
}, },
"babel": { "babel": {
"plugins": [ "plugins": [
+1259 -811
View File
File diff suppressed because it is too large. Load diff