Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles committed Jan 26, 2016
1 parent fbe9972 commit bf1e3a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ machine:
- docker
test:
override:
- npm run ci
- npm run ci:
environment:
NODE_ENV: production
- mkdir -p $CIRCLE_TEST_REPORTS/integration
- cp integration-test-results.xml $CIRCLE_TEST_REPORTS/integration/results.xml
deployment:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"bootstrap": "^3.3.6",
"css-loader": "^0.23.1",
"eslint": "^1.10.3",
"eslint-plugin-react": "^3.16.0",
"eslint-plugin-react": "^3.16.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"istanbul": "^0.4.2",
Expand Down Expand Up @@ -68,7 +68,7 @@
"react-bootstrap": "^0.28.2",
"react-dom": "^0.14.6",
"react-redux": "^4.0.6",
"redux": "^3.0.5",
"redux": "^3.0.6",
"redux-thunk": "^1.0.3",
"superagent": "^1.7.1",
"xml2js": "^0.4.16"
Expand Down
8 changes: 7 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const ExtractTextPlugin = require('extract-text-webpack-plugin');
const webpack = require('webpack');

module.exports = {
entry: './app/index.js',
Expand All @@ -24,6 +25,11 @@ module.exports = {
{ test: /\.svg$/, loader: 'file-loader' }
]
},
plugins: [new ExtractTextPlugin('bundle.css')],
plugins: [
new ExtractTextPlugin('bundle.css'),
new webpack.DefinePlugin({
'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'development') } // eslint-disable-line no-process-env
})
],
resolve: { root: __dirname }
};

0 comments on commit bf1e3a8

Please sign in to comment.