-
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.1.3",
"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.8.3",
"@size-limit/preset-small-lib": "^11.1.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.3",
"@vitest/browser": "^2.0.5",
"bumpp": "^9.4.2",
"globby": "^14.0.2",
"husky": "^9.1.4",
"lint-staged": "^15.2.8",
"playwright": "^1.46.0",
"prettier": "^3.3.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"size-limit": "^11.1.4",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"packageManager": "[email protected]+sha256.dae0f7e822c56b20979bb5965e3b73b8bdabb6b8b8ef121da6d857508599ca35"
}