Skip to content

pinefile/pine

Repository files navigation

Pine

Build Status NPM

Small JavaScript-based task runner for node.js.

Docs

Read the documentation here

Basic usage

Create pinefile.js or pinefile.ts

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