-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4e68d4
commit 8376b5e
Showing
11 changed files
with
1,270 additions
and
26,965 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
var gulp = require('gulp'); | ||
var babel = require('gulp-babel'); | ||
var rename = require('gulp-rename'); | ||
var uglify = require('gulp-uglify'); | ||
|
||
gulp.task('buildComponents', function () { | ||
return gulp.src('src/app/ReactMaterialUiNotifications.js') | ||
.pipe(babel()) | ||
.pipe(gulp.dest('lib')) | ||
.pipe(rename({ | ||
suffix: '.min' | ||
})) | ||
.pipe(uglify()) | ||
.pipe(gulp.dest('lib')); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
// make a release build | ||
|
||
var gulp = require('gulp'); | ||
var runSequence = require('run-sequence'); | ||
|
||
gulp.task('release', ['browserify', 'copyImages', 'markup', 'minify', 'minifyApp']); | ||
gulp.task('release', ['browserify', 'copyImages', 'markup', 'buildComponents'], function(done) { | ||
runSequence('minifyApp', function() { | ||
done(); | ||
}); | ||
}); |
Oops, something went wrong.