Skip to content

Commit

Permalink
Dependencies bump and small docs addition
Browse files Browse the repository at this point in the history
  • Loading branch information
marcamos committed Oct 8, 2020
1 parent c4b6a6f commit ed97530
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 31 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ https://theoutfit-fadable.netlify.app/

## How to Implement
1. Install it: `npm i @theoutfit/fadable --save`
2. Call it: `fadable()`
3. Class it: add a class of `fadable` to any element
2. Import it: <code>import fadable from '@theoutfit/fadable'</code>
3. Call it: `fadable()`
4. Class it: add a class of `fadable` to any element

## Configuration
Property | Type | Default | Description
Expand Down
3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<main>

<section class="fadable">
<div>
<h1>Fadable</h1>
Expand Down Expand Up @@ -44,6 +44,7 @@ <h1>This box <em>probably</em> faded in</h1>
<h1>Add Fadable to your project</h1>
<ol>
<li>Install it: <kbd>npm i @theoutfit/fadable --save</kbd></li>
<li>Import it: <code>import fadable from '@theoutfit/fadable'</code></li>
<li>Call it: <code>fadable()</code></li>
<li>Class it: add a class of <code>fadable</code> to any element</li>
</ol>
Expand Down
56 changes: 32 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theoutfit/fadable",
"version": "3.0.3",
"version": "3.0.4",
"description": "Fade in elements as they move into view, at both the bottom and top of the viewport.",
"main": "dist/fadable.min.js",
"scripts": {
Expand All @@ -12,16 +12,21 @@
"type": "git",
"url": "git+https://github.com/fromtheoutfit/fadable.git"
},
"keywords": ["fade-in", "fade-out", "fade", "fades"],
"keywords": [
"fade-in",
"fade-out",
"fade",
"fades"
],
"author": "The Outfit, Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/fromtheoutfit/fadable/issues"
},
"homepage": "https://github.com/fromtheoutfit/fadable/#readme",
"devDependencies": {
"rollup": "^2.26.4",
"rollup-plugin-terser": "^7.0.0"
"rollup": "^2.29.0",
"rollup-plugin-terser": "^7.0.2"
},
"files": [
"dist"
Expand Down

0 comments on commit ed97530

Please sign in to comment.