Add pre-commit hooks

This commit is contained in:
Alex Dima 2021-11-15 11:13:52 +01:00
parent edb439d4f6
commit e8dabe034a
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
5 changed files with 333 additions and 1 deletions

View file

@ -94,6 +94,7 @@ gulp.task(
var json = JSON.parse(data.contents.toString());
json.private = false;
data.contents = Buffer.from(JSON.stringify(json, null, ' '));
delete json.scripts['postinstall'];
this.emit('data', data);
})
)