fcr

0.1.8 • Public • Published

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
 
```bash
parcel index.html
```
 
## start:desktop
 
This will start the node script
 
```js
console.log('RUNNING DESKTOP!')
```
 
Build Scripts
 
## build:web
 
Build our main app
 
```bash
# 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
 
```bash
console.log("Starting web");
```
 
## start:utils
 
```bash
console.log("Starting utils");
```

Readme

Keywords

none

Package Sidebar

Install

npm i fcr

Weekly Downloads

19

Version

0.1.8

License

MIT

Unpacked Size

61.2 kB

Total Files

13

Last publish

Collaborators

  • agrublev