Skip to content
Permalink
Browse files

Merge pull request #716 from nextstrain/update-packages

Update packages
  • Loading branch information...
jameshadfield committed Apr 23, 2019
2 parents b011d4f + 68d0252 commit 66279c21bacf0894eacc072dd24449f1a7e3b0a0
@@ -1,5 +1,6 @@
---
extends: "airbnb"
plugins: ["react-hooks"]
parser: "babel-eslint"
rules:
camelcase: off # require camel case names
@@ -47,6 +48,8 @@ rules:
quote-props: ["error", "as-needed"]
prefer-const: ["error", {"destructuring": "all"}]
indent: ["error", 2, {"MemberExpression": "off", "SwitchCase": 1}]
react-hooks/rules-of-hooks: "error"
react-hooks/exhaustive-deps: "warn"
parserOptions:
ecmaVersion: 6
sourceType: module

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -45,14 +45,11 @@
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-polyfill": "^6.26.0",
"binomial": "^0.2.0",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"chalk": "^2.4.1",
"color": "^0.7.3",
"compression": "^1.7.3",
"compression-webpack-plugin": "^1.1.11",
"create-react-class": "^15.6.0",
"css-loader": "^0.26.1",
"css-loader": "^2.1.1",
"d3-array": "^1.2.0",
"d3-axis": "^1.0.6",
"d3-brush": "^1.0.4",
@@ -78,6 +75,7 @@
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.2.1",
"eslint-plugin-react-hooks": "^1.6.0",
"express": "^4.16.3",
"express-naked-redirect": "^0.1.2",
"express-static-gzip": "^0.2.2",
@@ -87,20 +85,19 @@
"leaflet-image": "^0.4.0",
"linspace": "^1.0.0",
"lodash": "^4.17.11",
"marked": "^0.5.0",
"mocha": "^5.2.0",
"marked": "^0.6.2",
"mousetrap": "^1.6.2",
"node-fetch": "^2.1.2",
"outer-product": "0.0.4",
"papaparse": "^4.3.5",
"prettyjson": "^1.2.1",
"prop-types": "^15.6.0",
"query-string": "^4.2.3",
"react": "^16.6.0",
"react": "^16.8.6",
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^16.6.0",
"react-dom": "^16.8.6",
"react-ga": "^2.2.0",
"react-hot-loader": "^4.3.12",
"react-hot-loader": "^4.8.4",
"react-redux": "^5.1.0",
"react-select": "^1.0.0-rc.5",
"react-tweet-embed": "^1.1.0",
@@ -111,14 +108,17 @@
"run-sequence": "~0.3.6",
"style-loader": "^0.13.2",
"styled-components": "^4.0.3",
"webpack": "^4.16.5",
"webpack": "^4.30.0",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.24.3",
"whatwg-fetch": "^0.10.1",
"yaml-front-matter": "^4.0.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"mocha": "^5.2.0",
"webpack-bundle-analyzer": "^3.0.3"
}
}

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,6 +1,6 @@
import React, { lazy, Suspense } from 'react';
import { connect } from "react-redux";
import { hot } from 'react-hot-loader';
import { hot } from 'react-hot-loader/root';
import Monitor from "./components/framework/monitor";
import DatasetLoader from "./components/datasetLoader";
import Spinner from "./components/framework/spinner";
@@ -54,4 +54,4 @@ const Root = () => {
);
};

export default hot(module)(Root);
export default hot(Root);
@@ -12,7 +12,7 @@ const configureStore = (initialState) => {
];
const composedEnhancers = compose(
applyMiddleware(...middleware),
window.devToolsExtension ? window.devToolsExtension() : (f) => f
window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : (f) => f
);
const store = createStore(rootReducer, initialState, composedEnhancers);
if (process.env.NODE_ENV !== 'production' && module.hot) {
@@ -25,4 +25,4 @@ const configureStore = (initialState) => {
return store;
};

export default configureStore;
export default configureStore;
@@ -1,9 +1,7 @@
/* eslint no-unused-expressions: off */

/* HOW TO RUN THESE TESTS?
./node_modules/mocha/bin/mocha
OR
npm run test
npx mocha
*/

const chai = require('chai');

0 comments on commit 66279c2

Please sign in to comment.
You can’t perform that action at this time.