octo-deno/Gruntfile.js
Jesse Schwartzentruber 0302a84fa6 Linter changes
* Override remaining eslint errors from standard
* Run standard with grunt instead of separately
2017-04-26 18:01:48 -04:00

31 lines
603 B
JavaScript

module.exports = function(grunt) {
let pkg = grunt.file.readJSON('package.json')
grunt.initConfig({
pkg: pkg,
karma: {
unit: {
configFile: 'karma.conf.js'
}
},
coveralls: {
options: {
coverageDir: 'tests/coverage/',
force: true
}
},
standard: {
options: pkg.standard,
lib: {
src: ['lib/**/*.js']
}
}
})
grunt.loadNpmTasks('grunt-karma')
grunt.loadNpmTasks('grunt-karma-coveralls')
grunt.loadNpmTasks('grunt-standard')
grunt.registerTask('test', ['standard', 'karma', 'coveralls'])
}