1.17.0 • Published 4 years ago
gulp-sass-helper v1.17.0
gulp-sass-helper
Helper app to unify sass implementations for gulp task builds.
System Requirements
- NodeJS (version >= 10).
Installing
npm i -D gulp gulp-sass-helper stylelint stylelint-config-sass-guidelines stylelint-scss
Usage
- Create your stylelint files(".stylelintrc.json" and ".styleignore") on the root directory of your project.
- Start with these basic lint configurations, adding your custom rules afterwards.
{
"plugins": ["stylelint-scss"],
"extends": "stylelint-config-sass-guidelines"
}
- Create a gulpfile to run your tasks.
const gulp = require("gulp");
const helper = require("gulp-sass-helper");
const paths = { sass: { src: "./react/**/*.scss", dest: "./react" } };
let isDev = true;
const runSassCompiler = (done) => {
helper.sassCompiler(paths);
done();
};
const runSassLint = (done) => {
helper.sassLint(paths, isDev);
done();
};
const build = gulp.series(runSassLint, runSassCompiler);
- Create a Browser's list
.browserslistrc
configuration file, on the root directory of your project.
# Browsers that we support
> 1%
last 2 versions
firefox >= 4
safari 7
safari 8
safari 9
IE 8
IE 9
IE 10
IE 11
License
Copylefted (c) 2020 Henrique Carvalho da Cruz Licensed under the MIT license.
1.17.0
4 years ago
1.16.0
4 years ago
1.15.0
4 years ago
1.14.0
5 years ago
1.13.0
5 years ago
1.12.0
5 years ago
1.11.0
5 years ago
1.10.0
5 years ago
1.9.0
5 years ago
1.8.4
5 years ago
1.8.3
5 years ago
1.8.2
5 years ago
1.8.1
5 years ago
1.7.0
5 years ago
1.6.0
5 years ago
1.5.0
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago