...
 
Commits (2)
...@@ -5,8 +5,38 @@ ...@@ -5,8 +5,38 @@
"main": "index.js", "main": "index.js",
"author": "FloatingGhost", "author": "FloatingGhost",
"license": "MIT", "license": "MIT",
"scripts": {
"build": "webpack",
"build:prod": "webpack -p",
"dev": "webpack -w",
"lint": "eslint './src/**'"
},
"dependencies": { "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-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^7.1.2", "babel-loader": "^7.1.2",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0", "babel-preset-env": "^1.6.0",
...@@ -15,46 +45,27 @@ ...@@ -15,46 +45,27 @@
"babel-preset-stage-0": "^6.24.1", "babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.24.1", "babel-preset-stage-1": "^6.24.1",
"clean-webpack-plugin": "^1.0.0", "clean-webpack-plugin": "^1.0.0",
"connected-react-router": "^6.1.0",
"copy-webpack-plugin": "^4.6.0", "copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0", "css-loader": "^2.1.0",
"dotenv": "^6.2.0", "dotenv": "^6.2.0",
"emoji-mart": "^2.9.2", "eslint": "^6.7.0",
"escape-unicode": "^0.2.0", "eslint-plugin-jest": "^23.0.4",
"eslint-plugin-react": "^7.16.0",
"file-loader": "^3.0.1", "file-loader": "^3.0.1",
"hard-source-webpack-plugin": "^0.13.1", "hard-source-webpack-plugin": "^0.13.1",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"less": "^2.7.3", "less": "^2.7.3",
"less-loader": "^4.1.0", "less-loader": "^4.1.0",
"loadable-components": "^2.2.3",
"mini-css-extract-plugin": "^0.5.0", "mini-css-extract-plugin": "^0.5.0",
"moment": "^2.23.0",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"raw-loader": "^1.0.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", "scss": "^0.2.4",
"semantic-ui-less": "^2.4.1",
"semantic-ui-react": "^0.84.0",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.5", "sw-precache-webpack-plugin": "^0.11.5",
"url-loader": "^1.1.2", "url-loader": "^1.1.2",
"url-search-params": "^1.1.0",
"uuid": "^3.3.2",
"webpack": "^4.28.3", "webpack": "^4.28.3",
"webpack-cli": "^3.1.2", "webpack-cli": "^3.1.2",
"webpack-manifest-plugin": "^2.0.4", "webpack-manifest-plugin": "^2.0.4",
"webpack-md5-hash": "^0.0.6",
"webpack-merge": "^4.1.5" "webpack-merge": "^4.1.5"
} }
} }
...@@ -9,7 +9,6 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin"); ...@@ -9,7 +9,6 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const SWPrecacheWebpackPlugin = require("sw-precache-webpack-plugin"); const SWPrecacheWebpackPlugin = require("sw-precache-webpack-plugin");
const ManifestPlugin = require("webpack-manifest-plugin"); const ManifestPlugin = require("webpack-manifest-plugin");
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
const WebpackMd5Hash = require('webpack-md5-hash');
const CleanWebpackPlugin = require('clean-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin');
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
...@@ -26,8 +25,6 @@ const extract_text = new MiniCssExtractPlugin({ ...@@ -26,8 +25,6 @@ const extract_text = new MiniCssExtractPlugin({
filename: "[name].[chunkhash].css" filename: "[name].[chunkhash].css"
}); });
const md5 = new WebpackMd5Hash();
const html = new HtmlWebpackPlugin({ const html = new HtmlWebpackPlugin({
inject: false, inject: false,
hash: true, hash: true,
...@@ -130,7 +127,7 @@ switch(process.env.NODE_ENV) { ...@@ -130,7 +127,7 @@ switch(process.env.NODE_ENV) {
common, common,
{ mode: "production" }, { mode: "production" },
{ devtool: "source-map" }, { 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; break;
...@@ -140,7 +137,7 @@ switch(process.env.NODE_ENV) { ...@@ -140,7 +137,7 @@ switch(process.env.NODE_ENV) {
common, common,
{ mode: "development" }, { mode: "development" },
{ devtool: "cheap-module-source-map" }, { 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; break;
} }
......
This diff is collapsed.