Package Exports
- generator-travis/generators/app
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 (generator-travis) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
generator-travis
Get up-to-date travis config
You will get up-do-date travis config and will not loose existing config.
Install
npm install --global yo generator-travis
Usage
yo travis
Composability
Composability is a way to combine smaller parts to make one large thing. Sort of like Voltron ®
— Yeoman docs
Just plug in travis into your generator and forget about keeping travis configs up to date. This package will do it for you and your generator’s consumers. Everybody wins.
Add it to your generator
npm install --save generator-travis
Compose it with your generator
writing: function () {
this.composeWith('travis', {}, {
local: require.resolve('generator-travis/generators/app')
});
},
Compose it with your generator using config
option
If you want somehow extend default config, define you extra fields to config
field.
writing: function () {
this.composeWith('travis', { options: {
config: { after_script: ['npm run coveralls'] }
}}, {
local: require.resolve('generator-travis/generators/app')
});
},
Requirements or public contract
This generator will be "up-to-date" and suitable for at least these generators:
License
MIT © Vladimir Starkov