Skip to content

Commit 08cbf80

Browse files
author
Adrian Bece
committed
Update package.json & docs
1 parent 6f68341 commit 08cbf80

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@
33
Performant asynchronous font loading plugin for Gatsby.
44

55
:globe_with_meridians: Supports web fonts
6-
<br/>
6+
<br/><br/>
77
:house: Suports self-hosted fonts
8-
<br/>
8+
<br/><br/>
99
:trident: Loads fonts asynchronously to avoid render blocking
10-
<br/>
10+
<br/><br/>
1111
:stopwatch: Implemented with [fast loading snippets](https://csswizardry.com/2020/05/the-fastest-google-fonts/)
12-
<br/>
12+
<br/><br/>
1313
:eyes: Loading status watcher for avoiding FOUT & FOUC
1414

15+
## Install
16+
17+
`npm install --save-dev gatsby-omni-font-loader`
18+
19+
or
20+
21+
`yarn add --dev gatsby-omni-font-loader`
22+
1523
## Configuration
1624

1725
Add the following snippet to `gatsby-config.js` plugins array.

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
],
1919
"author": "Adrian Bece <adrianbece@live.com>",
2020
"license": "MIT",
21+
"homepage": "https://github.com/codeAdrian/gatsby-omni-font-loader",
22+
"bugs": {
23+
"url": "https://github.com/codeAdrian/gatsby-omni-font-loader/issues"
24+
},
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/codeAdrian/gatsby-omni-font-loader"
28+
},
2129
"peerDependencies": {
2230
"gatsby": ">=1"
2331
}

0 commit comments

Comments
 (0)