form8ion plugin for managing tools related to commit conventions
$ npm install @form8ion/commit-convention --save-prod
import {packageManagers} from '@form8ion/javascript-core';
import {scaffold, test, lift} from '@form8ion/commit-convention';
(async () => {
const projectRoot = process.cwd();
await scaffold({projectRoot, configs: {}});
if (await test({projectRoot})) {
await lift({projectRoot, packageManager: packageManagers.NPM});
}
})();
$ nvm install
$ npm install
$ npm test