-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
101 lines (101 loc) · 2.74 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
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
{
"name": "@zayne-labs/callapi",
"version": "0.8.0",
"type": "module",
"description": "A lightweight wrapper over fetch with quality of life improvements like built-in request cancellation, retries, interceptors and more",
"repository": {
"type": "git",
"url": "https://github.com/zayne-labs/call-api.git"
},
"homepage": "https://github.com/zayne-labs/call-api#readme",
"bugs": {
"url": "https://github.com/zayne-labs/call-api/issues"
},
"license": "MIT",
"author": "Ryan Zayne",
"main": "./dist/esm/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"prepare": "husky",
"test:check-types": "tsc --pretty --incremental -p tsconfig.json",
"test:format": "prettier --cache --write .",
"test:lint": "eslint src/**/*.ts --cache --max-warnings 0 --report-unused-disable-directives",
"test:size": "size-limit",
"test:publint": "publint --strict .",
"test:attw": "attw --pack . --exclude-entrypoints utils",
"test:release": "pkg-pr-new publish",
"build": "tsup",
"build:dev": "concurrently --prefix-colors \"yellow.bold,#7da4f8.bold,magenta\" --names PUBLINT,TSUP,ATTW 'pnpm:test:publint' \"pnpm build --watch\" 'pnpm:test:attw'",
"version-package": "changeset version",
"release": "changeset publish"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.cjs"
}
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.1",
"@changesets/cli": "2.27.8",
"@eslint/js": "9.12.0",
"@size-limit/esbuild-why": "11.1.4",
"@size-limit/preset-small-lib": "11.1.4",
"@stylistic/eslint-plugin": "2.8.0",
"@total-typescript/ts-reset": "0.6.1",
"@types/eslint": "9.6.1",
"@zayne-labs/tsconfig": "0.1.1",
"concurrently": "9.0.1",
"eslint": "9.12.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import-x": "4.3.1",
"eslint-plugin-jsdoc": "50.3.1",
"eslint-plugin-perfectionist": "3.8.0",
"eslint-plugin-unicorn": "56.0.0",
"eslint-typegen": "0.3.1",
"globals": "15.10.0",
"husky": "9.1.5",
"lint-staged": "15.2.10",
"pkg-pr-new": "0.0.24",
"prettier": "3.3.3",
"publint": "0.2.10",
"size-limit": "11.1.4",
"terser": "5.34.1",
"tsup": "8.3.0",
"typescript": "5.6.2",
"typescript-eslint": "8.8.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"files": [
"dist"
],
"size-limit": [
{
"path": "./src/index.ts",
"limit": "2 kb"
}
],
"sideEffects": false,
"keywords": [
"fetch",
"api",
"wrapper",
"request",
"cancel",
"retry",
"interceptor"
],
"packageManager": "pnpm@9.9.0",
"engines": {
"node": ">=18.17.x"
}
}