91 lines
2.8 KiB
Diff
91 lines
2.8 KiB
Diff
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -12,60 +12,26 @@
|
|
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
|
|
},
|
|
"dependencies": {
|
|
- "axios": "^0.16.2",
|
|
- "babel-core": "^6.22.1",
|
|
- "babel-eslint": "^7.2.1",
|
|
- "babel-loader": "^7.1.1",
|
|
- "babel-plugin-transform-define": "^1.2.0",
|
|
- "babel-preset-latest": "^6.24.0",
|
|
- "babel-preset-stage-2": "^6.22.0",
|
|
- "bootstrap-sass": "^3.3.6",
|
|
"compression-webpack-plugin": "^0.3.2",
|
|
- "copy-webpack-plugin": "^4.0.1",
|
|
- "core-js": "^2.4.1",
|
|
"cropper": "^2.3.0",
|
|
"css-loader": "^0.28.0",
|
|
- "d3": "^3.5.11",
|
|
"deckar01-task_list": "^2.0.0",
|
|
"document-register-element": "^1.3.0",
|
|
"dropzone": "^4.2.0",
|
|
"emoji-unicode-version": "^0.2.1",
|
|
- "eslint-plugin-html": "^2.0.1",
|
|
- "exports-loader": "^0.6.4",
|
|
- "file-loader": "^0.11.1",
|
|
- "imports-loader": "^0.7.1",
|
|
- "jed": "^1.1.1",
|
|
- "jquery": "^2.2.1",
|
|
- "jquery-ujs": "^1.2.1",
|
|
"js-cookie": "^2.1.3",
|
|
- "jszip": "^3.1.3",
|
|
- "jszip-utils": "^0.0.2",
|
|
- "marked": "^0.3.6",
|
|
"monaco-editor": "0.8.3",
|
|
- "mousetrap": "^1.4.6",
|
|
"name-all-modules-plugin": "^1.0.1",
|
|
- "pikaday": "^1.5.1",
|
|
"prismjs": "^1.6.0",
|
|
"raphael": "^2.2.7",
|
|
"raven-js": "^3.14.0",
|
|
- "raw-loader": "^0.5.1",
|
|
"react-dev-utils": "^0.5.2",
|
|
"select2": "3.5.2-browserify",
|
|
"sql.js": "^0.4.0",
|
|
- "three": "^0.84.0",
|
|
- "three-orbit-controls": "^82.1.0",
|
|
- "three-stl-loader": "^1.0.4",
|
|
"timeago.js": "^2.0.5",
|
|
- "underscore": "^1.8.3",
|
|
- "url-loader": "^0.5.8",
|
|
"visibilityjs": "^1.2.4",
|
|
"vue": "^2.2.6",
|
|
- "vue-loader": "^11.3.4",
|
|
- "vue-resource": "^1.3.4",
|
|
- "vue-template-compiler": "^2.2.6",
|
|
- "webpack": "^3.4.0",
|
|
- "webpack-bundle-analyzer": "^2.8.2",
|
|
- "webpack-stats-plugin": "^0.1.5"
|
|
+ "vue-loader": "^11.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-istanbul": "^4.0.0",
|
|
--- a/config/webpack.config.js
|
|
+++ b/config/webpack.config.js
|
|
@@ -7,7 +7,6 @@
|
|
var CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
var CompressionPlugin = require('compression-webpack-plugin');
|
|
var NameAllModulesPlugin = require('name-all-modules-plugin');
|
|
-var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
|
var WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
|
|
|
|
var ROOT_PATH = '/usr/share/gitlab';
|
|
@@ -304,16 +303,4 @@
|
|
}
|
|
}
|
|
|
|
-if (WEBPACK_REPORT) {
|
|
- config.plugins.push(
|
|
- new BundleAnalyzerPlugin({
|
|
- analyzerMode: 'static',
|
|
- generateStatsFile: true,
|
|
- openAnalyzer: false,
|
|
- reportFilename: path.join(ROOT_PATH, 'webpack-report/index.html'),
|
|
- statsFilename: path.join(ROOT_PATH, 'webpack-report/stats.json'),
|
|
- })
|
|
- );
|
|
-}
|
|
-
|
|
module.exports = config;
|