36 lines
718 B
JavaScript
36 lines
718 B
JavaScript
module.exports = function (grunt) {
|
|
"use strict";
|
|
|
|
grunt.config.merge({
|
|
checkDependencies: {
|
|
options: {
|
|
install: true
|
|
},
|
|
bower: {
|
|
options: {
|
|
packageManager: "bower"
|
|
}
|
|
},
|
|
npm: {}
|
|
},
|
|
sasslint: {
|
|
options: {
|
|
configFile: ".sass-lint.yml"
|
|
},
|
|
target: ['scss/main.scss', 'scss/*/*.scss']
|
|
},
|
|
eslint: {
|
|
sources: {
|
|
src: ["app.js", "!Gruntfile.js", "lib/**/*.js", "tasks/**/*.js"]
|
|
},
|
|
grunt: {
|
|
src: ["Gruntfile.js", "tasks/*.js"]
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks("grunt-check-dependencies");
|
|
grunt.loadNpmTasks('grunt-sass-lint');
|
|
grunt.loadNpmTasks("grunt-eslint");
|
|
};
|