My initial goal with this PR has been to add @babel/core to the optionalDependencies list. This corrects issues in Yarn 2+ environments where Yarn expects packages to correctly assert their peer deps.
I also made some slight changes to improve Windows development quality of life:
use rimraf instead of implicit rm command
add typings field to package
update babel cli invocation to use double-quotes in extension list
I also added a typings field so that dowstream consumers can pick up the typings if they wish.
My initial goal with this PR has been to add
@babel/core
to the optionalDependencies list. This corrects issues in Yarn 2+ environments where Yarn expects packages to correctly assert their peer deps.I also made some slight changes to improve Windows development quality of life:
rimraf
instead of implicitrm
commandI also added a
typings
field so that dowstream consumers can pick up the typings if they wish.