0.9.2 • Published 9 years ago

gulp-ziggurat v0.9.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-ziggurat

gulp-ziggurat Is a set of gulp commands for building static assets using Babel and LESS.

Features

  • Compile LESS to CSS.
  • Compile Babel JS to vanilla JS.
  • Develop with live reloading and preview server.

Getting started

Install using NPM:

npm install gulp-ziggurat --save-dev

Add the following to your gulpfile.js:

require("gulp-ziggurat").register({
    gulp: require("gulp"),
    src: "src",
    dest: "dest"
});

Start developing with:

gulp dev

Visit http://localhost:3000/ to view the built site.

High-level commands

  • gulp dev - Compile src to dest, with live reloading and a dev server at http://localhost:3000/.
  • gulp build - Compile src to dest.
  • gulp test - Run mocha tests in src/js/**/__tests__/*-test.js.

Included commands

  • gulp js - Compile src/js to dest/js.
  • gulp less - Compile src/less to dest/css.
  • gulp static - Copy static assets from src to dest.
  • gulp serve - Start a static file server on dest on port 3000.
  • gulp dev-js - Compile src/js to dest/js, with live reloading.
  • gulp dev-less - Compile src/less to dest/less, with live reloading.
  • gulp dev-static - Copy static assets from src to dest, with live reloading.

Minified builds

gulp-ziggurat respects the value of NODE_ENV. To product minified builds, ensure that NODE_ENV is set to "production".

NODE_ENV=production gulp build

Build status

This project is built on every push using the Travis-CI service.

Build Status

Support and announcements

Downloads and bug tracking can be found at the main project website.

More information

The gulp-ziggurat project was developed by Dave Hall. You can get the code from the gulp-ziggurat project site.

Dave Hall is a freelance web developer, based in Cambridge, UK. You can usually find him on the Internet in a number of different places: