Freedcamp task runner with Markdown.
Last updated a year ago by agrublev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fcr2 
SYNC missed versions from official npm registry.

The simplest way to run your npm type tasks

You write a beautiful & documented Markdown file, we run it for you. And you have a lot of flexibility!

Example FcScripts.md file:

# Start Scripts Title

## start:web

This will start the web code below

parcel index.html

## start:desktop

This will start the node script

console.log('RUNNING DESKTOP!')

# Build Scripts

## build:web

Build our main app

# note that you can directly call binaries inside node_modules/.bin
# just like how `npm scripts` works
babel src -d lib

Each section is an h1 and task is defined using h2 header and its child contents, the value of h2 header will be used as task name, its following paragraphs (optional) will be used as task description, and following code block (optional) will be used as task script.

# Start Scripts

Start running in development mode

## start:w:u

Run tasks `start:web` and `start:utils` in parallel.

## start:web

Start web with parcel

console.log("Starting web");

## start:utils

console.log("Starting utils");

Current Tags

  • 0.1.2                                ...           latest (a year ago)

1 Versions

  • 0.1.2                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (14)
Dev Dependencies (14)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |