0.1.1 • Published 7 years ago

gulp-wpmanifest v0.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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('./'))
});