Manager for single/multi packages JavaScript projects
$ npm install @absolunet/manager
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);
View documentation
MIT © Absolunet