Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Nov 1, 2015
1 parent e9580bc commit 198d421
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"url": "https://github.com/echenley/react-news.git"
},
"dependencies": {
"babel-runtime": "^5.8.24",
"babel-preset-es2015": "^6.0.14",
"babel-preset-react": "^6.0.14",
"babel-preset-stage-2": "^6.0.14",
"babel-runtime": "^6.0.14",
"classnames": "^2.1.3",
"firebase": "^2.2.9",
"md5": "^2.0.0",
Expand All @@ -19,18 +22,18 @@
},
"devDependencies": {
"autoprefixer": "^6.0.2",
"babel": "^5.8.23",
"babel": "^6.0.14",
"babel-eslint": "^4.1.2",
"babel-loader": "^5.3.2",
"babel-loader": "^6.0.0",
"chai": "^3.2.0",
"css-loader": "^0.19.0",
"css-loader": "^0.21.0",
"eslint": "^1.4.3",
"eslint-friendly-formatter": "^1.2.2",
"eslint-loader": "^1.0.0",
"eslint-plugin-react": "^3.4.1",
"html-webpack-plugin": "^1.6.1",
"istanbul-instrumenter-loader": "^0.1.3",
"jsdom": "^6.5.0",
"jsdom": "^7.0.2",
"karma": "^0.13.9",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^0.2.0",
Expand All @@ -47,13 +50,13 @@
"mocha": "^2.3.2",
"null-loader": "^0.1.1",
"phantomjs": "^1.9.18",
"postcss-loader": "^0.6.0",
"postcss-loader": "^0.7.0",
"react-addons-test-utils": "^0.14.0",
"react-hot-loader": "^1.3.0",
"sass-loader": "^3.0.0",
"sinon": "^1.16.1",
"sinon-chai": "^2.8.0",
"style-loader": "^0.12.4",
"style-loader": "^0.13.0",
"svg-inline-loader": "^0.3.0",
"webpack": "^1.12.2",
"webpack-dev-server": "^1.11.0"
Expand Down
9 changes: 2 additions & 7 deletions src/js/util/constants.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const errorMessages = {
export const errorMessages = {
LOGIN_REQUIRED: 'You have to login to do that.',
INVALID_EMAIL: 'Invalid email address.',
INVALID_PASSWORD: 'Invalid password.',
Expand All @@ -13,9 +13,4 @@ const errorMessages = {
generic: 'Something went wrong.'
};

const constants = {
errorMessages: errorMessages,
firebaseUrl: 'https://resplendent-fire-4810.firebaseio.com/'
};

export default constants;
export const firebaseUrl = 'https://resplendent-fire-4810.firebaseio.com/';
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
{
test: /\.(js|jsx)$/,
include: path.join(__dirname, 'src'),
loaders: ['react-hot', 'babel?optional[]=runtime', 'eslint']
loaders: ['react-hot', 'babel?presets[]=es2015&presets[]=stage-2&presets[]=react', 'eslint']
},
{
test: /\.scss$/,
Expand Down

0 comments on commit 198d421

Please sign in to comment.