forked from fkhadra/react-on-screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "react-on-screen",
"version": "2.0.4",
"description": "A wrapper component to track if your react component is visible on screen",
"keywords": [
"react",
"viewport",
"react-component",
"visible",
"track",
"react-on-screen",
"screen"
],
"main": "lib/index.js",
"typings": "./index.d.ts",
"scripts": {
"lint": "eslint src/",
"pretest": "npm run lint",
"test": "jest",
"test:coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"prebuild": "npm run test",
"build": "NODE_ENV=production ./scripts/build.sh",
"build-dev": "NODE_ENV=developement ./scripts/build.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fkhadra/react-on-screen.git"
},
"author": "Fadi Khadra <[email protected]> (https://fkhadra.github.io)",
"license": "MIT",
"bugs": {
"url": "https://github.com/fkhadra/react-on-screen/issues"
},
"homepage": "https://github.com/fkhadra/react-on-screen#readme",
"jest": {
"verbose": true,
"setupFiles": [
"raf/polyfill",
"<rootDir>/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"devDependencies": {
"@types/react": "^16.0.18",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-react-app": "^3.0.3",
"coveralls": "^3.0.0",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.0",
"enzyme-to-json": "^3.1.4",
"eslint": "^4.7.2",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.37.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.4.0",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"raf": "^3.4.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"sinon": "^2.1.0",
"webpack": "^3.8.1"
},
"dependencies": {
"lodash.throttle": "^4.1.1",
"prop-types": "^15.6.0",
"shallowequal": "^1.0.2"
},
"peerDependencies": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
}
}