Skip to content

realglobe-Inc/pon-task-dev

Repository files navigation

pon-task-dev

Build Status npm Version JS Standard

Pon tasks for dev

Installation

$ npm install pon-task-dev --save

Usage

'use strict'

const pon = require('pon')
const {mocha} = require('pon-task-dev')

;(async () => {
  const run = pon({
    'test:mocha': mocha('test/*_test.js')
  })

  run('myTask01')
}).catch((err) => console.error(err))

Signatures

define(options) -> function

Define task

Param type Description
options Object Optional settings

eslint(options) -> function

ESLint task

Param type Description
options Object

License

This software is released under the Apache-2.0 License.

Links