-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.27 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
{
"name": "use-screen",
"version": "2.0.0",
"description": "custom react hook for screen and device information",
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"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": ">=16"
},
"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.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-ionicons": "^4.2.1",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-dts": "^3.6.0",
"vitest": "^0.34.6"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}