Add ability to select torrents, Add UI Store for future UI controls, Add faux start/stop/pause buttons

This commit is contained in:
John F
2015-04-10 00:08:24 -04:00
parent f947f7752b
commit def89fa5b2
22 changed files with 315 additions and 53 deletions
+11 -1
View File
@@ -7,7 +7,8 @@ var gulp = require('gulp'),
browserify = require('browserify'),
watchify = require('watchify'),
reactify = require('reactify'),
source = require('vinyl-source-stream');
source = require('vinyl-source-stream'),
svgmin = require('gulp-svgmin');
var supportedBrowsers = ['last 2 versions', '> 1%', 'ie >= 8', 'Firefox ESR', 'Opera >= 12'],
jsFiles = [];
@@ -76,6 +77,15 @@ gulp.task('scripts', function() {
return rebundle();
});
gulp.task('svg', function() {
return gulp.src(sourceDir + '/scripts/components/icons/icons/*.svg')
.pipe(svgmin())
.pipe(gulp.dest(sourceDir + '/scripts/components/icons/icons'));
});
gulp.task('watch', function () {
gulp.watch(sourceDir + 'scripts/**/*.js', ['scripts', reload]);
gulp.watch(sourceDir + 'sass/**/*.scss', ['styles', reload]);