Skip to content

Commit

Permalink
Expose CSS in npm package.
Browse files Browse the repository at this point in the history
See twbs/bootstrap#12441 and http://stackoverflow.com/questions/32037150/style-field-in-package-json

Usage with `rework-npm`:

In your `.css` file....

    @import 'ionicons';
  • Loading branch information
colllin committed Jan 14, 2016
1 parent 0bf7d6b commit c041231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "Premium icons for Ionic.",
"version": "3.0.0-alpha.3",
"files": ["dist"],
"style": "./dist/css/ionicons.css",
"keywords": ["ionicons", "ionic", "icon", "svg", "font", "mobile"],
"homepage": "http://ionicons.com/",
"author": {
Expand All @@ -26,4 +27,4 @@
"engines" : {
"node" : ">=0.10.3"
}
}
}

0 comments on commit c041231

Please sign in to comment.