0.2.1 • Published 5 years ago

dangerfile v0.2.1

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

dangerfile npm.io npm.io

🚨 Centralised Dangerfile

CLI

Create a dangerfile and run it. (Installs danger if missing)

npx dangerfile

Create your own CLI using this as a module

Add this bin right next to your dangerfile (dangerfile.js)

#!/usr/bin/env node

const dangerfile = require('dangerfile');

(async() => {
	try {
		const message = await dangerfile(__dirname);
		console.info(message);
	} catch (error) {
		console.error(error);
		process.exit(1);
	}
})();

The script prioritises local dangerfile above introduced one, unless 'force' flag was passed

await dangerfile(__dirname, {force: true});
0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago