Skip to content

Commit 9053bbd

Browse files
committedJun 24, 2018
Remove the nsp task
The `nsp` package is deprecated and it's now integrated in npm.
1 parent dab9337 commit 9053bbd

File tree

3 files changed

+2266
-4248
lines changed

3 files changed

+2266
-4248
lines changed
 

‎gulpfile.js

-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@ const path = require('path');
33
const gulp = require('gulp');
44
const mocha = require('gulp-mocha');
55
const istanbul = require('gulp-istanbul');
6-
const nsp = require('gulp-nsp');
76
const plumber = require('gulp-plumber');
87
const coveralls = require('gulp-coveralls');
98

10-
gulp.task('nsp', cb => {
11-
nsp({package: path.resolve('package.json')}, cb);
12-
});
13-
149
gulp.task('pre-test', () =>
1510
gulp.src('lib/**/*.js')
1611
.pipe(istanbul({includeUntested: true}))
@@ -44,5 +39,4 @@ gulp.task('coveralls', ['test'], () => {
4439
.pipe(coveralls());
4540
});
4641

47-
gulp.task('prepublish', ['nsp']);
4842
gulp.task('default', ['test', 'coveralls']);

‎package-lock.json

+2,265-4,238
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"scripts": {
1818
"test": "xo && gulp",
1919
"postinstall": "yodoctor",
20-
"postupdate": "yodoctor",
21-
"prepublish": "gulp prepublish"
20+
"postupdate": "yodoctor"
2221
},
2322
"files": [
2423
"lib"
@@ -77,12 +76,10 @@
7776
"gulp-coveralls": "^0.1.0",
7877
"gulp-istanbul": "^1.0.0",
7978
"gulp-mocha": "^3.0.1",
80-
"gulp-nsp": "^2.1.0",
8179
"gulp-plumber": "^1.0.0",
8280
"mocha": "^3.2.0",
8381
"mockery": "^2.0.0",
8482
"nock": "^9.0.5",
85-
"nsp": "^2.2.0",
8683
"proxyquire": "^1.0.1",
8784
"registry-url": "^3.0.0",
8885
"sinon": "^1.12.1",

0 commit comments

Comments
 (0)
Please sign in to comment.