forked from researchgate/react-intersection-observer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.52 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
82
83
84
85
86
87
88
89
90
{
"name": "@researchgate/react-intersection-observer",
"description": "React component for the Intersection Observer API",
"version": "1.0.5",
"author": "Luis Merino <[email protected]>",
"engines": {
"node": ">=10.0.0"
},
"bugs": {
"url": "https://github.com/researchgate/react-intersection-observer/issues"
},
"dependencies": {
"invariant": "^2.2.4",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@researchgate/babel-preset": "^1.2.1",
"@researchgate/spire-config": "^2.0.0",
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-knobs": "^5.0.11",
"@storybook/addon-options": "^5.0.11",
"@storybook/react": "^5.0.11",
"@types/react": "^16.9.13",
"babel-loader": "^8.0.6",
"cross-env": "^7.0.0",
"intersection-observer": "^0.7.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"spire": "^1.8.3",
"spire-plugin-semantic-release": "^1.8.2",
"storybook-readme": "^5.0.3",
"typescript": "^3.4.5"
},
"files": [
"lib",
"types/index.d.ts"
],
"types": "types/index.d.ts",
"homepage": "https://github.com/researchgate/react-intersection-observer#readme",
"keywords": [
"Intersection",
"Observer",
"react",
"component",
"viewport",
"visible",
"invisible",
"researchgate"
],
"license": "MIT",
"main": "lib/js/index.js",
"module": "lib/es/index.js",
"peerDependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/researchgate/react-intersection-observer.git"
},
"jest": {
"rootDir": "src",
"testMatch": [
"**/__tests__/**/*.spec.js"
]
},
"spire": {
"extends": "@researchgate/spire-config",
"plugins": [
"spire-plugin-semantic-release",
"<rootDir>/.spire/spire-plugin-tslint"
]
},
"scripts": {
"build": "yarn build:js && yarn build:es",
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore **/__tests__",
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore **/__tests__",
"build:storybook": "build-storybook -o .docs",
"lint": "spire lint",
"prepublishOnly": "yarn build",
"release": "spire release",
"storybook": "start-storybook -p 9001 -c .storybook",
"test": "spire test",
"ts:check": "tsc --project types"
},
"prettier": "@researchgate/prettier-config"
}