-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.2 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.2 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
{
"name": "@freepik/commitgen",
"version": "0.1.5",
"description": "AI-powered git commit message generator",
"main": "index.js",
"bin": {
"commitgen": "./bin/commitgen.js"
},
"scripts": {
"build": "mkdir -p bin && echo '#!/usr/bin/env node\n' > bin/commitgen.js && echo 'const { execSync } = require(\"child_process\");\nconst args = process.argv.slice(2);\ntry {\n const result = execSync(\`commitgen ${args.join(\"' ')}\`, { stdio: \u0027inherit\' });\n} catch (error) {\n console.error(\`Error: ${error.message}\`);\n process.exit(1);\n}\n' >> bin/commitgen.js && chmod +x bin/commitgen.js",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "npm run build"
},
"keywords": [
"git",
"commit",
"ai",
"commitgen",
"freepik"
],
"author": "FreePeak <contact@freepeak.dev>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/FreePeak/commitgen.git"
},
"homepage": "https://github.com/FreePeak/commitgen",
"engines": {
"node": '>=18.0.0'
},
"files": [
"bin/",
"README.md",
"LICENSE"
],
"dependencies": {
"cross-spawn": "^7.0.3"
},
"devDependencies": {
"pkg": "^5.8.1"
}
}