2015-03-29 14:43:02 +02:00
|
|
|
module.exports = function (grunt) {
|
2016-05-27 23:59:01 +02:00
|
|
|
"use strict";
|
|
|
|
|
2015-03-29 14:43:02 +02:00
|
|
|
grunt.config.merge({
|
|
|
|
checkDependencies: {
|
|
|
|
options: {
|
|
|
|
install: true
|
|
|
|
},
|
|
|
|
bower: {
|
|
|
|
options: {
|
|
|
|
packageManager: "bower"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
npm: {}
|
|
|
|
},
|
|
|
|
eslint: {
|
|
|
|
sources: {
|
2015-03-30 03:20:43 +02:00
|
|
|
src: ["app.js", "!Gruntfile.js", "lib/**/*.js"]
|
2015-03-29 14:43:02 +02:00
|
|
|
},
|
|
|
|
grunt: {
|
|
|
|
src: ["Gruntfile.js", "tasks/*.js"]
|
|
|
|
}
|
|
|
|
}
|
2017-03-17 03:14:57 +01:00
|
|
|
});
|
2015-03-29 14:43:02 +02:00
|
|
|
|
2017-03-17 03:14:57 +01:00
|
|
|
grunt.loadNpmTasks("grunt-check-dependencies");
|
|
|
|
grunt.loadNpmTasks("grunt-eslint");
|
|
|
|
};
|