...
 
Commits (2)
......@@ -5,8 +5,38 @@
"main": "index.js",
"author": "FloatingGhost",
"license": "MIT",
"scripts": {
"build": "webpack",
"build:prod": "webpack -p",
"dev": "webpack -w",
"lint": "eslint './src/**'"
},
"dependencies": {
"connected-react-router": "^6.1.0",
"emoji-mart": "^2.9.2",
"escape-unicode": "^0.2.0",
"loadable-components": "^2.2.3",
"moment": "^2.23.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-infinite-scroller": "^1.2.4",
"react-redux": "^6.0.0",
"react-router-dom": "^4.3.1",
"react-toastify": "^4.5.2",
"react-tooltip": "^3.9.1",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-saga": "^0.16.2",
"redux-thunk": "^2.3.0",
"semantic-ui-less": "^2.4.1",
"semantic-ui-react": "^0.84.0",
"url-search-params": "^1.1.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^7.1.2",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
......@@ -15,46 +45,27 @@
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"clean-webpack-plugin": "^1.0.0",
"connected-react-router": "^6.1.0",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0",
"dotenv": "^6.2.0",
"emoji-mart": "^2.9.2",
"escape-unicode": "^0.2.0",
"eslint": "^6.7.0",
"eslint-plugin-jest": "^23.0.4",
"eslint-plugin-react": "^7.16.0",
"file-loader": "^3.0.1",
"hard-source-webpack-plugin": "^0.13.1",
"html-webpack-plugin": "^3.2.0",
"less": "^2.7.3",
"less-loader": "^4.1.0",
"loadable-components": "^2.2.3",
"mini-css-extract-plugin": "^0.5.0",
"moment": "^2.23.0",
"node-sass": "^4.11.0",
"raw-loader": "^1.0.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-infinite-scroller": "^1.2.4",
"react-redux": "^6.0.0",
"react-router-dom": "^4.3.1",
"react-toastify": "^4.5.2",
"react-tooltip": "^3.9.1",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-saga": "^0.16.2",
"redux-thunk": "^2.3.0",
"scss": "^0.2.4",
"semantic-ui-less": "^2.4.1",
"semantic-ui-react": "^0.84.0",
"style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.5",
"url-loader": "^1.1.2",
"url-search-params": "^1.1.0",
"uuid": "^3.3.2",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2",
"webpack-manifest-plugin": "^2.0.4",
"webpack-md5-hash": "^0.0.6",
"webpack-merge": "^4.1.5"
}
}
......@@ -9,7 +9,6 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const SWPrecacheWebpackPlugin = require("sw-precache-webpack-plugin");
const ManifestPlugin = require("webpack-manifest-plugin");
const HtmlWebpackPlugin = require('html-webpack-plugin');
const WebpackMd5Hash = require('webpack-md5-hash');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
......@@ -26,8 +25,6 @@ const extract_text = new MiniCssExtractPlugin({
filename: "[name].[chunkhash].css"
});
const md5 = new WebpackMd5Hash();
const html = new HtmlWebpackPlugin({
inject: false,
hash: true,
......@@ -130,7 +127,7 @@ switch(process.env.NODE_ENV) {
common,
{ mode: "production" },
{ devtool: "source-map" },
{ plugins: [ vars, extract_text, manifest, sw, moment, html, md5, copy, clean ]
{ plugins: [ vars, extract_text, manifest, sw, moment, html, copy, clean ]
}
);
break;
......@@ -140,7 +137,7 @@ switch(process.env.NODE_ENV) {
common,
{ mode: "development" },
{ devtool: "cheap-module-source-map" },
{ plugins: [ vars, extract_text, manifest, sw, moment, html, md5, copy, clean, new HardSourceWebpackPlugin() ] }
{ plugins: [ vars, extract_text, manifest, sw, moment, html, copy, clean, new HardSourceWebpackPlugin() ] }
);
break;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.