ionic-team / ionic-bower

Bower repository for Ionic
92 stars 109 forks source link

Add bower.json 'main' property #1

Closed rvanbaalen closed 10 years ago

rvanbaalen commented 10 years ago

Please support bower.json 'main' property as described here:

http://bower.io/#defining-a-package

This allows third party applications to read the main component files. Tools like bowerInstall utilize this property to allow a more automated workflow.

When I add this to Ionic's bower.json, it's all working as expected:

"main": [
  "./css/ionic.css",
  "./js/ionic.js",
  "./js/ionic-angular.js"
]

The Ionicons repository is already using this: https://github.com/driftyco/ionicons/blob/master/bower.json

rvanbaalen commented 10 years ago

I see that you already added this to the main repository. Please keep the main repository's bower.json in sync with this one :)

Much appreciated.

ajoslin commented 10 years ago

Good idea.

ajoslin commented 10 years ago

Fixed via https://github.com/driftyco/ionic/commit/c180a39f1f4625fa64991cdd283d04b5824f371b