From 0bf8354a2afc83dd7c2270dbb4f808645f8eaa87 Mon Sep 17 00:00:00 2001 From: Matt Lewis Date: Wed, 30 Sep 2015 12:37:02 +0100 Subject: [PATCH] Add npm and commonjs support --- index.js | 2 ++ package.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 index.js create mode 100644 package.json diff --git a/index.js b/index.js new file mode 100644 index 0000000..36e1e16 --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('./lrInfiniteScroll'); +module.exports = 'lrInfiniteScroll'; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..929f311 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "lr-infinite-scroll", + "version": "1.0.0", + "description": "Directive to register handler when an element is scrolled down near its end", + "browser": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/lorenzofox3/lrInfiniteScroll.git" + }, + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/lorenzofox3/lrInfiniteScroll/issues" + }, + "homepage": "https://github.com/lorenzofox3/lrInfiniteScroll#readme" +}