Skip to content

Commit

Permalink
Updates to the latest babel configurations (babel-preset-env)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkTankShark committed Apr 21, 2017
1 parent 3c9511b commit 3cea2b2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015", "react"]
}
"presets": ["env", "react"]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ Below are is a sample of how to setup the loaders:
2. `npm test`

## History
* 0.3.0 - Updates to the latest babel configurations (babel-preset-env)
* 0.2.4 - Updates Jests, Travis CI and Coveralls as well as minor ESLint and React warning messages
* 0.2.3 - Added Internet Explorer(10 & 11) onResize event support
* 0.2.2 - Added more fixes for narrow screens
Expand Down
20 changes: 10 additions & 10 deletions dist/ShipComponentsGrid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ShipComponentsGrid.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "ship-components-grid",
"version": "0.2.4",
"version": "0.3.0",
"description": "React Masonry Component",
"main": "src/Grid.js",
"scripts": {
"start": "grunt server",
"build": "grunt build",
"build": "npm run test && grunt build",
"lint": "./node_modules/eslint/bin/eslint.js src/*.jsx",
"test": "grunt lint && ./node_modules/jest-cli/bin/jest.js --coverage",
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v"
Expand Down Expand Up @@ -43,7 +43,7 @@
"babel-eslint": "^6.1.2",
"babel-jest": "^14.1.0",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.13.2",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.11.1",
"classnames": "^2.2.5",
"coveralls": "^2.11.12",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/Grid-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jest.unmock('../Grid');
jest.unmock('masonry-layout');

import React from 'react';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import Grid from '../Grid';

describe('Grid', function(){
Expand Down

0 comments on commit 3cea2b2

Please sign in to comment.