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.2 to 0.0.3

dist/fortune.prefixed.css

33

gulpfile.js

@@ -12,14 +12,33 @@ const gulp = require('gulp');

const files = ['./src/fortune.css'];
const postcssVanilla = [
postcssimport(),
postcsscssnext({
browsers: [""]
})
];
const postcssAutoprefix = [
postcssimport(),
postcsscssnext({
browsers: ['last 2 versions'],
rem: false,
customProperties: false,
}),
browsers: ['last 2 versions']
})
];
// Build
gulp.task('build', ['build: autoprefixed']);
gulp.task('build', ['build: vanilla', 'build: autoprefixed']);
// Build vanilla version
gulp.task('build: vanilla', () =>
gulp
.src(files)
.pipe(postcss(postcssVanilla))
.pipe(nano())
.pipe(rename("fortune.css"))
.pipe(gulp.dest("./dist"))
.pipe(size({ showFiles: true }))
.pipe(gzip())
.pipe(rename("fortune.css.gz"))
.pipe(gulp.dest("./dist"))
.pipe(size({ showFiles: true, gzip: true }))
);
// Build autoprefixed version

@@ -31,7 +50,7 @@ gulp.task('build: autoprefixed', () =>

.pipe(nano())
.pipe(rename('fortune.css'))
.pipe(rename('fortune.prefixed.css'))
.pipe(gulp.dest('./dist'))
.pipe(size({ showFiles: true }))
.pipe(gzip())
.pipe(rename('fortune.css.gz'))
.pipe(rename('fortune.prefixed.css.gz'))
.pipe(gulp.dest('./dist'))

@@ -38,0 +57,0 @@ .pipe(size({ showFiles: true, gzip: true }))

{
"name": "fortune-css",
"version": "0.0.2",
"version": "0.0.3",
"author": "Vikram Babu",

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

@@ -7,5 +7,5 @@ # 🔮 Fortune

- ⚡️ Light-weight at 10kb
- ⚡️ Light-weight at < 10kb gzipped
- ⛔️ No preprocessor required
- 📐 Easy CSS grids & flexbox
- 🌈 Customizable CSS variables

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

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