Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
Small JavaScript-based task runner for node.js
- Host: GitHub
- URL: https://github.com/pinefile/pine
- Owner: pinefile
- License: mit
- Created: 2020-09-07T20:02:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T02:08:17.000Z (about 2 months ago)
- Last Synced: 2024-10-28T05:59:21.969Z (about 2 months ago)
- Topics: build-tool, cli, command-line, hacktoberfest, javascript, make, makefile, pinefile, task, task-runner
- Language: TypeScript
- Homepage: https://pinefile.github.io
- Size: 3.42 MB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome - pinefile/pine - Small JavaScript-based task runner for node.js (TypeScript)
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)