Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pinefile/pine

Small JavaScript-based task runner for node.js
https://github.com/pinefile/pine

build-tool cli command-line hacktoberfest javascript make makefile pinefile task task-runner

Last synced: 11 days ago
JSON representation

Small JavaScript-based task runner for node.js

Awesome Lists containing this project

README

        





# Pine

[![Build Status](https://img.shields.io/github/actions/workflow/status/pinefile/pine/nodejs.yml?color=049668&style=flat-square)](https://github.com/pinefile/pine/actions) [![NPM](https://img.shields.io/npm/v/@pinefile/pine?color=049668&style=flat-square)](https://www.npmjs.com/package/@pinefile/pine)

Small JavaScript-based task runner for node.js.

## Docs

Read the documentation [here](https://pinefile.github.io/docs/)

## Basic usage

Create `pinefile.js` or `pinefile.ts`

```js
import { run } from '@pinefile/pine';

export default {
build: () => {
console.log('Building...');
},
test: async () => {
await run('jest');
},
};
```

Then run it! It is best to either place `pine` inside a npm run script or run it with `npx`:

```
npx pine build
```

## License

MIT © [Fredrik Forsmo](https://github.com/frozzare)