-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
57 lines (57 loc) · 1.53 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
{
"name": "use-screen-size",
"version": "1.4.11",
"description": "A React hook to get the current screen size and breakpoint or write conditional code based on screen size",
"main": "dist/use-screen-size.umd.js",
"module": "dist/use-screen-size.es.js",
"types": "dist/types/index.d.ts",
"files": [
"postinstall.js",
"dist"
],
"type": "module",
"scripts": {
"dev": "vite",
"clean": "rimraf dist",
"build": "npm run clean && vite build && tsc -p tsconfig.build.json",
"postinstall": "if [ -f ./postinstall.js ]; then node postinstall.js; else echo 'postinstall.js not found'; fi",
"lint": "eslint .",
"preview": "vite preview"
},
"keywords": [
"react",
"hook",
"screen-size",
"breakpoints",
"responsive"
],
"repository": {
"type": "git",
"url": "https://github.com/kingflamez/use-screen-size.git"
},
"peerDependencies": {
"react": ">=16.8.0 <19.0.0",
"react-dom": ">=16.8.0 <19.0.0"
},
"author": "@kingflamez",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.15.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.12.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^6.0.1",
"typescript": "~5.6.2",
"vite": "^6.0.1"
}
}