Comparing version 2.0.0 to 3.0.0
{ | ||
"name": "lato-font", | ||
"version": "1.1.1", | ||
"version": "3.0.0", | ||
"homepage": "https://github.com/betsol/lato-font", | ||
@@ -5,0 +5,0 @@ "authors": [ |
# lato-font changelog | ||
## Version 3.0.0 | ||
(01 Apr 2017) | ||
- Dropped support of legacy TTF and EOT (use WOFF2 and WOFF instead) | ||
## Version 2.0.0 | ||
@@ -4,0 +10,0 @@ (16 Sep 2016) |
@@ -0,1 +1,2 @@ | ||
//--------------// | ||
@@ -5,9 +6,8 @@ // DEPENDENCIES // | ||
var gulp = require('gulp'); | ||
var del = require('del'); | ||
var runSequence = require('run-sequence'); | ||
var compass = require('gulp-compass'); | ||
var rename = require("gulp-rename"); | ||
var minifyCSS = require('gulp-minify-css'); | ||
const gulp = require('gulp'); | ||
const gulpRequireTasks = require('gulp-require-tasks'); | ||
const del = require('del'); | ||
const runSequence = require('run-sequence'); | ||
//---------------// | ||
@@ -17,6 +17,7 @@ // CONFIGURATION // | ||
var cssDir = './css'; | ||
var scssDir = './scss'; | ||
var miniSuffix = '.min'; | ||
global.CSS_OUTPUT_PATH = './css'; | ||
global.SCSS_SOURCE_PATH = './scss'; | ||
global.MINIFICATION_SUFFIX = '.min'; | ||
//-------// | ||
@@ -26,2 +27,4 @@ // TASKS // | ||
gulpRequireTasks(); | ||
gulp.task('default', function (callback) { | ||
@@ -31,29 +34,6 @@ runSequence('clean', 'build', callback); | ||
gulp.task('clean', function (callback) { | ||
del([cssDir + '/*'], callback); | ||
gulp.task('clean', function () { | ||
return del([CSS_OUTPUT_PATH + '/*']); | ||
}); | ||
gulp.task('build', ['build:styles']); | ||
gulp.task('build:styles', function () { | ||
var compassConfig = { | ||
css: cssDir, | ||
sass: scssDir, | ||
environment: 'development', | ||
style: 'expanded', | ||
comments: true | ||
}; | ||
return gulp.src(scssDir + '/*.scss') | ||
// Writing development version. | ||
.pipe(compass(compassConfig)) | ||
.pipe(gulp.dest(cssDir)) | ||
// Writing minified version. | ||
.pipe(rename({suffix: miniSuffix})) | ||
.pipe(minifyCSS()) | ||
.pipe(gulp.dest(cssDir)) | ||
; | ||
}); | ||
gulp.task('build', ['styles:build']); |
{ | ||
"name": "lato-font", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Distribution repository for Lato font", | ||
@@ -15,12 +15,10 @@ "license": "(MIT AND OFL-1.1)", | ||
"devDependencies": { | ||
"change-case": "~2", | ||
"del": "~1", | ||
"file": ">=0", | ||
"gulp": "~3", | ||
"gulp-compass": "~2", | ||
"gulp-minify-css": ">=0", | ||
"gulp-rename": "~1", | ||
"run-sequence": ">=0", | ||
"underscore": "~1" | ||
"del": "^2.2.2", | ||
"gulp": "^3.9.1", | ||
"gulp-compass": "^2.1.0", | ||
"gulp-minify-css": "^1.2.4", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-require-tasks": "^1.0.5", | ||
"run-sequence": "^1.2.2" | ||
} | ||
} |
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 18 instances 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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 36 instances in 1 package
7
36
8979595
55
244