foundation-emails
Advanced tools
Comparing version 2.0.0-rc.4 to 2.0.0
{ | ||
"name": "foundation-emails", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0", | ||
"homepage": "http://foundation.zurb.com/emails", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -154,2 +154,51 @@ var $ = require('gulp-load-plugins')(); | ||
gulp.task('templates', function() { | ||
return gulp.src('templates/*.html') | ||
.pipe($.wrap({ src: 'test/visual/_template.html' })) | ||
.pipe(inky()) | ||
.pipe($.prettify({ indent_size: 2 })) | ||
.pipe(gulp.dest('.templates')) | ||
.pipe($.zip('all-templates.zip')) | ||
.pipe(gulp.dest('.templates')); | ||
}); | ||
gulp.task('download:build:index', function() { | ||
return gulp.src('test/visual/_template.html', { base: 'test/visual' }) | ||
.pipe($.injectString.replace('<%= contents %>', '')) | ||
.pipe($.rename('index.html')) | ||
.pipe(gulp.dest('.download')); | ||
}); | ||
gulp.task('download:build:templates', ['templates'], function() { | ||
return gulp.src('.templates/*.html') | ||
.pipe(gulp.dest('.download/templates')); | ||
}); | ||
gulp.task('download:build:css', ['sass:foundation'], function() { | ||
return gulp.src('_build/assets/css/foundation.css') | ||
.pipe(gulp.dest('.download/css')); | ||
}) | ||
gulp.task('download:build', ['download:build:index', 'download:build:templates', 'download:build:css'], function() { | ||
return gulp.src('.download/**/*') | ||
.pipe($.zip('foundation-emails.zip')) | ||
.pipe(gulp.dest('.')); | ||
}); | ||
gulp.task('download', ['download:build'], function(done) { | ||
return gulp.src('foundation-emails.zip') | ||
.pipe($.rsync({ | ||
hostname: 'deployer@72.32.134.77', | ||
destination: '/home/deployer/sites/foundation-sites-6-marketing/downloads/' | ||
})); | ||
}); | ||
gulp.task('dist', ['sass:foundation'], function() { | ||
return gulp.src('_build/assets/css/foundation.css') | ||
.pipe(gulp.dest('dist')) | ||
.pipe($.cssnano()) | ||
.pipe($.rename('foundation.min.css')) | ||
.pipe(gulp.dest('dist')); | ||
}); | ||
function inliner(css) { | ||
@@ -156,0 +205,0 @@ var css = fs.readFileSync(css).toString(); |
{ | ||
"name": "foundation-emails", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0", | ||
"description": "A framework for responsive emails made by ZURB", | ||
@@ -13,2 +13,5 @@ "keywords": [ | ||
"test:visual": "gulp test", | ||
"deploy:dist": "gulp dist", | ||
"deploy:download": "gulp download", | ||
"deploy:templates": "gulp templates", | ||
"deploy:docs": "gulp deploy:docs" | ||
@@ -28,2 +31,3 @@ }, | ||
"gulp-concat": "^2.6.0", | ||
"gulp-cssnano": "^2.1.1", | ||
"gulp-htmlmin": "^1.3.0", | ||
@@ -34,3 +38,5 @@ "gulp-if": "^2.0.0", | ||
"gulp-load-plugins": "^1.0.0-rc.1", | ||
"gulp-prettify": "^0.4.0", | ||
"gulp-prompt": "^0.1.2", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-rsync": "0.0.5", | ||
@@ -41,3 +47,4 @@ "gulp-sass": "^2.1.0", | ||
"gulp-wrap": "^0.11.0", | ||
"inky": "^1.2.6", | ||
"gulp-zip": "^3.2.0", | ||
"inky": "^1.3.3", | ||
"lazypipe": "^1.0.1", | ||
@@ -44,0 +51,0 @@ "motion-ui": "^1.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
395006
100
2559
1
36
1