Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Update css minification #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Apps For X Light",
"name": "AppsForXLight",
"version": "0.0.1",
"authors": [
"Wesley Vanbrabnt"
Expand Down
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
var gulp = require('gulp');
var gutil = require('gulp-util');
var bower = require('bower');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var cleanCSS = require('gulp-clean-css');
var rename = require('gulp-rename');

var paths = {
Expand All @@ -18,7 +17,7 @@ gulp.task('sass', function(done) {
errLogToConsole: true
}))
.pipe(gulp.dest('./css/'))
.pipe(minifyCss({
.pipe(cleanCSS({
keepSpecialComments: 0
}))
.pipe(rename({ extname: '.min.css' }))
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Apps For X Light",
"name": "AppsForXLight",
"version": "0.0.1",
"description": "Onepage template for small hackathons that is very lightweight. Only the essentials.",
"license": "MIT",
Expand All @@ -13,13 +13,17 @@
"bower": "*",
"gulp": "*",
"gulp-concat": "*",
"gulp-minify-css": "*",
"gulp-clean-css": "^2.0.12",
"gulp-rename": "*",
"gulp-sass": "*",
"gulp-util": "*"
},
"bugs": {
"url": ""
"url": "https://github.com/openknowledgebe/AppsForXLight/issues"
},
"homepage": ""
"homepage": "https://github.com/openknowledgebe/AppsForXLight",
"repository": {
"type": "git",
"url": "git+https://github.com/openknowledgebe/AppsForXLight.git"
}
}