Closed rvanbaalen closed 10 years ago
Please support bower.json 'main' property as described here:
bower.json
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
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.
Good idea.
Fixed via https://github.com/driftyco/ionic/commit/c180a39f1f4625fa64991cdd283d04b5824f371b
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:The Ionicons repository is already using this: https://github.com/driftyco/ionicons/blob/master/bower.json