diff --git a/gulpfile.js b/gulpfile.js index 2b3b41e..f89194d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -29,7 +29,7 @@ gulp.task('static', function() { }); gulp.task('nsp', function(cb) { - nsp('package.json', cb); + nsp({ package: path.join(__dirname, 'package.json') }, cb); }); gulp.task('test', ['test:karma', 'test:node']); diff --git a/package.json b/package.json index f994c19..5f4c4e0 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "gulp-babel": "^5.1.0", "gulp-eslint": "^0.15.0", "gulp-mocha": "^2.0.0", - "gulp-nsp": "^0.4.5", + "gulp-nsp": "^2.0.0", "karma": "^0.13.3", "karma-babel-preprocessor": "^5.2.1", "karma-chrome-launcher": "^0.2.0",