tachyons-font-family
Advanced tools
Comparing version 0.2.2 to 1.0.0
@@ -1,39 +0,29 @@ | ||
// Gulp tasks for Tachyons | ||
// Load plugins | ||
var gulp = require('gulp'), | ||
watch = require('gulp-watch'), | ||
prefix = require('gulp-autoprefixer'), | ||
minifyCSS = require('gulp-minify-css'), | ||
sass = require('gulp-sass'), | ||
rename = require('gulp-rename'), | ||
basswork = require('gulp-basswork'), | ||
minifyCss = require('gulp-minify-css'), | ||
transform = require('vinyl-transform'), | ||
size = require('gulp-size'), | ||
rename = require('gulp-rename'); | ||
webserver = require('gulp-webserver'); | ||
// Task that compiles scss files down to good old css | ||
gulp.task('pre-process', function(){ | ||
gulp.src('./font-family.scss') | ||
.pipe(watch('./font-family.scss', function(files) { | ||
return files.pipe(sass()) | ||
.pipe(size({gzip: false, showFiles: true, title:'un-prefixed css'})) | ||
.pipe(size({gzip: true, showFiles: true, title:'un-prefixed gzipped css'})) | ||
.pipe(prefix()) | ||
.pipe(size({gzip: false, showFiles: true, title:'prefixed css'})) | ||
.pipe(size({gzip: true, showFiles: true, title:'prefixed css'})) | ||
.pipe(gulp.dest('./')) | ||
.pipe(minifyCSS()) | ||
.pipe(rename('font-family.min.css')) | ||
.pipe(gulp.dest('./')) | ||
.pipe(size({gzip: false, showFiles: true, title:'minified css'})) | ||
.pipe(size({gzip: true, showFiles: true, title:'minified css'})) | ||
})); | ||
gulp.task('css', function() { | ||
gulp.src('./src/tachyons-font-family.css') | ||
.pipe(basswork()) | ||
.pipe(size({gzip: true, showFiles: true, title:'prefixed'})) | ||
.pipe(gulp.dest('./')) | ||
.pipe(minifyCss()) | ||
.pipe(size({gzip: true, showFiles: true, title:'minified'})) | ||
.pipe(rename({ extname: '.min.css' })) | ||
.pipe(gulp.dest('./')); | ||
}); | ||
/* | ||
DEFAULT TASK | ||
*/ | ||
gulp.task('serve', function() { | ||
gulp.src('.') | ||
.pipe(webserver({})); | ||
}); | ||
gulp.task('default', ['pre-process'], function(){ | ||
gulp.start('pre-process'); | ||
gulp.watch('*.scss', ['pre-process']); | ||
gulp.task('default', ['css', 'serve'], function() { | ||
gulp.watch(['./src/**/*'], ['css']); | ||
}); | ||
{ | ||
"name": "tachyons-font-family", | ||
"version": "0.2.2", | ||
"style": "font_family.css", | ||
"version": "1.0.0", | ||
"style": "tachyons-font-family.css", | ||
"homepage": "http://mrmrs.io/tachyons-font-family", | ||
"description": "Performance based sass module.", | ||
"description": "Performance based css module.", | ||
"keywords": [ | ||
"oocss", | ||
"sass", | ||
"rework", | ||
"css", | ||
@@ -32,8 +32,8 @@ "rwd", | ||
"gulp": "^3.8.10", | ||
"gulp-autoprefixer": "^2.0.0", | ||
"gulp-basswork": "0.0.9", | ||
"gulp-minify-css": "^0.3.11", | ||
"gulp-rename": "^1.2.0", | ||
"gulp-sass": "^1.1.0", | ||
"gulp-size": "^1.1.0", | ||
"gulp-watch": "^2.0.0" | ||
"gulp-size": "^1.2.0", | ||
"gulp-webserver": "^0.8.7", | ||
"vinyl-transform": "^1.0.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "scripts": { |
@@ -35,4 +35,3 @@ # TACHYONS-FONT-FAMILY | ||
[http://mrmrs.cc - Entire internet gateway to all things mrmrs](http://mrmrs.cc) | ||
[http://mrmrs.io - Open source projects](http://mrmrs.io) | ||
[mrmrs](http://mrmrs.io) | ||
@@ -43,3 +42,3 @@ ## License | ||
Copyright (c) 2014 @mrmrs | ||
Copyright (c) 2015 @mrmrs | ||
@@ -46,0 +45,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
9246
8
61
1
61