react-in-viewport
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -46,2 +46,3 @@ 'use strict'; | ||
if (typeof window !== 'undefined') { | ||
// Polyfills for intersection-observer | ||
require('intersection-observer'); | ||
@@ -48,0 +49,0 @@ } |
{ | ||
"name": "react-in-viewport", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Track React component in viewport", | ||
@@ -19,19 +19,18 @@ "author": "Roderick Hsiao <roderickhsiao@gmail.com>", | ||
"storybook": "start-storybook -p 9010", | ||
"publish-storybook": "bash .scripts/publish_storybook.sh" | ||
"publish-storybook": "bash .scripts/publish_storybook.sh", | ||
"postpublish": "npm run publish-storybook" | ||
}, | ||
"devDependencies": { | ||
"react": "^15.3.2", | ||
"react-dom": "^15.3.2", | ||
"react-aspect-ratio": "^1.0.3", | ||
"babel-runtime": "^6.11.6", | ||
"@kadira/storybook": "^2.18.1", | ||
"babel-cli": "^6.14.0", | ||
"babel-core": "^6.14.0", | ||
"babel-eslint": "^6.1.2", | ||
"babel-loader": "^6.2.5", | ||
"babel-plugin-transform-runtime": "^6.15.0", | ||
"babel-polyfill": "^6.13.0", | ||
"babel-preset-react-app": "^0.2.1", | ||
"babel-cli": "^6.14.0", | ||
"babel-core": "^6.14.0", | ||
"babel-plugin-transform-runtime": "^6.15.0", | ||
"babel-runtime": "^6.11.6", | ||
"chai": "^3.5.0", | ||
"enzyme": "^2.2.0", | ||
"eslint": "^3.6.0", | ||
"babel-eslint": "^6.1.2", | ||
"eslint-config-airbnb": "^12.0.0", | ||
@@ -41,12 +40,10 @@ "eslint-plugin-import": "^1.16.0", | ||
"eslint-plugin-react": "^6.3.0", | ||
"git-url-parse": "^6.0.1", | ||
"jsdom": "^9.5.0", | ||
"mocha": "^3.0.2", | ||
"chai": "^3.5.0", | ||
"sinon": "^1.17.6", | ||
"enzyme": "^2.2.0", | ||
"react-addons-test-utils": "^15.3.2", | ||
"jsdom": "^9.5.0", | ||
"@kadira/storybook": "^2.18.1", | ||
"git-url-parse": "^6.0.1" | ||
"prop-types": "^15.5.4", | ||
"react": "^15.3.2", | ||
"react-aspect-ratio": "^1.0.3", | ||
"react-dom": "^15.3.2", | ||
"sinon": "^1.17.6" | ||
}, | ||
@@ -53,0 +50,0 @@ "peerDependencies": { |
8728
112