Add "unpkg" field to package.json

This makes <https://unpkg.com/bulma> CDN redirect to the CSS file,
not "bulma.sass" as the fallback "main" field.
This commit is contained in:
George Cheng 2018-09-06 11:01:05 +08:00 committed by Jeremy Thomas
parent c8272cfbb6
commit dc1d46ea73

View File

@ -5,6 +5,7 @@
"author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)", "author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)",
"description": "Modern CSS framework based on Flexbox", "description": "Modern CSS framework based on Flexbox",
"main": "bulma.sass", "main": "bulma.sass",
"unpkg": "css/bulma.css",
"style": "bulma/css/bulma.min.css", "style": "bulma/css/bulma.min.css",
"repository": { "repository": {
"type": "git", "type": "git",