-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.75 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.75 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
74
75
76
77
78
{
"name": "use-split-view",
"version": "0.2.0",
"description": "Headless React hook for split-view side-by-side comparison with zoom/pan/pinch support",
"author": "nemezzizz",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/NemeZZiZZ/use-split-view.git"
},
"homepage": "https://nemezzizz.github.io/use-split-view",
"bugs": {
"url": "https://github.com/NemeZZiZZ/use-split-view/issues"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"LICENSE",
"CHANGELOG.md"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint . --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "npm run typecheck && npm run lint && npm run build"
},
"dependencies": {
"use-zoom-pinch": "^0.3.0"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/react": "^19.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"react": "^19.0.0",
"tsup": "^8.0.0",
"typescript": "^5.5.0",
"typescript-eslint": "^8.0.0"
},
"keywords": [
"react",
"split-view",
"side-by-side",
"comparison",
"before-after",
"image-comparison",
"zoom",
"pinch",
"pan",
"headless",
"react-hook"
]
}