This package has been deprecated

Author message:

Please use the ntheme package instead

neto-theme-compile
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

neto-theme-compile

Gulp example

Usage

npm install neto-theme-compile

Gulp

In your gulpfile.js, simply import and call the gulpWatchAndCompile() method like so:

const gulp = require('gulp');
const { gulpWatchAndCompile } = require('neto-theme-compile');

gulp.task('default', function() {
    return gulpWatchAndCompile();
});

API

You can also use the library programmatically, as seen below:

const { NetoThemeCompiler } = require('neto-theme-compile');
let themeCompiler;

themeCompiler = new NetoThemeCompiler();
themeCompiler.init()
    .then(() => themeCompiler.compileFull())
    .then(() => console.log('Done!'))
    .catch((err) => console.error(err))

TODO

  • [ ] Rename the style.css and netothemeinfo.txt correctly
  • [ ] Handle case when git is not installed

Readme

Keywords

none

Package Sidebar

Install

npm i neto-theme-compile

Weekly Downloads

2

Version

0.0.4

License

ISC

Last publish

Collaborators

  • matt-downs