-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.74 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
{
"name": "react-viewport-detect",
"version": "2.0.2",
"private": false,
"description": "A React hook to detect if an HTML Element has been display in the viewport. This is easy to use. You just have to provide an react ref. By default it freeze the value when the element has been display. That is nice to triggered one time animation !",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/Alexandrebdry/react-in-viewport"
},
"keywords": [
"react", "react hook", "intersection observer" , "react viewport" , "react viewport detect" , "freeze" , "react animation" , "trigger animation"
],
"author": "alexandre baudry",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/Alexandrebdry/react-in-viewport/issues"
},
"homepage": "https://github.com/Alexandrebdry/react-in-viewport#readme",
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/plugin-transform-react-jsx-compat": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.20.0",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.1.0",
"babel-preset-es2015": "^6.24.1",
"eslint": "^8.36.0",
"react": "^18.2.0",
"rollup": "^3.20.2",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-node-externals": "^5.0.1"
},
"peerDependencies": {
"react": "^18.2.0"
}
}