Comparing version 0.5.0 to 0.5.1
@@ -1,22 +0,14 @@ | ||
var gulp = require('gulp'); | ||
var postcss = require('gulp-postcss'); | ||
var gulp = require('gulp') | ||
var postcss = require('gulp-postcss') | ||
// gulp.task('css', function() { | ||
// var processors = [ | ||
// bubble, colorfunction, colorguard, flexbox, cssstats | ||
// ]; | ||
// return gulp.src('./src/*.css') | ||
// .pipe(postcss(processors)) | ||
// .pipe(gulp.dest('./dist')); | ||
// }); | ||
/* Build styleguide */ | ||
gulp.task('build:styleguide', function () { | ||
var concat = require('gulp-concat'); | ||
var postcss = require('gulp-postcss'); | ||
var autoprefixer = require('autoprefixer'); | ||
var customProperties = require('postcss-custom-properties'); | ||
var Import = require('postcss-import'); | ||
var styleGuide = require('postcss-style-guide'); | ||
var nano = require('cssnano'); | ||
var concat = require('gulp-concat') | ||
var postcss = require('gulp-postcss') | ||
var autoprefixer = require('autoprefixer') | ||
var customProperties = require('postcss-custom-properties') | ||
var Import = require('postcss-import') | ||
var styleGuide = require('postcss-style-guide') | ||
var extend = require('postcss-extend') | ||
var nano = require('cssnano') | ||
@@ -26,2 +18,3 @@ return gulp.src('./styles/app.css') | ||
Import, | ||
extend, | ||
customProperties({ preserve: true }), | ||
@@ -38,7 +31,7 @@ autoprefixer, | ||
.pipe(concat('app.min.css')) | ||
.pipe(gulp.dest('dist/styles')); | ||
}); | ||
.pipe(gulp.dest('dist/styles')) | ||
}) | ||
gulp.task('default', function(){ | ||
gulp.watch('styles/*.css', ['build:styleguide']); | ||
gulp.task('default', function() { | ||
gulp.watch('styles/*.css', ['build:styleguide']) | ||
}) |
{ | ||
"name": "fragmos", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A styleguide template with PostCSS and CSS4 feature set", | ||
@@ -8,3 +8,4 @@ "main": "gulpfile.js", | ||
"gulp": "^3.9.1", | ||
"postcss": "^5.0.16" | ||
"postcss": "^5.0.16", | ||
"recursive-copy": "^2.0.5" | ||
}, | ||
@@ -16,2 +17,3 @@ "devDependencies": { | ||
"postcss-custom-properties": "^5.0.0", | ||
"postcss-extend": "^1.0.5", | ||
"postcss-flexbox": "^1.0.2", | ||
@@ -23,3 +25,4 @@ "postcss-import": "^8.0.2", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"setup": "node setup" | ||
}, | ||
@@ -26,0 +29,0 @@ "repository": { |
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
271525
1554
3
9
+ Addedrecursive-copy@^2.0.5
+ Addedarray-union@1.0.2(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedasap@2.0.6(transitive)
+ Addederrno@0.1.8(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjunk@1.0.3(transitive)
+ Addedmaximatch@0.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedprr@1.0.1(transitive)
+ Addedrecursive-copy@2.0.14(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedslash@1.0.0(transitive)