-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version in files
- Loading branch information
Showing
7 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
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,3 @@ | ||
# Dependency directories | ||
node_modules | ||
bower_components |
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,23 @@ | ||
/* | ||
This file in the main entry point for defining Gulp tasks and using Gulp plugins. | ||
Click here to learn more. http://go.microsoft.com/fwlink/?LinkId=518007 | ||
*/ | ||
|
||
var gulp = require('gulp'); | ||
var uglify = require('gulp-uglify'); | ||
var plumber = require('gulp-plumber'); | ||
var concat = require('gulp-concat'); | ||
var rename = require('gulp-rename'); | ||
var sourcemaps = require('gulp-sourcemaps'); | ||
|
||
|
||
|
||
gulp.task('default', function () { | ||
return gulp.src('scripts/jquery.rateit.js') | ||
.pipe(sourcemaps.init()) | ||
.pipe(plumber()) | ||
.pipe(uglify({ preserveComments: 'license' })) | ||
.pipe(rename({ extname: '.min.js' })) | ||
.pipe(sourcemaps.write('')) | ||
.pipe(gulp.dest('scripts')) // save .min.js | ||
}); |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.