-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.88 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
{
"name": "@codiume/hooks",
"version": "0.3.1",
"description": "A collection of reusable react hooks for state and UI management",
"homepage": "https://github.com/codiume/hooks.git",
"keywords": ["hooks", "library", "react", "react-hooks", "state"],
"author": "MHD <[email protected]>",
"contributors": [
{
"name": "MHD",
"url": "https://x.com/the_dijkstra"
}
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"prebuild": "pnpm check-lint && pnpm check-types",
"build": "tsup",
"postbuild": "pnpm check-exports",
"test": "vitest test",
"lint": "biome lint --write .",
"format": "biome format --write .",
"check-lint": "biome check src",
"check-exports": "attw --pack .",
"check-types": "tsc",
"changeset": "changeset",
"changeset:version": "changeset version && pnpm run format",
"changeset:publish": "pnpm build && changeset publish"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/codiume/hooks.git"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@biomejs/biome": "1.9.4",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@testing-library/react": "^16.1.0",
"@total-typescript/tsconfig": "^1.0.4",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.3.4",
"jsdom": "^25.0.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}