-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.94 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.94 KB
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
{
"name": "react-load-visible",
"version": "1.0.9",
"description": "A wrapper for @loadable/component that uses IntersectionObserver to trigger component load.",
"repository": "https://github.com/tmns/react-load-visible",
"author": "tmns",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"prepublishOnly": "pnpm run build",
"release": "bumpp --commit --push --tag && npm publish",
"lint": "eslint --ext=js,ts,jsx,tsx .",
"lint:fix": "eslint --ext=js,ts,jsx,tsx . --fix",
"test": "jest --watch",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{ts,tsx}": "prettier --write --ignore-unknown"
},
"jest": {
"testEnvironment": "jsdom"
},
"peerDependencies": {
"@loadable/component": ">=5.0.0",
"react": ">=16.8.6"
},
"devDependencies": {
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@loadable/component": "^5.15.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.0.3",
"@types/loadable__component": "^5.13.4",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"bumpp": "^8.2.1",
"esbuild": "^0.15.9",
"eslint": "^8.24.0",
"husky": "^8.0.1",
"jest": "^29.1.1",
"jest-environment-jsdom": "^29.1.1",
"lint-staged": "^13.0.3",
"prettier": "2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^6.2.3",
"typescript": "^4.8.4"
},
"keywords": [
"react",
"loadable",
"component",
"lazy",
"intersection",
"observer",
"visible"
]
}