Update npm dependencies, use yarn

This commit is contained in:
Stéphane Goetz 2017-01-09 17:50:45 +01:00
parent 83fde0ceaf
commit cf05db04b6
10 changed files with 2715 additions and 15 deletions

View File

@ -4,7 +4,6 @@ var cssnano = require('cssnano'),
rename = require('gulp-rename'),
plumber = require('gulp-plumber'),
postcss = require('gulp-postcss'),
sourcemaps = require('gulp-sourcemaps'),
stylelint = require('gulp-stylelint');
var resources = {
@ -40,15 +39,11 @@ var cssnanoOptions = {
function createCSSTask(source, dest) {
return function () {
return gulp.src(source)
//.pipe(sourcemaps.init())
.pipe(plumber())
.pipe(less())
.pipe(postcss([cssnano(cssnanoOptions)]))
.pipe(rename({suffix: '.min'}))
//.pipe(sourcemaps.write())
.pipe(gulp.dest(dest));
}
}

View File

@ -9,8 +9,11 @@
"gulp-plumber": "^1.1.0",
"gulp-postcss": "^6.1.1",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-stylelint": "^3.0.0",
"stylelint-config-standard": "^12.0.0"
"stylelint-config-standard": "^15.0.1"
},
"scripts": {
"build": "gulp",
"watch": "gulp watch"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,8 @@ Base CSS
body {
font-family: @font-family-text;
text-rendering: optimizeLegibility;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
line-height: 1.5;
}

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,6 @@
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-font-smoothing: antialiased;
}
html, body {
@ -16,7 +15,8 @@ html, body {
body {
text-rendering: optimizeLegibility;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: @font-family-text;
}

2701
yarn.lock Normal file

File diff suppressed because it is too large Load Diff