Skip to content

Commit 03828f0

Browse files
committed
Update README, package.json
1 parent 18cfd85 commit 03828f0

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@
1313

1414
## How to use
1515

16+
Install with npm:
17+
18+
Download from the GitHub repository, or `npm install @chrishow/masonry-component`.
19+
1620
Include the javascript:
1721

1822
```javascript
19-
<script src="path/to/masonry-component.js"></script>
23+
<script src="path/to/masonry-component.min.js"></script>
2024
```
2125

2226
Add the HTML:

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "masonry-component",
3-
"version": "0.1.0",
4-
"description": "A A simple but performant Web Component for 'masonry' style layouts.",
2+
"name": "@chrishow/masonry-component",
3+
"version": "1.0.0",
4+
"description": "A simple but performant Web Component for 'masonry' style layouts.",
55
"keywords": [
66
"web component",
77
"masonry",
@@ -17,7 +17,7 @@
1717
"bugs": {
1818
"url": "https://github.com/chrishow/masonry-component/issues"
1919
},
20-
"homepage": "https://github.com/chrishow/masonry-component",
20+
"homepage": "https://github.com/chrishow/masonry-component#readme",
2121
"module": "masonry-component.js",
2222
"main": "masonry-component.js",
2323
"source": "masonry-component.js",

0 commit comments

Comments
 (0)