mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Add pre-commit hooks
This commit is contained in:
parent
edb439d4f6
commit
e8dabe034a
5 changed files with 333 additions and 1 deletions
|
|
@ -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);
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue