-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.63 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.63 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
{
"name": "@variablesoftware/ts-retry-backoff",
"description": "🎛️🔁🚀 A tiny, zero‑dependencies retry helper with exponential backoff + jitter—usable for KV, HTTP, Durable Objects, or any async function.",
"version": "0.3.3",
"author": {
"name": "Rob Friedman",
"email": "bunkcode@variablesoftware.com",
"url": "https://github.com/variablesoftware"
},
"keywords": [
"typescript",
"retry",
"backoff",
"exponential-backoff",
"jitter",
"async",
"promise",
"promise-retry",
"resilience",
"retries",
"exponential",
"failure",
"failure-recovery",
"timeout",
"delay",
"throttle",
"zero-dependencies"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"LICENSE.txt",
"README.md"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"type": "module",
"lint-staged": {
"**/*.{ts,js,mjs,cts}": "eslint --fix"
},
"scripts": {
"upgrade:latest": "pnpm self-update && pnpm up --latest",
"upgrade:all": "pnpm up --latest --recursive",
"bump": "git commit --allow-empty -m 'fix: empty commit bump to fix version. 🪄'",
"build": "tsc",
"prepare": "husky install",
"watch:build": "tsc --watch",
"build:release": "pnpm run build",
"minify:options": "pnpm terser --timings --compress --mangle --toplevel --source-map includeSources ",
"minify": "pnpm run minify:options dist/*.js --output dist/index.min.js",
"clean:all:tags": "rm -rf dist && git tag -d $(git tag)",
"dev": "pnpm vitest watch",
"format": "pnpm run format:all",
"format:all": "pnpm prettier --write --log-level error .",
"lint": "eslint --stats . --ext .ts,.tsx",
"lint:fix": "eslint --stats . --ext .ts,.tsx --fix-dry-run",
"lint:fix:nodry": "eslint --stats . --ext .ts,.tsx --fix",
"prettier:check": "pnpm prettier --check .",
"publish:pnpm": "pnpm publish --access public",
"test": "vitest run",
"watch:test": "pnpm vitest --watch",
"build:test": "pnpm run build && pnpm run test",
"clean": "rm -rf dist",
"prebuild": "pnpm run clean",
"prepack": "pnpm clean-pkg-json --dry",
"prepublishOnly": "pnpm run build:test",
":patch": "pnpm version patch",
":minor": "pnpm version minor",
":major": "pnpm version major",
"release": "semantic-release",
"release2": "pnpm run clean && pnpm run build:release && git push && git push --tags && pnpm publish --access public",
"release2:dry": "pnpm run clean && pnpm run build:release && npm pack --dry-run"
},
"engines": {
"node": ">=14"
},
"repository": {
"type": "git",
"url": "https://github.com/variablesoftware/ts-retry-backoff.git"
},
"devDependencies": {
"@eslint/config-inspector": "^1.5.0",
"@eslint/js": "^10.0.1",
"@microsoft/tsdoc": "^0.16.0",
"@microsoft/tsdoc-config": "^0.18.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.6",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"@vitest/coverage-v8": "3.2.4",
"clean-pkg-json": "^1.4.1",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-tsdoc": "^0.5.2",
"husky": "^9.1.7",
"prettier": "^3.8.2",
"semantic-release": "^25.0.3",
"terser": "^5.46.1",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
}
}