mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
The section on Git hook was previously commented out, but it is now included in the README.md file. * 🐛 fix(package.json): change cli file extension from .mjs to .cjs * 🚀 chore(package.json): remove unnecessary banner from build script The cli file extension has been changed from .mjs to .cjs to ensure compatibility with Node.js versions that do not support ECMAScript modules. The banner in the build script has been removed as it is no longer necessary with the change in file extension. * 🐛 fix(githook.ts): change HOOK_PATH to HOOK_URL The HOOK_PATH variable was changed to HOOK_URL to fix an issue where the symlink was not being created correctly. The HOOK_URL variable now uses the __filename global variable to get the path of the current file. * 🐛 fix(tsconfig.json): change target to ES2020 and module to CommonJS The target version of JavaScript has been changed to ES2020 to take advantage of the latest features of the language. The module has been changed to CommonJS to ensure compatibility with Node.js.
66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"name": "opencommit",
|
|
"version": "0.0.19",
|
|
"description": "AI generates conventional commits with mind-blowing accuracy.",
|
|
"keywords": [
|
|
"git",
|
|
"chatgpt",
|
|
"gpt",
|
|
"ai",
|
|
"openai",
|
|
"commit"
|
|
],
|
|
"main": "cli.js",
|
|
"bin": {
|
|
"opencommit": "./out/cli.cjs",
|
|
"oc": "./out/cli.cjs"
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/di-sukharev/opencommit"
|
|
},
|
|
"type": "module",
|
|
"author": "https://github.com/di-sukharev",
|
|
"license": "ISC",
|
|
"files": [
|
|
"out/**/*"
|
|
],
|
|
"release": {
|
|
"branches": [
|
|
"master"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"watch": "npm run -S build -- --sourcemap --watch",
|
|
"start": "node ./out/cli.cjs",
|
|
"dev": "ts-node ./src/cli.ts",
|
|
"build": "rimraf out && esbuild ./src/cli.ts --bundle --outfile=out/cli.cjs --format=cjs --platform=node",
|
|
"deploy": "npm run build && npm version patch && npm publish",
|
|
"lint": "eslint src --ext ts && tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ini": "^1.3.31",
|
|
"@types/inquirer": "^9.0.3",
|
|
"@types/node": "^16.18.14",
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
"@typescript-eslint/parser": "^5.45.0",
|
|
"dotenv": "^16.0.3",
|
|
"esbuild": "^0.15.18",
|
|
"eslint": "^8.28.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.6.1",
|
|
"axios": "^1.3.4",
|
|
"chalk": "^5.2.0",
|
|
"cleye": "^1.3.2",
|
|
"execa": "^7.0.0",
|
|
"ini": "^3.0.1",
|
|
"inquirer": "^9.1.4",
|
|
"openai": "^3.2.1"
|
|
}
|
|
}
|