Package Exports
- autogit-plugin-autocommit
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (autogit-plugin-autocommit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Autogit Plugin - Autocommit
A plugin for automatically making a commit when specific files change.
Install
npm install --save autogit-plugin-autocommitUsage
Options
This plugin uses the following options object:
{
message: '', // Commit message
paths: [] // When these paths change a commit will be made
}Configuration
Add this plugin to a command:
const autocommit = require ( 'autogit-plugin-autocommit' );
module.exports = {
commands: {
'my-command': [
autocommit ({ message: 'Readme: updated', paths: ['README.md'] })
]
}
}License
MIT © Fabio Spampinato