Compare commits

4 Commits

Author SHA1 Message Date
Tommy Parnell
7e41762e15 bump version 2017-02-06 08:29:59 -05:00
Tommy Parnell
e37a5de79b default to undefined 2017-02-06 08:29:15 -05:00
Tommy Parnell
3ee63316ed update readme 2016-05-24 07:46:18 -04:00
Tommy Parnell
4d7b3a8680 fix readme 2016-05-24 07:45:48 -04:00
3 changed files with 7 additions and 6 deletions

View File

@@ -5,15 +5,16 @@ This package provides tasks to work with npm.
a very simple example looks like this
```js
require('gulp-tasks-npm')();
var gulp = require('gulp');
require('gulp-tasks-npm')(gulp);
```
a more complex example may look like this
```js
require('gulp-tasks-npm'({
var gulp = require('gulp');
require('gulp-tasks-npm'(gulp, {
user: "username",
password: "password",
@@ -27,7 +28,7 @@ require('gulp-tasks-npm'({
# Api
## gulp-helper-npm(config)
## gulp-helper-npm(gulp, config)
#### config

View File

@@ -12,7 +12,7 @@ module.exports = function(gulp, config){
config.buildVersion = config.buildVersion || undefined;
config.email = config.email || undefined;
config.strictSsl = config.strictSsl || true;
config.registry = config.registry || "https://registry.npmjs.org/";
config.registry = config.registry || undefined;
config.npmObj = config.npmObj || {
registry: config.registry ,
"strict-ssl": config.strictSsl,

View File

@@ -1,6 +1,6 @@
{
"name": "gulp-tasks-npm",
"version": "0.2.0",
"version": "0.3.1",
"description": "adds npm install and publish tasks to gulp",
"main": "index.js",
"scripts": {