pon-runner

3.4.18 • Public • Published

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.

/pon-runner/

    Package Sidebar

    Install

    npm i pon-runner

    Weekly Downloads

    15

    Version

    3.4.18

    License

    Apache-2.0

    Unpacked Size

    228 kB

    Total Files

    60

    Last publish

    Collaborators

    • okunishinishi
    • realglobe