Moodle/Gruntfile.js

15 строки
321 B
JavaScript

var grunt = require('grunt');
require('load-grunt-tasks')(grunt);
var templates = ['nested/*.json', 'managedApplication/*.json', 'loadtest/*.json', '*.json'];
grunt.initConfig({
jshint: {
files: templates,
options: {
jshintrc: '.jshintrc'
}
}
});
grunt.registerTask('test', ['jshint']);