[web] update dependencies

This commit is contained in:
Maximilian Hils 2017-06-12 13:02:15 +02:00
parent 99eca6dfed
commit c4804b5fe1
4 changed files with 896 additions and 577 deletions

View File

@ -1,3 +1,6 @@
{ {
"parser": "babel-eslint" "parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
}
} }

View File

@ -27,32 +27,32 @@
"classnames": "^2.2.5", "classnames": "^2.2.5",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"mock-xmlhttprequest": "^1.1.0", "mock-xmlhttprequest": "^1.1.0",
"prop-types": "^15.5.0", "prop-types": "^15.5.10",
"react": "^15.4.2", "react": "^15.5.4",
"react-codemirror": "^0.3.0", "react-codemirror": "^1.0.0",
"react-dom": "^15.4.2", "react-dom": "^15.4.2",
"react-redux": "^5.0.2", "react-redux": "^5.0.5",
"react-test-renderer": "^15.5.4", "react-test-renderer": "^15.5.4",
"redux": "^3.6.0", "redux": "^3.6.0",
"redux-logger": "^2.8.1", "redux-logger": "^3.0.6",
"redux-mock-store": "^1.2.3", "redux-mock-store": "^1.2.3",
"redux-thunk": "^2.2.0", "redux-thunk": "^2.2.0",
"shallowequal": "^0.2.2" "shallowequal": "^1.0.1"
}, },
"devDependencies": { "devDependencies": {
"babel-core": "^6.23.1", "babel-core": "^6.25.0",
"babel-eslint": "^7.1.1", "babel-eslint": "^7.2.3",
"babel-jest": "^19.0.0", "babel-jest": "^20.0.3",
"babel-plugin-transform-class-properties": "^6.23.0", "babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.22.0", "babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.23.0", "babel-preset-react": "^6.24.1",
"babelify": "^7.3.0", "babelify": "^7.3.0",
"browserify": "^14.1.0", "browserify": "^14.4.0",
"envify": "^4.0.0", "envify": "^4.0.0",
"eslint": "^3.16.0", "eslint": "^4.0.0",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-clean-css": "^3.0.3", "gulp-clean-css": "^3.4.1",
"gulp-eslint": "^3.0.1", "gulp-eslint": "^3.0.1",
"gulp-less": "^3.3.0", "gulp-less": "^3.3.0",
"gulp-livereload": "^3.8.1", "gulp-livereload": "^3.8.1",
@ -60,10 +60,10 @@
"gulp-peg": "^0.2.0", "gulp-peg": "^0.2.0",
"gulp-plumber": "^1.1.0", "gulp-plumber": "^1.1.0",
"gulp-rename": "^1.2.2", "gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^2.4.1", "gulp-sourcemaps": "^2.6.0",
"gulp-util": "^3.0.8", "gulp-util": "^3.0.8",
"jest": "^19.0.0", "jest": "^20.0.4",
"react-addons-test-utils": "^15.4.2", "react-addons-test-utils": "^15.5.1",
"uglifyify": "^3.0.4", "uglifyify": "^3.0.4",
"vinyl-buffer": "^1.0.0", "vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0", "vinyl-source-stream": "^1.1.0",

View File

@ -9,13 +9,13 @@ import rootReducer from './ducks/index'
import { add as addLog } from './ducks/eventLog' import { add as addLog } from './ducks/eventLog'
import useUrlState from './urlState' import useUrlState from './urlState'
import WebSocketBackend from './backends/websocket' import WebSocketBackend from './backends/websocket'
import { logger } from 'redux-logger'
const middlewares = [thunk]; const middlewares = [thunk];
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
const createLogger = require('redux-logger'); middlewares.push(logger);
middlewares.push(createLogger());
} }
// logger must be last // logger must be last

File diff suppressed because it is too large Load Diff