Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
12 additions
and
4 deletions.
-
+3
−1
circle.yml
-
+2
−2
package.json
-
+7
−1
webpack.config.js
|
@@ -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: |
|
|
|
@@ -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", |
|
@@ -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" |
|
|
|
|
@@ -1,6 +1,7 @@ |
|
|
'use strict'; |
|
|
|
|
|
const ExtractTextPlugin = require('extract-text-webpack-plugin'); |
|
|
const webpack = require('webpack'); |
|
|
|
|
|
module.exports = { |
|
|
entry: './app/index.js', |
|
@@ -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 } |
|
|
}; |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.