-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.72 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.72 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
{
"name": "@catlike14/use-object-url",
"version": "1.0.0",
"description": "A React hook for managing object URLs with automatic cleanup and reference counting",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vite build && tsc -p tsconfig.app.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"keywords": [
"react",
"hook",
"use-object-url",
"blob",
"url",
"createObjectURL",
"revokeObjectURL"
],
"author": "Mattia Alfonso",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Catlike14/use-object-url.git"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"sideEffects": false,
"devDependencies": {
"@eslint/js": "^9.39.1",
"@testing-library/react": "^16.1.0",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/coverage-v8": "^3.0.0",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.5.0",
"jsdom": "^26.0.0",
"prettier": "^3.4.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.4",
"vitest": "^3.0.0"
}
}