This repository was archived by the owner on Mar 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.73 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.73 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "composable-http-client",
"description": "A TypeScript-first composable HTTP client library that revolutionizes API interactions through procedure builders, schema validation, and intelligent retry logic.",
"version": "1.2.1",
"publisher": "thedammyking",
"repository": {
"type": "git",
"url": "https://github.com/thedammyking/composable-http-client.git"
},
"author": "Oluwadamilola Babalola<kingdammie@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/thedammyking/composable-http-client",
"bugs": {
"url": "https://github.com/thedammyking/composable-http-client/issues"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./axios": {
"types": "./dist/axios.d.ts",
"import": "./dist/axios.js",
"require": "./dist/axios.cjs"
},
"./fetch": {
"types": "./dist/fetch.d.ts",
"import": "./dist/fetch.js",
"require": "./dist/fetch.cjs"
},
"./errors": {
"types": "./dist/errors.d.ts",
"import": "./dist/errors.js",
"require": "./dist/errors.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly --declaration --outDir dist",
"dev": "vite build --watch",
"test": "vitest",
"test:run": "vitest run --reporter=junit --outputFile=test-report.junit.xml",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write src/**/*.{ts,json,md}",
"format:check": "prettier --check src/**/*.{ts,json,md}",
"typecheck": "tsc --noEmit",
"typecheck:strict": "tsc --project tsconfig.dev.json",
"typecheck:watch": "tsc --noEmit --watch",
"security": "pnpm audit --audit-level high",
"security:fix": "pnpm audit --fix",
"size": "npm run build && npm run size:check",
"size:check": "echo '=== Bundle Sizes ===' && ls -lh dist/*.{js,cjs} | awk '{printf \"%-25s %s\\n\", $9, $5}' && echo '\n=== Total Package Size ===' && du -sh dist/ && echo '\n=== Gzipped Sizes ===' && gzip -9 -c dist/index.js | wc -c | awk '{printf \"index.js (gzipped): %s bytes\\n\", $1}' && gzip -9 -c dist/index.cjs | wc -c | awk '{printf \"index.cjs (gzipped): %s bytes\\n\", $1}'",
"prepare": "husky"
},
"keywords": [
"http",
"client",
"composable",
"typescript",
"zod",
"axios",
"fetch",
"retry",
"validation",
"framework-agnostic",
"nodejs",
"browser",
"universal",
"http-client",
"composable-http",
"composable-http-client",
"composable-http-client-library"
],
"packageManager": "pnpm@10.13.1",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"axios": "^1.10.0",
"zod": "^4.0.5"
},
"devDependencies": {
"@codecov/vite-plugin": "^1.9.1",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.31.0",
"@types/node": "^24.0.15",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"@vitest/coverage-v8": "^3.2.4",
"all-contributors-cli": "^6.26.1",
"eslint": "^9.31.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"msw": "^2.10.4",
"prettier": "^3.6.2",
"typescript": "^5.8.3",
"vite": "^7.0.5",
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.2.4"
},
"lint-staged": {
"*.{ts}": [
"eslint src --ext .ts",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"pnpm": {
"overrides": {
"brace-expansion": "^2.0.2"
}
}
}