-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
106 lines (106 loc) · 3.04 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
{
"name": "react-viewport-height",
"version": "1.2.2",
"description": "A utility for React to set 100vh equal to the actual browser inner window height.",
"repository": {
"type": "git",
"url": "https://github.com/dimazuien/react-viewport-height.git"
},
"homepage": "https://github.com/dimazuien/react-viewport-height#readme",
"keywords": [
"react",
"hook",
"viewport",
"scroll",
"vh",
"resize",
"window",
"screen",
"mobile"
],
"author": "Dima Zuien",
"funding": {
"type": "patreon",
"url": "https://www.patreon.com/dimazuien"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/dimazuien/react-viewport-height/issues"
},
"source": "src/index.ts",
"main": "lib/index.js",
"typings": "index.d.ts",
"files": [
"lib",
"index.d.ts"
],
"sideEffects": false,
"scripts": {
"prepare": "husky",
"build": "webpack",
"dts": "npx npm-dts generate -e src/index",
"lint": "eslint .",
"test": "jest",
"prepublishOnly": "pinst --disable",
"release": "semantic-release",
"postpublish": "pinst --enable"
},
"devDependencies": {
"@babel/core": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.27.0",
"@commitlint/cli": "19.8.0",
"@commitlint/config-conventional": "19.8.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.1",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.1",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.3",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "15.0.7",
"@testing-library/user-event": "14.6.1",
"@types/jest": "29.5.14",
"@types/react": "18.3.20",
"@types/react-dom": "18.3.5",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"babel-loader": "10.0.0",
"commitizen": "4.3.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jest-dom": "5.5.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.5",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-testing-library": "7.1.1",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.5.0",
"npm-dts": "1.3.13",
"pinst": "3.0.0",
"prettier": "3.5.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"semantic-release": "24.2.3",
"ts-jest": "29.3.0",
"ts-node": "10.9.2",
"typescript": "5.8.2",
"webpack": "5.98.0",
"webpack-cli": "6.0.1"
},
"peerDependencies": {
"react": "^16.8 || ^17 || ^18",
"react-dom": "^16.8 || ^17 || ^18"
}
}