pon-runner
Runner for pon
Last updated 9 days ago by okunishinishi .
Apache-2.0 · Repository · Bugs · Original npm · Tarball
$ cnpm install pon-runner 
SYNC missed versions from official npm registry.

Title Banner

Build Status npm Version JS Standard

Runner for pon

Table of Contents

Installation

$ npm install pon-runner --save

Usage

Create runner with tasks and pass task names to run

'use strict'

const ponRunner = require('pon-runner')

const css = require('pon-task-css')
const browser = require('pon-task-browser')

async function tryExample () {
  let runner = ponRunner({
    'ui:style': css('ui/stylesheets', 'public'),
    'ui:browser': browser('shim/entrypoints', 'public/js')
  })

  // Execute task by names
  await runner.run('ui:style', 'ui:bundle')
}

tryExample()

License

This software is released under the Apache-2.0 License.

Links

Downloads
Today 0
This Week 0
This Month 19
Last Day 0
Last Week 0
Last Month 80
Dependencies (3)
Dev Dependencies (15)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |