lundi 12 novembre 2018

Ember addPackageToProject or addBowerPackageToProject

In an Ember app, I wanted to understand how addPackageToProject or addBowerPackageToProject exactly works ?

e.g. this.addPackageToProject('moment')

I understand this would update the package.json or bower.json of the host/parent app by adding 'moment' as a dependency. But does it also run npm install or bower install commands after that ?




Aucun commentaire:

Enregistrer un commentaire