update deps in package.json

This commit is contained in:
Devin Howard 2016-09-25 21:53:40 +08:00
parent 2ade375c20
commit 0df17c4aa0
2 changed files with 8 additions and 8 deletions

View file

@ -19,21 +19,20 @@
"homepage": "https://github.com/metamaps/metamaps#readme", "homepage": "https://github.com/metamaps/metamaps#readme",
"dependencies": { "dependencies": {
"autolinker": "0.17.1", "autolinker": "0.17.1",
"babel-cli": "6.11.4", "babel-cli": "6.14.0",
"babel-loader": "6.2.4", "babel-loader": "6.2.5",
"babel-plugin-lodash": "^3.2.9", "babel-plugin-lodash": "^3.2.9",
"babel-plugin-transform-class-properties": "6.11.5", "babel-plugin-transform-class-properties": "6.11.5",
"babel-preset-es2015": "6.9.0", "babel-preset-es2015": "6.14.0",
"babel-preset-react": "6.11.1", "babel-preset-react": "6.11.1",
"backbone": "1.0.0", "backbone": "1.0.0",
"csv-parse": "1.1.7", "csv-parse": "1.1.7",
"lodash": "4.16.1", "lodash": "4.16.1",
"node-uuid": "1.2.0", "node-uuid": "1.4.7",
"react": "15.3.0", "react": "15.3.2",
"react-dom": "15.3.0", "react-dom": "15.3.2",
"requirejs": "2.1.1",
"socket.io": "0.9.12", "socket.io": "0.9.12",
"webpack": "1.13.1" "webpack": "1.13.2"
}, },
"devDependencies": { "devDependencies": {
"chai": "^3.5.0", "chai": "^3.5.0",

View file

@ -9,6 +9,7 @@ const plugins = [
}) })
] ]
if (NODE_ENV === 'production') { if (NODE_ENV === 'production') {
plugins.push(new webpack.optimize.DedupePlugin())
plugins.push(new webpack.optimize.UglifyJsPlugin({ plugins.push(new webpack.optimize.UglifyJsPlugin({
compress: { warnings: false } compress: { warnings: false }
})) }))