This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gulp-wp-pot

2.5.0 • Public • Published

gulp-wp-pot

Information

npm version GitHub Workflow Status Scrutinizer Code Quality Code Coverage FOSSA Status

Package gulp-wp-pot
Description Gulp wrapper for wp-pot. Generates pot files for WordPress plugins and themes.

Like my work and want to say thanks?

Do it here:
Buy Me A Coffee

Install

$ npm install --save-dev gulp-wp-pot

Example usage with Gulp

var gulp = require('gulp');
var wpPot = require('gulp-wp-pot');
 
gulp.task('default', function () {
    return gulp.src('src/*.php')
        .pipe(wpPot( {
            domain: 'domain',
            package: 'Example project'
        } ))
        .pipe(gulp.dest('file.pot'));
});

wpPot({options})

See available options in the wp-pot readme, https://github.com/wp-pot/wp-pot#options
All options except src and writeFile is passed to wp-pot.

Related

License

MIT © Rasmus Bengtsson | Initial work by Willy Bahuaud

FOSSA Status

Package Sidebar

Install

npm i gulp-wp-pot

Weekly Downloads

1,810

Version

2.5.0

License

MIT

Unpacked Size

6.54 kB

Total Files

4

Last publish

Collaborators

  • rasmusbe