https://github.com/agrublev/freedcamp-script-runner
🔥🔥🔥 💅 The best replacement for package.json scripts aka npm scripts, simply using Markdown file which reads like documentation but works like a charm
https://github.com/agrublev/freedcamp-script-runner
developer-tools npm runner script
Last synced: 10 months ago
JSON representation
🔥🔥🔥 💅 The best replacement for package.json scripts aka npm scripts, simply using Markdown file which reads like documentation but works like a charm
- Host: GitHub
- URL: https://github.com/agrublev/freedcamp-script-runner
- Owner: agrublev
- Created: 2019-03-04T04:47:42.000Z (almost 7 years ago)
- Default Branch: Development
- Last Pushed: 2021-11-05T01:19:31.000Z (over 4 years ago)
- Last Synced: 2025-03-15T10:46:20.367Z (11 months ago)
- Topics: developer-tools, npm, runner, script
- Language: JavaScript
- Homepage:
- Size: 141 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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 **fscripts.md** file :
````markdown
# Group 1
## run
```bash
echo 'start'; sleep 4; echo 'done'
```
## run:s
```bash
yarn fsr run-s run:one run:two
```
## run:one
```js
console.log("ONEEE");
```
## run:two
```js
console.log("TWOOOO");
```
````
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.
````markdown
# Start Scripts
Start running in development mode
## start:w:u
Run tasks `start:web` and `start:utils` in parallel.
```bash
fsr run-s start:web start:utils
```
````
## Password for encrypted file is 'secret'