diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9cfb1f6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+ - "6"
+script: npm run lint
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 36d57c2..e48fa35 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,9 +12,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Changed
+## [v0.1.3] - 2016-11-11
+
+### Added
+
+- Integrated with `travis-ci` for easier community contributions.
+
+### Changed
+
- Fixed syntax errors in the README example.
+- Cleared all linting errors.
-## [v0.1.2] - 2016-11-10
+## [v0.1.2] - 2016-11-09
### Added
@@ -24,7 +33,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Made the example in the README more elaborate.
-## [v0.1.1] - 2016-11-10
+## [v0.1.1] - 2016-11-09
### Added
@@ -35,7 +44,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Made progress on code comments
- Various linting
-[Unreleased]: https://github.com/JSBros/hedron/compare/v0.1.2...master
+[Unreleased]: https://github.com/JSBros/hedron/compare/v0.1.3...master
+[v0.1.3]: https://github.com/JSBros/hedron/compare/v0.1.2...v0.1.3
[v0.1.2]: https://github.com/JSBros/hedron/compare/v0.1.1...v0.1.2
[v0.1.1]: https://github.com/JSBros/hedron/compare/v0.1.0...v0.1.1
diff --git a/package.json b/package.json
index 884d9f8..8d47733 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,13 @@
{
"name": "hedron",
- "version": "0.1.2",
- "description": "A no-frills flex-box grid system for React.",
+ "version": "0.1.3",
+ "description": "A no-frills flexbox grid system for React.",
"main": "dist/hedron.js",
+ "author": {
+ "name": "Garet McKinley",
+ "email": "gem@jsb.ro",
+ "url": "https://github.com/garetmckinley"
+ },
"scripts": {
"build": "npm run build:lib && npm run build:dist",
"build:lib": "babel src --out-dir lib",
@@ -14,7 +19,7 @@
"bugs": {
"url": "https://github.com/garetmckinley/hedron/issues"
},
- "homepage": "https://garetmckinley.github.io/hedron",
+ "homepage": "http://jsb.ro/hedron",
"repository": {
"type": "git",
"url": "git+https://github.com/garetmckinley/hedron.git"
diff --git a/src/components/Row.js b/src/components/Row.js
index 0e1254b..a93ebb0 100644
--- a/src/components/Row.js
+++ b/src/components/Row.js
@@ -8,13 +8,14 @@ function RowContainer(props) {
const { children, divisions, ...rest } = props;
const scaledChildren = React.Children.map(children,
child => React.cloneElement(child, {
- divisions: divisions
+ divisions
})
);
- return ;
+ return ;
}
RowContainer.propTypes = {
+ children: React.PropTypes.element,
className: React.PropTypes.string,
divisions: React.PropTypes.number
};
diff --git a/src/index.js b/src/index.js
index 1c556de..e19196f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -3,8 +3,8 @@ import Row from './components/Row';
import { divvy, media } from './utils';
const utils = {
- [divvy]: divvy,
- [media]: media
+ divvy,
+ media
};
export { Column, Row, utils };