Skip to content

Commit

Permalink
Use latest publish-please version
Browse files Browse the repository at this point in the history
  • Loading branch information
inikulin committed Aug 11, 2016
1 parent 333a12f commit 6f9b2a3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .publishrc
@@ -0,0 +1,13 @@
{
"validations": {
"vulnerableDependencies": true,
"uncommittedChanges": true,
"untrackedFiles": true,
"sensitiveData": true,
"branch": "master",
"gitTag": true
},
"confirm": true,
"publishTag": "latest",
"prePublishScript": "npm test"
}
7 changes: 1 addition & 6 deletions Gulpfile.js
Expand Up @@ -10,8 +10,7 @@ var gulp = require('gulp'),
through = require('through2'),
concat = require('gulp-concat'),
jsdoc = require('gulp-jsdoc-to-markdown'),
insert = require('gulp-insert'),
publish = require('publish-please');
insert = require('gulp-insert');


gulp.task('generate-trie', function () {
Expand Down Expand Up @@ -194,7 +193,3 @@ gulp.task('test', ['lint'], function () {
timeout: typeof v8debug === 'undefined' ? 20000 : Infinity // NOTE: disable timeouts in debug
}));
});

gulp.task('publish', ['test'], function () {
return publish();
});
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -24,7 +24,7 @@
"gulp-mocha": "^2.1.3",
"gulp-rename": "^1.2.2",
"promise": "^7.0.4",
"publish-please": "^1.1.0",
"publish-please": "^2.2.0",
"through2": "^2.0.0"
},
"keywords": [
Expand Down Expand Up @@ -55,7 +55,9 @@
"url": "git://github.com/inikulin/parse5.git"
},
"scripts": {
"test": "gulp test"
"test": "gulp test",
"publish-please": "publish-please",
"prepublish": "publish-please guard"
},
"files": [
"lib"
Expand Down

0 comments on commit 6f9b2a3

Please sign in to comment.