mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
add jshint task
This commit is contained in:
parent
4989876135
commit
4adf2e52a0
@ -21,6 +21,8 @@ module.exports = (grunt) ->
|
|||||||
mochaTest:
|
mochaTest:
|
||||||
test:
|
test:
|
||||||
src: ['test/**/*.js']
|
src: ['test/**/*.js']
|
||||||
|
jshint:
|
||||||
|
all: ['bin/embark', 'lib/**/*.js', 'js/mine.js', 'js/embark.js']
|
||||||
|
|
||||||
grunt.loadTasks "tasks"
|
grunt.loadTasks "tasks"
|
||||||
require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)
|
require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)
|
||||||
|
@ -40,6 +40,8 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt-mocha-test": "^0.12.7",
|
"grunt-mocha-test": "^0.12.7",
|
||||||
|
"grunt-contrib-jshint": "^1.0.0",
|
||||||
|
"matchdep": "^1.0.1",
|
||||||
"mocha": "^2.2.5",
|
"mocha": "^2.2.5",
|
||||||
"mocha-sinon": "^1.1.4",
|
"mocha-sinon": "^1.1.4",
|
||||||
"sinon": "^1.15.4",
|
"sinon": "^1.15.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user