| Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
|
| diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6eaead88b6312bc0c779b51c20c4d45f878377ab
|
| --- /dev/null
|
| +++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
|
| @@ -0,0 +1,26 @@
|
| +var gulp = require('gulp'),
|
| + qunit = require("gulp-qunit"),
|
| + uglify = require('gulp-uglify'),
|
| + clean = require('gulp-clean'),
|
| + rename = require('gulp-rename'),
|
| + SRC = 'lib/underscore.string.js',
|
| + DEST = 'dist',
|
| + MIN_FILE = 'underscore.string.min.js',
|
| + TEST_SUITES = ['test/test.html', 'test/test_underscore/index.html'];
|
| +
|
| +gulp.task('test', function() {
|
| + return gulp.src(TEST_SUITES)
|
| + .pipe(qunit());
|
| +});
|
| +
|
| +gulp.task('clean', function() {
|
| + return gulp.src(DEST)
|
| + .pipe(clean());
|
| +});
|
| +
|
| +gulp.task('build', ['test', 'clean'], function() {
|
| + return gulp.src(SRC)
|
| + .pipe(uglify())
|
| + .pipe(rename(MIN_FILE))
|
| + .pipe(gulp.dest(DEST));
|
| +});
|
|
|