add jshint task

This commit is contained in:
Iuri Matias 2016-10-22 17:22:58 -04:00
parent 4989876135
commit 4adf2e52a0
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@ module.exports = (grunt) ->
mochaTest:
test:
src: ['test/**/*.js']
jshint:
all: ['bin/embark', 'lib/**/*.js', 'js/mine.js', 'js/embark.js']
grunt.loadTasks "tasks"
require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)

View File

@ -40,6 +40,8 @@
"license": "ISC",
"devDependencies": {
"grunt-mocha-test": "^0.12.7",
"grunt-contrib-jshint": "^1.0.0",
"matchdep": "^1.0.1",
"mocha": "^2.2.5",
"mocha-sinon": "^1.1.4",
"sinon": "^1.15.4",