0.9.2 • Published 10 years ago
gulp-ziggurat v0.9.2
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-devAdd the following to your gulpfile.js:
require("gulp-ziggurat").register({
gulp: require("gulp"),
src: "src",
dest: "dest"
});Start developing with:
gulp devVisit http://localhost:3000/ to view the built site.
High-level commands
- gulp dev - Compile
srctodest, with live reloading and a dev server athttp://localhost:3000/. - gulp build - Compile
srctodest. - gulp test - Run mocha tests in
src/js/**/__tests__/*-test.js.
Included commands
- gulp js - Compile
src/jstodest/js. - gulp less - Compile
src/lesstodest/css. - gulp static - Copy static assets from
srctodest. - gulp serve - Start a static file server on
deston port 3000. - gulp dev-js - Compile
src/jstodest/js, with live reloading. - gulp dev-less - Compile
src/lesstodest/less, with live reloading. - gulp dev-static - Copy static assets from
srctodest, 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 buildBuild status
This project is built on every push using the Travis-CI service.
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: