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

fortune-css

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fortune-css - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

dist/fortune.min.css

65

gulpfile.js

@@ -10,11 +10,12 @@ const gulp = require('gulp');

const stylelint = require('gulp-stylelint');
const fortune = ['./src/fortune.css'];
const lab = ['./src/lab.css'];
const files = ['./src/fortune.css'];
const postcssVanilla = [
const postcssRegular = [
postcssimport(),
postcsscssnext({
browsers: [""]
browsers: ['']
})
];
const postcssAutoprefix = [
const postcssPrefix = [
postcssimport(),

@@ -25,12 +26,18 @@ postcsscssnext({

];
const postcssLab = [
postcssimport(),
postcsscssnext({
browsers: ['last 2 versions']
})
];
// Build
gulp.task('build', ['build: vanilla', 'build: autoprefixed']);
gulp.task('build', ['build: regular', 'build: minified', 'build: prefixed', 'build: lab']);
// Build vanilla version
gulp.task('build: vanilla', () =>
gulp.task('build: regular', () =>
gulp
.src(files)
.pipe(postcss(postcssVanilla))
.pipe(nano())
.src(fortune)
.pipe(postcss(postcssRegular))
.pipe(rename("fortune.css"))

@@ -45,13 +52,28 @@ .pipe(gulp.dest("./dist"))

// Build minified version
gulp.task('build: minified', () =>
gulp
.src(fortune)
.pipe(postcss(postcssRegular))
.pipe(nano())
.pipe(rename("fortune.min.css"))
.pipe(gulp.dest("./dist"))
.pipe(size({ showFiles: true }))
.pipe(gzip())
.pipe(rename("fortune.min.css.gz"))
.pipe(gulp.dest("./dist"))
.pipe(size({ showFiles: true, gzip: true }))
);
// Build autoprefixed version
gulp.task('build: autoprefixed', () =>
gulp.task('build: prefixed', () =>
gulp
.src(files)
.pipe(postcss(postcssAutoprefix))
.src(fortune)
.pipe(postcss(postcssPrefix))
.pipe(nano())
.pipe(rename('fortune.prefixed.css'))
.pipe(rename('fortune.prefixed.min.css'))
.pipe(gulp.dest('./dist'))
.pipe(size({ showFiles: true }))
.pipe(gzip())
.pipe(rename('fortune.prefixed.css.gz'))
.pipe(rename('fortune.prefixed.min.css.gz'))
.pipe(gulp.dest('./dist'))

@@ -61,2 +83,17 @@ .pipe(size({ showFiles: true, gzip: true }))

// Build labs
gulp.task('build: lab', () =>
gulp
.src(lab)
.pipe(postcss(postcssLab))
.pipe(nano())
.pipe(rename('lab.min.css'))
.pipe(gulp.dest('./dist'))
.pipe(size({ showFiles: true }))
.pipe(gzip())
.pipe(rename("lab.min.css.gz"))
.pipe(gulp.dest("./dist"))
.pipe(size({ showFiles: true, gzip: true }))
);
// Lint

@@ -63,0 +100,0 @@ gulp.task('lint', ['default'], () =>

{
"name": "fortune-css",
"version": "0.0.5",
"version": "0.0.6",
"author": "Vikram Babu",

@@ -5,0 +5,0 @@ "description": "Fortune is your friendly CSS framework.",

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

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