gulp-wpmanifest

0.1.1 • Public • Published

gulp-wpmanifest

Gulp Plugin for automatically create a Wordpress manifest and write it at the beginning of the target .css file.

Install

npm install gulp-wpmanifest --save-dev

or

yarn add gulp-wpmanifest

Usage

'use strict';

const gulp = require('gulp');
const wpmanifest = require("gulp-wpmanifest");

gulp.task('defualt', ()=>{
	gulp.src('./*.css')
	  	.pipe(wpmanifest({
	  		name: '...',
	  		description: '...',
	  		version: 1.0,
	  		uri: "...",
	  		tags: "...",
	  		author: {
	  			name: "..."
	  		},
	  		authorUri: "...",
	  		license: "GNU General Public License v2 or later",
	  		licenseUri: "http://www.gnu.org/licenses/gpl-2.0.html"
	  	}))
	  	.pipe(gulp.dest('./'))
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-wpmanifest

Weekly Downloads

1

Version

0.1.1

License

ISC

Last publish

Collaborators

  • dean992008