Skip to content

Commit

Permalink
Use raw nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Sep 12, 2017
1 parent 183b3a8 commit 6effbfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 0 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ const path = require('path');
const gulp = require('gulp');
const mocha = require('gulp-mocha');
const istanbul = require('gulp-istanbul');
const nsp = require('gulp-nsp');
const plumber = require('gulp-plumber');
const coveralls = require('gulp-coveralls');

gulp.task('nsp', cb => {
nsp({package: path.resolve('package.json')}, cb);
});

gulp.task('pre-test', () =>
gulp.src([
'lib/**/*.js'
Expand Down Expand Up @@ -43,5 +38,4 @@ gulp.task('coveralls', ['test'], () => {
.pipe(coveralls());
});

gulp.task('prepublish', ['nsp']);
gulp.task('default', ['test', 'coveralls']);
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"node": ">=4"
},
"scripts": {
"test": "xo && gulp",
"pretest": "xo",
"test": "gulp",
"doc": "jsdoc -c jsdoc.json",
"prepublish": "gulp prepublish"
"prepublish": "nsp check"
},
"files": [
"lib"
Expand Down Expand Up @@ -63,12 +64,12 @@
"gulp-coveralls": "^0.1.0",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^3.0.1",
"gulp-nsp": "^2.1.0",
"gulp-plumber": "^1.0.0",
"inquirer": "^3.0.1",
"jsdoc": "^3.3.0-beta1",
"mockery": "^2.0.0",
"nock": "^9.0.5",
"nsp": "^2.8.0",
"proxyquire": "^1.0.0",
"sinon": "^2.1.0",
"tui-jsdoc-template": "^1.0.4",
Expand Down

0 comments on commit 6effbfe

Please sign in to comment.