-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
71 lines (71 loc) · 1.8 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
{
"name": "@charlietango/hooks",
"version": "2.2.1",
"description": "Collection of React Hooks",
"files": ["dist/*"],
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/charlie-tango/hooks.git"
},
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*": {
"types": "./dist/hooks/*.d.ts",
"default": "./dist/hooks/*.js"
}
},
"scripts": {
"build": "tsup",
"lint": "biome check .",
"prepublishOnly": "pnpm build",
"release": "bumpp && npm publish",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
"biome check --apply --no-errors-on-unmatched"
],
"*.md": ["prettier --write"]
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.12",
"@vitest/browser": "^2.1.8",
"bumpp": "^9.8.1",
"globby": "^14.0.2",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"playwright": "^1.49.0",
"prettier": "^3.4.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"size-limit": "^11.1.6",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]+sha256.dae0f7e822c56b20979bb5965e3b73b8bdabb6b8b8ef121da6d857508599ca35"
}