ducky/web

Paddy 2015-07-07 Parent:0340f522bce9

16:5d47855181e1 Go to Latest

ducky/web/package.json

Make production builds possible. Our production builds were erroring out, making it hard to deploy. This fixes things so that our production builds succeed, though I'm lying if I say I understand all the reasoning behind it. The major reasoning seems to be "BUGS".

History
     1.1 --- a/package.json	Fri Jul 03 20:00:45 2015 -0400
     1.2 +++ b/package.json	Tue Jul 07 21:16:30 2015 -0400
     1.3 @@ -14,8 +14,8 @@
     1.4      "andlog": "^1.0.0",
     1.5      "babel": "^5.6.14",
     1.6      "babel-loader": "^5.0.0",
     1.7 -    "css-loader": "^0.12.0",
     1.8 -    "extract-text-webpack-plugin": "^0.7.0",
     1.9 +    "css-loader": "~0.14.0",
    1.10 +    "extract-text-webpack-plugin": "~0.8.2",
    1.11      "file-loader": "^0.8.1",
    1.12      "find-root": "^0.1.1",
    1.13      "jwt-decode": "^1.1.0",
    1.14 @@ -35,7 +35,7 @@
    1.15      "sass-loader": "0.4.2",
    1.16      "style-loader": "^0.12.0",
    1.17      "url-loader": "^0.5.5",
    1.18 -    "webpack": "1.8.9",
    1.19 +    "webpack": "^1.9.11",
    1.20      "xhr": "^2.0.2"
    1.21    },
    1.22    "devDependencies": {
    1.23 @@ -43,7 +43,7 @@
    1.24      "webpack-dev-server": "^1.8.2"
    1.25    },
    1.26    "scripts": {
    1.27 -    "build": "NODE_ENV=production webpack",
    1.28 +    "build": "NODE_ENV=production webpack -p",
    1.29      "start": "bin/dev-server",
    1.30      "deploy": "surge ./build/"
    1.31    }