MagicMirror/Gruntfile.js

24 lines
491 B
JavaScript
Raw Normal View History

2016-05-03 19:51:07 -04:00
module.exports = function(grunt) {
require("time-grunt")(grunt);
grunt.initConfig({
2020-03-19 22:02:28 +01:00
pkg: grunt.file.readJSON("package.json"),
2016-09-10 16:41:57 -04:00
jsonlint: {
main: {
2017-04-03 10:37:23 +02:00
src: [
"package.json",
".eslintrc.json",
".stylelintrc.json",
"translations/*.json",
"modules/default/*/translations/*.json",
"vendor/package.json"
2017-04-03 10:37:23 +02:00
],
2016-09-10 16:41:57 -04:00
options: {
reporter: "jshint"
}
}
2016-05-03 19:51:07 -04:00
}
});
2016-09-10 16:41:57 -04:00
grunt.loadNpmTasks("grunt-jsonlint");
2020-03-19 22:02:28 +01:00
grunt.registerTask("default", ["jsonlint"]);
2016-12-01 19:15:28 -03:00
};