0.9.2 • Published 9 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-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
todest
, with live reloading and a dev server athttp://localhost:3000/
. - gulp build - Compile
src
todest
. - gulp test - Run mocha tests in
src/js/**/__tests__/*-test.js
.
Included commands
- gulp js - Compile
src/js
todest/js
. - gulp less - Compile
src/less
todest/css
. - gulp static - Copy static assets from
src
todest
. - gulp serve - Start a static file server on
dest
on port 3000. - gulp dev-js - Compile
src/js
todest/js
, with live reloading. - gulp dev-less - Compile
src/less
todest/less
, with live reloading. - gulp dev-static - Copy static assets from
src
todest
, 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.
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: