Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ellipsis-gulp with all npm packages installed. Try it out:

var ellipsisGulp = require("ellipsis-gulp")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ellipsis-gulp v1.0.0

Ellipsis Project Build API Module

Ellipsis Gulp

Exposes the ellipsis gulp build API as a commonjs module, thus allowing one to execute ellipsis build tasks in their own gulp file at the project root.

Installation

#create project directory
mkdir my-project
cd my-project

#init npm package for the project
npm init

#install ellipsis
npm install ellipsis --save

#install ellipsis-gulp
npm install ellipsis-gulp --save-dev

#install gulp
npm install gulp --save-dev

Tasks

Create a gulpfile.js

var gulp=require('gulp');
var tasks=require('ellipsis-gulp');

//design project task--creates a design project at your project root
gulp.task('design',function(){
    tasks.design();
});

//build task--builds a kitchen sink distro at your project root
gulp.task('build',function(){
    tasks.build();
});

API

  • design()
  • build()
  • minify()
  • buildCore()
  • minifyCore()
  • buildElements()
  • minifyElements()
  • buildInteraction()
  • minifyInteraction()

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free