fortune-css
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
152700
34
1853
3