mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
update
This commit is contained in:
33
node_modules/requirejs-config-file/Gruntfile.js
generated
vendored
Normal file
33
node_modules/requirejs-config-file/Gruntfile.js
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
'use strict';
|
||||
|
||||
/*global module:false*/
|
||||
module.exports = function(grunt) {
|
||||
|
||||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc',
|
||||
},
|
||||
libs: {
|
||||
src: ['Gruntfile.js', 'index.js', 'test/**/*.js', '!files/fixtures/parse-error-config.js']
|
||||
}
|
||||
},
|
||||
|
||||
simplemocha: {
|
||||
options: {
|
||||
timeout: 3000,
|
||||
ui: 'bdd',
|
||||
reporter: 'spec'
|
||||
},
|
||||
|
||||
all: { src: ['test/**/*.js'] }
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
grunt.registerTask('default', ['jshint']);
|
||||
grunt.registerTask('test', ['jshint', 'simplemocha:all']);
|
||||
};
|
Reference in New Issue
Block a user