Skip to content

Instantly share code, notes, and snippets.

@SamVerschueren
Last active June 27, 2017 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamVerschueren/2ee836de71fb9726a2e85dd391b63d29 to your computer and use it in GitHub Desktop.
Save SamVerschueren/2ee836de71fb9726a2e85dd391b63d29 to your computer and use it in GitHub Desktop.
transformation function
'use strict';
const transform = pkg => {
pkg.license = 'MIT';
return pkg;
};
exports.transformations = [
{
transform,
commit: 'change license to MIT',
push: true,
files: [
'package.json'
]
}
];
'use strict';
const transform = pkg => {
pkg.license = 'MIT';
return pkg;
};
exports.transformations = [
{
transform,
files: [
'package.json'
]
},
'change license to MIT',
{
transformFoo,
files: [
'foo.json'
]
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment