format the package.json file

Original commit: elastic/kibana-plugin-helpers@c474820bb5
This commit is contained in:
Joe Fleming 2016-12-16 18:09:09 -07:00
parent a145458138
commit 5bc1308422

View file

@ -101,7 +101,7 @@ module.exports = function (plugin) {
date: new Date().toString()
};
file.contents = toBuffer(JSON.stringify(pkg));
file.contents = toBuffer(JSON.stringify(pkg, null, 2));
}
return file;