Skip to content

Commit bf662bd

Browse files
update deps, bump version, add aliases
1 parent 0d1d617 commit bf662bd

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "littlejson",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Fast and lightweight CLI to compress JSON files",
55
"module": "dist/index.js",
66
"type": "module",
@@ -37,17 +37,17 @@
3737
"LICENSE"
3838
],
3939
"devDependencies": {
40-
"@eslint/js": "^9.20.0",
41-
"@types/bun": "^1.2.2",
42-
"eslint": "^9.20.0",
43-
"globals": "^15.14.0",
44-
"typescript-eslint": "^8.23.0"
40+
"@eslint/js": "^9.22.0",
41+
"@types/bun": "^1.2.5",
42+
"eslint": "^9.22.0",
43+
"globals": "^16.0.0",
44+
"typescript-eslint": "^8.26.1"
4545
},
4646
"peerDependencies": {
47-
"typescript": "^5.7.3"
47+
"typescript": "^5.8.2"
4848
},
4949
"dependencies": {
50-
"@msgpack/msgpack": "^3.0.0",
50+
"@msgpack/msgpack": "^3.1.1",
5151
"commander": "^13.1.0",
5252
"consola": "^3.4.0"
5353
}

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ async function decompressFile(
9292

9393
program
9494
.command("compress")
95+
.alias("c")
9596
.argument("<input-file>", "Path to the JSON input file")
9697
.argument("[output-file]", "Path to the output file")
9798
.action(async (inputFile, outputFile) => {
@@ -100,6 +101,7 @@ program
100101

101102
program
102103
.command("decompress")
104+
.alias("d")
103105
.argument("<input-file>", "Path to the ljson input file")
104106
.argument("[output-file]", "Path to the output file")
105107
.action(async (inputFile, outputFile) => {

0 commit comments

Comments
 (0)