-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 1.32 KB
/
package.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "element-in-viewport",
"version": "1.2.4",
"description": "Async module that resolves when a target element has entered the viewport at a threshold, using Intersection Observer API",
"main": "lib/element-in-viewport.js",
"scripts": {
"lib": "npm run clean && babel src -d lib",
"clean": "rm -rf lib && mkdir lib",
"pretty": "pretty-quick",
"prepublish": "npm run lib",
"test": "jest"
},
"files": [
"lib",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/smrubin/element-in-viewport.git"
},
"author": "Sam Rubin",
"license": "MIT",
"keywords": [
"intersection",
"observer",
"IntersectionObserver",
"viewport",
"element",
"detect",
"detection",
"enter",
"entered"
],
"bugs": {
"url": "https://github.com/smrubin/element-in-viewport/issues"
},
"homepage": "https://github.com/smrubin/element-in-viewport#readme",
"dependencies": {
"intersection-observer": "^0.7.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-jest": "^24.9.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"pretty-quick": "^1.11.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}