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 ufocore-build with all npm packages installed. Try it out:

var ufocoreBuild = require("ufocore-build")

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

ufocore-build v0.5.4

A helper for common tasks to build ufocore modules'

ufocore-build

A helper to add tasks to gulp.

Getting started

Install with:

npm install ufocore-build

and use and require in your gulp file:

var gulp = require('gulp');
var ufocoreTasks = require('ufocore-build');

ufocoreTasks('submodule');
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);

Notes

  • There's no default task to allow for each submodule to set up their own configuration
  • If the module is node-only, avoid adding the browser tasks with:
var ufocoreTasks = require('ufocore-build');
ufocoreTasks('submodule', {skipBrowsers: true});

License

Code released under the MIT license.

Copyright 2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc. Copyright 2018 The UFO Core Developers

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