Update npm dependencies, use yarn
This commit is contained in:
parent
83fde0ceaf
commit
cf05db04b6
@ -4,7 +4,6 @@ var cssnano = require('cssnano'),
|
|||||||
rename = require('gulp-rename'),
|
rename = require('gulp-rename'),
|
||||||
plumber = require('gulp-plumber'),
|
plumber = require('gulp-plumber'),
|
||||||
postcss = require('gulp-postcss'),
|
postcss = require('gulp-postcss'),
|
||||||
sourcemaps = require('gulp-sourcemaps'),
|
|
||||||
stylelint = require('gulp-stylelint');
|
stylelint = require('gulp-stylelint');
|
||||||
|
|
||||||
var resources = {
|
var resources = {
|
||||||
@ -40,15 +39,11 @@ var cssnanoOptions = {
|
|||||||
|
|
||||||
function createCSSTask(source, dest) {
|
function createCSSTask(source, dest) {
|
||||||
return function () {
|
return function () {
|
||||||
|
|
||||||
|
|
||||||
return gulp.src(source)
|
return gulp.src(source)
|
||||||
//.pipe(sourcemaps.init())
|
|
||||||
.pipe(plumber())
|
.pipe(plumber())
|
||||||
.pipe(less())
|
.pipe(less())
|
||||||
.pipe(postcss([cssnano(cssnanoOptions)]))
|
.pipe(postcss([cssnano(cssnanoOptions)]))
|
||||||
.pipe(rename({suffix: '.min'}))
|
.pipe(rename({suffix: '.min'}))
|
||||||
//.pipe(sourcemaps.write())
|
|
||||||
.pipe(gulp.dest(dest));
|
.pipe(gulp.dest(dest));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,11 @@
|
|||||||
"gulp-plumber": "^1.1.0",
|
"gulp-plumber": "^1.1.0",
|
||||||
"gulp-postcss": "^6.1.1",
|
"gulp-postcss": "^6.1.1",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-sourcemaps": "^1.6.0",
|
|
||||||
"gulp-stylelint": "^3.0.0",
|
"gulp-stylelint": "^3.0.0",
|
||||||
"stylelint-config-standard": "^12.0.0"
|
"stylelint-config-standard": "^15.0.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "gulp",
|
||||||
|
"watch": "gulp watch"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
themes/daux/css/theme-blue.min.css
vendored
2
themes/daux/css/theme-blue.min.css
vendored
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-green.min.css
vendored
2
themes/daux/css/theme-green.min.css
vendored
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-navy.min.css
vendored
2
themes/daux/css/theme-navy.min.css
vendored
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-red.min.css
vendored
2
themes/daux/css/theme-red.min.css
vendored
File diff suppressed because one or more lines are too long
@ -5,7 +5,8 @@ Base CSS
|
|||||||
body {
|
body {
|
||||||
font-family: @font-family-text;
|
font-family: @font-family-text;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
2
themes/daux_singlepage/css/main.min.css
vendored
2
themes/daux_singlepage/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -7,7 +7,6 @@
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
@ -16,7 +15,8 @@ html, body {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
font-family: @font-family-text;
|
font-family: @font-family-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user