-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.35 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
{
"name": "use-screen",
"version": "3.0.0",
"description": "custom react hook for screen and device information",
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"typings": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
}
},
"keywords": [
"screen",
"use screen",
"responsive",
"screen width",
"hooks",
"react"
],
"files": [
"dist"
],
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run build:lib && npm run build:app",
"build:lib": "tsc && vite build",
"build:app": "tsc && vite build --config vite.example.config.ts",
"dev:lib": "vite",
"preview": "vite preview --config vite.example.config.ts",
"dev:app": "vite --config vite.example.config.ts",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test": "vitest --coverage",
"prepare": "npm run build"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alioguzhan/use-screen.git"
},
"author": "Ali Oguzhan Yildiz <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/alioguzhan/use-screen/issues"
},
"homepage": "https://github.com/alioguzhan/use-screen#readme",
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"jsdom": "^25.0.1",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-ionicons": "^4.2.1",
"typescript": "^5.7.2",
"vite": "^6.0.6",
"vite-plugin-dts": "^4.4.0",
"vitest": "^2.1.8"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
}