-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 4.16 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 4.16 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
{
"name": "bun-queue",
"type": "module",
"version": "0.0.0",
"description": "A Redis-backed job queue built for Bun.",
"author": "Chris Breuer <chris@stacksjs.org>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/bun-queue#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/bun-queue.git"
},
"bugs": {
"url": "https://github.com/stacksjs/bun-queue/issues"
},
"keywords": [
"queue",
"job",
"redis",
"worker",
"task",
"scheduler",
"bun",
"typescript"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["README.md", "dist"],
"scripts": {
"build": "bun --bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/bin-name",
"compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64",
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/bin-name-linux-x64",
"compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/bin-name-linux-arm64",
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/bin-name-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/bin-name-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/bin-name-darwin-arm64",
"zip": "bun run zip:all",
"zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64",
"zip:linux-x64": "zip -j bin/bin-name-linux-x64.zip bin/bin-name-linux-x64",
"zip:linux-arm64": "zip -j bin/bin-name-linux-arm64.zip bin/bin-name-linux-arm64",
"zip:windows-x64": "zip -j bin/bin-name-windows-x64.zip bin/bin-name-windows-x64.exe",
"zip:darwin-x64": "zip -j bin/bin-name-darwin-x64.zip bin/bin-name-darwin-x64",
"zip:darwin-arm64": "zip -j bin/bin-name-darwin-arm64.zip bin/bin-name-darwin-arm64",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
"test": "bun test",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun run changelog:generate && bunx bumpx prompt --recursive",
"postinstall": "bunx git-hooks",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit",
"example:basic": "bun examples/basic.ts",
"example:advanced": "bun examples/advanced.ts",
"example:advanced-features": "bun examples/advanced-features.ts",
"example:priority-queue": "bun examples/priority-queue.ts",
"example:key-rate-limiting": "bun examples/key-rate-limiting.ts",
"example:distributed-locks": "bun examples/distributed-locks.ts",
"example:cron-jobs": "bun examples/cron-jobs.ts",
"example:dead-letter-queue": "bun examples/dead-letter-queue.ts"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.1.19",
"@stacksjs/docs": "^0.70.23",
"@stacksjs/eslint-config": "^4.10.2-beta.3",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.1.9",
"@types/bun": "^1.2.21",
"buddy-bot": "^0.8.10",
"bun-git-hooks": "^0.2.19",
"bun-plugin-dtsx": "^0.21.12",
"bunfig": "^0.8.3",
"typescript": "^5.9.2"
},
"overrides": {
"unconfig": "0.3.10"
},
"git-hooks": {
"pre-commit": {
"staged-lint": {
"*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix"
}
},
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
},
"workspaces": [
"packages/*"
]
}