Skip to content

Commit

Permalink
Move nsp from prepublish to test for test-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gigabo committed Sep 29, 2017
1 parent 7628524 commit 40501a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-server-test-pages/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const SRC = ["**/*.js", "!node_modules/**", "!__clientTemp/**"];

gulp.task("travis-ci", ["build"]);

gulp.task("build", ["eslint", "nsp"]);
gulp.task("build", ["eslint"]);

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

Expand All @@ -18,5 +18,5 @@ gulp.task("eslint", [], () => gulp.src(SRC)
);

// There are no tests for this project, currently.
// Just make sure it lints.
gulp.task("test", ["eslint"]);
// Just make sure it lints and passes nsp.
gulp.task("test", ["eslint", "nsp"]);

0 comments on commit 40501a7

Please sign in to comment.