Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tachyons-type-scale

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tachyons-type-scale - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

src/tachyons-type-scale.css

52

gulpfile.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc