forked from joshwnj/react-visibility-sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.17 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "react-visibility-sensor",
"version": "3.0.0",
"description": "Sensor component for React that notifies you when it goes in or out of the window viewport.",
"main": "visibility-sensor.js",
"scripts": {
"build-example": "mkdir -p example/dist && browserify -t reactify -o example/dist/bundle.js example/main.js",
"build-test": "browserify -t reactify -o tests/bundle.js tests/visibility-sensor-spec.jsx",
"publish-gh-pages": "npm run build-example && ./bin/publish-gh-pages",
"test": "npm run build-test && ./node_modules/karma/bin/karma start --single-run"
},
"keywords": [
"react",
"react-component",
"visibility"
],
"author": "joshwnj",
"license": "MIT",
"peerDependencies": {
"react": "^0.14.0",
"react-dom": "^0.14.0"
},
"devDependencies": {
"browserify": "^5.11.2",
"es5-shim": "^4.1.0",
"gh-pages": "^0.2.0",
"karma": "^0.12.31",
"karma-chrome-launcher": "^0.1.4",
"karma-mocha": "^0.1.9",
"karma-phantomjs-launcher": "^0.1.4",
"mocha": "^1.21.4",
"reactify": "^1.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/joshwnj/react-visibility-sensor.git"
}
}