-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.98 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 3.98 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
{
"name": "@stacksjs/httx",
"type": "module",
"version": "0.1.10",
"private": true,
"description": " A modern command-line & library HTTP client, for the API era. Like httpie, written in & for TypeScript.",
"author": "Chris Breuer <chris@stacksjs.org>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/httx",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/httx.git"
},
"bugs": {
"url": "https://github.com/stacksjs/httx/issues"
},
"keywords": [
"api",
"requests",
"cli",
"library",
"httpie",
"bun",
"stacks",
"typescript",
"javascript"
],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "bun --bun packages/httx/build.ts",
"compile": "bun build ./packages/httx/bin/cli.ts --compile --minify --outfile bin/httx",
"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 ./packages/httx/bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/httx-linux-x64",
"compile:linux-arm64": "bun build ./packages/httx/bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/httx-linux-arm64",
"compile:windows-x64": "bun build ./packages/httx/bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/httx-windows-x64.exe",
"compile:darwin-x64": "bun build ./packages/httx/bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/httx-darwin-x64",
"compile:darwin-arm64": "bun build ./packages/httx/bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/httx-darwin-arm64",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun --bun run build",
"package:bin": "bun run compile:all && bun run zip",
"test": "bun test",
"lint": "bunx --bun pickier .",
"lint:fix": "bunx --bun pickier . --fix",
"format": "bunx --bun pickier . --format",
"format:fix": "bunx --bun pickier . --format --write",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun --bun run changelog:generate && bunx --bun bumpx prompt --recursive",
"release:patch": "bun --bun run changelog:generate && bunx --bun bumpx patch --recursive --yes",
"publish:patch": "bun --bun run changelog:generate && bunx --bun bumpx patch --recursive --yes",
"release:minor": "bun --bun run changelog:generate && bunx --bun bumpx minor --recursive --yes && cd packages/httx && bun publish",
"release:major": "bun --bun run changelog:generate && bunx --bun bumpx major --recursive --yes && cd packages/httx && bun publish",
"typecheck": "bunx tsc --noEmit",
"dev:docs": "bun --bun bunpress dev docs",
"dev:devtools": "cd packages/devtools && bun serve.ts --port 4401",
"build:docs": "bun --bun bunpress build docs",
"preview:docs": "bun --bun bunpress preview docs",
"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/httx-linux-x64.zip bin/httx-linux-x64",
"zip:linux-arm64": "zip -j bin/httx-linux-arm64.zip bin/httx-linux-arm64",
"zip:windows-x64": "zip -j bin/httx-windows-x64.zip bin/httx-windows-x64.exe",
"zip:darwin-x64": "zip -j bin/httx-darwin-x64.zip bin/httx-darwin-x64",
"zip:darwin-arm64": "zip -j bin/httx-darwin-arm64.zip bin/httx-darwin-arm64"
},
"dependencies": {
"@stacksjs/stx": "0.2.10",
"stx-router": "0.2.10",
"ts-broadcasting": "^0.0.5",
"ts-error-handling": "^0.1.0"
},
"devDependencies": {
"better-dx": "^0.2.7",
"bunfig": "^0.15.6"
},
"git-hooks": {
"pre-commit": {
"stagedLint": {
"*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier lint --fix"
},
"autoRestage": true
},
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
}
}