Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

absolunet/node-manager

Repository files navigation

@absolunet/manager

npm npm dependencies npms Travis CI Code style

Manager for single/multi packages JavaScript projects

Install

$ npm install @absolunet/manager

Usage

In your ./package.json file add

{
	"scripts": {
		"postinstall": "npm run manager:install",  // For multi-package repository
		"manager:install": "node manager --task=install",
		"manager:outdated": "node manager --task=outdated",
		"manager:build": "node manager --task=build",
		"manager:watch": "node manager --task=watch",
		"manager:documentation": "node manager --task=documentation",
		"manager:prepare": "node manager --task=prepare",
		"manager:rebuild": "node manager --task=rebuild",
		"manager:publish": "node manager --task=publish",
		"manager:publish:unsafe": "node manager --task=publish:unsafe"
	}
}

In a ./manager.js file

import { manager } from '@absolunet/manager';

manager.singleScriptsRunner(options);

or

import { manager } from '@absolunet/manager';

manager.multiScriptsRunner(options);

Documentation

View documentation



License

MIT © Absolunet