neto-theme-compile
Merge your Neto theme files with the latest copy of Skeletal
Last updated a year ago by matt-downs .
ISC · Original npm · Tarball · package.json
$ cnpm install neto-theme-compile 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.4                                ...           latest (a year ago)

4 Versions

  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (11)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |