forked from researchgate/react-intersection-observer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.25 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@researchgate/react-intersection-observer",
"description": "React component for the Intersection Observer API",
"version": "0.7.4",
"author": "Luis Merino <mail@luismerino.name>",
"bugs": {
"url": "https://github.com/researchgate/react-intersection-observer/issues"
},
"dependencies": {
"invariant": "^2.2.2",
"prop-types": "^15.6.0",
"warning": "^4.0.2"
},
"devDependencies": {
"@researchgate/babel-preset-rg": "^1.0.1",
"@researchgate/eslint-config-rg-react": "^2.0.0",
"@storybook/addon-actions": "^3.2.16",
"@storybook/addon-knobs": "^3.4.4",
"@storybook/addon-options": "^3.2.16",
"@storybook/react": "^3.2.16",
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.0.0",
"babel-polyfill": "^6.26.0",
"conventional-github-releaser": "^2.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.4",
"eslint": "^4.11.0",
"eslint-config-prettier": "^2.8.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.3.0",
"eslint-plugin-react": "^7.5.1",
"husky": "^0.14.3",
"intersection-observer": "^0.5.0",
"jest": "^21.0.0",
"lint-staged": "^6.0.0",
"prettier": "^1.8.2",
"raf": "^3.4.0",
"raw-loader": "^1.0.0-beta.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.4.0",
"rimraf": "^2.6.1",
"standard-version": "^4.2.0",
"storybook-readme": "^3.1.1",
"style-loader": "^0.19.0",
"typescript": "^2.6.2",
"validate-commit-msg": "^2.14.0"
},
"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",
"lint-staged": {
"{src,docs/docs}/**/*.js": [
"eslint --fix",
"git add"
]
},
"main": "lib/js/index.js",
"module": "lib/es/index.js",
"peerDependencies": {
"react": ">=15",
"react-dom": ">=15"
},
"repository": {
"type": "git",
"url": "https://github.com/researchgate/react-intersection-observer"
},
"jest": {
"rootDir": "src",
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"setupFiles": [
"raf/polyfill"
]
},
"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__ --copy-files",
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files",
"build:storybook": "build-storybook --output-dir docs",
"clear": "rimraf ./lib",
"commitmsg": "validate-commit-msg",
"coverage": "yarn test -- --coverage",
"create-github-release": "conventional-github-releaser -p angular",
"format": "eslint --fix {src,docs/docs}/**/*.js",
"lint": "eslint {src,docs/docs}/. && tsc --project types",
"precommit": "yarn lint-staged && yarn test",
"prepare": "yarn clear && yarn build",
"prepublishOnly": "yarn test",
"release": "standard-version",
"storybook": "start-storybook -p 9001 -c .storybook",
"test": "jest"
}
}