tachyons-type-scale
Advanced tools
Comparing version 0.3.0 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('./type_scale.scss') | ||
.pipe(watch('./type_scale.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('type_scale.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-type-scale.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-type-scale", | ||
"version": "0.3.0", | ||
"style": "type_scale.css", | ||
"version": "1.0.0", | ||
"style": "tachyons-type-scale.css", | ||
"homepage": "http://mrmrs.io/tachyons-type-scale", | ||
"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": { |
@@ -59,4 +59,3 @@ # TACHYONS-TYPE-SCALE | ||
[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) | ||
@@ -67,3 +66,3 @@ ## License | ||
Copyright (c) 2014 @mrmrs | ||
Copyright (c) 2015 @mrmrs | ||
@@ -70,0 +69,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
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
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
146
1
11070
8
85
1