36 lines
658 B
JavaScript
36 lines
658 B
JavaScript
"use strict"
|
|
|
|
module.exports = function (grunt) {
|
|
grunt.config.merge({
|
|
checkDependencies: {
|
|
options: {
|
|
install: true
|
|
},
|
|
bower: {
|
|
options: {
|
|
packageManager: "bower"
|
|
}
|
|
},
|
|
npm: {}
|
|
},
|
|
eslint: {
|
|
options: {
|
|
rule: {
|
|
semi: [2, "never"],
|
|
strict: [2, "never"],
|
|
curly: [2, "multi"]
|
|
}
|
|
},
|
|
sources: {
|
|
src: ["app.js", "!Gruntfile.js", "lib/*.js"]
|
|
},
|
|
grunt: {
|
|
src: ["Gruntfile.js", "tasks/*.js"]
|
|
}
|
|
}
|
|
})
|
|
|
|
grunt.loadNpmTasks("grunt-check-dependencies")
|
|
grunt.loadNpmTasks("grunt-eslint")
|
|
}
|