mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
31 lines
540 B
JavaScript
31 lines
540 B
JavaScript
|
|
||
|
module.exports = function(grunt) {
|
||
|
|
||
|
// Project configuration.
|
||
|
grunt.initConfig({
|
||
|
lint: {
|
||
|
all: ['src/**/*.js', 'test/**/*.js']
|
||
|
},
|
||
|
jshint: {
|
||
|
options: {
|
||
|
browser: true
|
||
|
}
|
||
|
},
|
||
|
simplemocha: {
|
||
|
all: {
|
||
|
src: 'test/run.js',
|
||
|
options: {
|
||
|
globals: ['should'],
|
||
|
timeout: 3000,
|
||
|
ignoreLeaks: false,
|
||
|
ui: 'bdd'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
grunt.loadNpmTasks('grunt-simple-mocha');
|
||
|
|
||
|
grunt.registerTask('default', ['simplemocha', 'lint']);
|
||
|
};
|