Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including gulp-cordova-author with all npm packages installed. Try it out:

var gulpCordovaAuthor = require("gulp-cordova-author")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-cordova-author v1.0.0

Sets the author of the cordova project.

gulp-cordova-author Build Status

Sets the author of the cordova project

Installation

npm install --save-dev gulp-cordova-author

Usage

var gulp = require('gulp'),
    create = require('gulp-cordova-create'),
    author = require('gulp-cordova-author');

gulp.task('build', function() {
    return gulp.src('dist')
        .pipe(create())
        .pipe(author('Sam Verschueren', 'sam.verschueren@gmail.com'));
});

This will set the author properties in the config.xml file.

API

author(name [, email [, website]])

name

Required
Type: string

The name of the author.

email

Type: string

The email address of the author.

website

Type: string

The website of the author.

Related

See gulp-cordova for the full list of available packages.

Contributors

License

MIT © Sam Verschueren

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free