Skip to content

Commit

Permalink
Merge pull request #1 from evindor/master
Browse files Browse the repository at this point in the history
Add gulp and babel preprocessing
  • Loading branch information
mathieudutour committed May 13, 2015
2 parents c49523e + ce89170 commit f333734
Show file tree
Hide file tree
Showing 5 changed files with 741 additions and 262 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ Hide the options.

Look at [react-swipe-to-reveal-options.css](https://github.com/mathieudutour/react-swipe-to-reveal-options/blob/master/react-swipe-to-reveal-options.css) for an idea on how to style this component.

## Contribute

To build form source:
```
gulp
```

---

MIT Licensed
8 changes: 8 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var gulp = require("gulp");
var babel = require("gulp-babel");

gulp.task("default", function () {
return gulp.src("src/*.js")
.pipe(babel())
.pipe(gulp.dest("./"));
});
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-swipe-to-reveal-options",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple react.js component for a swipe-to-reveal-option item.",
"main": "react-swipe-to-reveal-options.js",
"dependencies": {
Expand All @@ -23,5 +23,9 @@
"bugs": {
"url": "https://github.com/mathieudutour/react-swipe-to-reveal-options/issues"
},
"homepage": "https://github.com/mathieudutour/react-swipe-to-reveal-options"
"homepage": "https://github.com/mathieudutour/react-swipe-to-reveal-options",
"devDependencies": {
"gulp": "^3.8.11",
"gulp-babel": "^5.1.0"
}
}
Loading

0 comments on commit f333734

Please sign in to comment.