wp-file-header
Node.js plugin that adds 'File Header' to Wordpress Theme's style.css file based on package.json data
For now works only with style.css file (supports only WP Themes, not plugins)
Installation
$ npm i wp-file-header --save-dev
Description
Creates this: style.css
/*Theme Name: Twenty ThirteenTheme URI: http://wordpress.org/themes/twentythirteenAuthor: the WordPress teamAuthor URI: http://wordpress.org/Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.Version: 1.0.0License: GNU General Public License v2 or laterLicense URI: http://www.gnu.org/licenses/gpl-2.0.htmlTags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-readyText Domain: twentythirteenTemplate: twentytwelve*/
From this: package.json
Usage
Plain
var wp = './package.json';wp;
or just
var wp = ;wp;
With Gulp:
var gulp = wp = './package.json'; gulp;
With Grunt:
module { var wp = './package.json'; grunt;};