node-make
Task driven build tool.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-make 
SYNC missed versions from official npm registry.

node-make NPM version NPM downloads Build Status

Task driven build tool.

Full-feature ES2015+ driven task runner.

Install

$ npm install -g node-make

Usage

makefile.js example:

export function clean() {
  // clean `build` directory
  this.fs.delete('./build')
  // or rm('-rf', './build')
}

export function build() {
  this.run('clean')
  // run webpack
  exec('./node_modules/.bin/webpack -p')
}

export default function() {
  console.log('This is the default task!')
  // call task manually
  this.run('build')
}
# run default task
$ mk
# run build
$ mk build

API

cli

CLI arguments parsed by meow, the object contains .input and .flags.

this

.fs

Built-in fs helpers, see usage at mem-fs-editor.

global variables

Built-in unix shell commands, see usage at shelljs.

License

MIT © EGOIST

Current Tags

  • 1.1.1                                ...           latest (5 years ago)

21 Versions

  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.32                                ...           5 years ago
  • 0.0.31                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.26                                ...           5 years ago
  • 0.0.25                                ...           5 years ago
  • 0.0.24                                ...           5 years ago
  • 0.0.23                                ...           5 years ago
  • 0.0.22                                ...           5 years ago
  • 0.0.21                                ...           5 years ago
  • 0.0.13                                ...           5 years ago
  • 0.0.12                                ...           5 years ago
  • 0.0.11                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (15)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |