From 4adf2e52a00828b77b12002f0599dc7286de307d Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 22 Oct 2016 17:22:58 -0400 Subject: [PATCH] add jshint task --- Gruntfile.coffee | 2 ++ package.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 8a6a45129..24f23def8 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -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) diff --git a/package.json b/package.json index e0d8ca735..c6c187a0e 100644 --- a/package.json +++ b/package.json @@ -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",