Skip to content

Commit 536b4e4

Browse files
authored
Merge pull request #15 from ize-302/develop
chore: package gitmo cli into executables ♻️
2 parents 6e59b8f + c7808c0 commit 536b4e4

File tree

2 files changed

+50
-52
lines changed

2 files changed

+50
-52
lines changed

bun.lockb

41.6 KB
Binary file not shown.

package.json

Lines changed: 50 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,52 @@
11
{
2-
"name": "gitmo",
3-
"version": "1.0.0",
4-
"description": "A cli tool that adds appropriate emoji to your commit message based on conventional commits specification",
5-
"bin": {
6-
"gitmo": "./dist/index.js"
7-
},
8-
"type": "module",
9-
"scripts": {
10-
"build": "bun run build.mjs",
11-
"prepublishOnly": "bun run build",
12-
"clean": "rm -rf dist",
13-
"lint": "bunx @biomejs/biome check src",
14-
"lint:fix": "bun lint --write"
15-
},
16-
"engines": {
17-
"node": ">=18"
18-
},
19-
"files": [
20-
"dist"
21-
],
22-
"license": "MIT",
23-
"repository": {
24-
"type": "git",
25-
"url": "git+https://github.com/ize-302/gitmo.git"
26-
},
27-
"keywords": [
28-
"emoji",
29-
"conventional commit"
30-
],
31-
"author": {
32-
"name": "ize-302",
33-
"email": "[email protected]",
34-
"url": "https://ize-302.dev"
35-
},
36-
"bugs": {
37-
"url": "https://github.com/ize-302/gitmo/issues"
38-
},
39-
"homepage": "https://github.com/ize-302/gitmo",
40-
"dependencies": {
41-
"commander": "^12.1.0",
42-
"prompts": "^2.4.2",
43-
"shelljs": "^0.8.5"
44-
},
45-
"devDependencies": {
46-
"@biomejs/biome": "1.9.0",
47-
"@types/bun": "latest",
48-
"@types/prompts": "^2.4.9",
49-
"@types/shelljs": "^0.8.15",
50-
"typescript": "^5.6.2"
51-
},
52-
"module": "index.ts",
53-
"main": "dist/index.js"
2+
"name": "gitmo",
3+
"version": "1.0.0",
4+
"description": "A cli tool that adds appropriate emoji to your commit message based on conventional commits specification",
5+
"bin": {
6+
"gitmo": "./dist/index.js"
7+
},
8+
"type": "module",
9+
"scripts": {
10+
"build": "bun run build:cli && bun run build:executables",
11+
"prepublishOnly": "bun run build",
12+
"clean": "rm -rf dist",
13+
"lint": "bunx @biomejs/biome check src",
14+
"lint:fix": "bun lint --write",
15+
"build:cli": "bun build src/index.ts --target node --outfile dist/index.js --external shelljs --minify",
16+
"build:executables": "pkg ./dist/index.js --output ./bin/gitmo --targets latest-linux-x64,latest-macos-x64,latest-win-x64"
17+
},
18+
"engines": {
19+
"node": ">=18"
20+
},
21+
"files": ["dist"],
22+
"license": "MIT",
23+
"repository": {
24+
"type": "git",
25+
"url": "git+https://github.com/ize-302/gitmo.git"
26+
},
27+
"keywords": ["emoji", "conventional commit"],
28+
"author": {
29+
"name": "ize-302",
30+
"email": "[email protected]",
31+
"url": "https://ize-302.dev"
32+
},
33+
"bugs": {
34+
"url": "https://github.com/ize-302/gitmo/issues"
35+
},
36+
"homepage": "https://github.com/ize-302/gitmo",
37+
"dependencies": {
38+
"commander": "^12.1.0",
39+
"pkg": "^5.8.1",
40+
"prompts": "^2.4.2",
41+
"shelljs": "^0.8.5"
42+
},
43+
"devDependencies": {
44+
"@biomejs/biome": "1.9.0",
45+
"@types/bun": "latest",
46+
"@types/prompts": "^2.4.9",
47+
"@types/shelljs": "^0.8.15",
48+
"typescript": "^5.6.2"
49+
},
50+
"module": "index.ts",
51+
"main": "dist/index.js"
5452
}

0 commit comments

Comments
 (0)