asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

Bower.json should not have minified "main" file #197

Open bfriedz opened 7 years ago

bfriedz commented 7 years ago

When I install the package with bower, I get this warning:

bower ng-csv#^0.3.6       invalid-meta for:/tmp/data/bower/.../bower.json
bower ng-csv#^0.3.6       invalid-meta The "main" field cannot contain minified files

Here's the warning in the source code: https://github.com/bower/bower/blob/d405917b4a6efdeeb24a2087680fd4163896ab8e/packages/bower-json/lib/json.js#L180-L182

Seems like the straightforward fix would be to have "main" point to the non-minified version.