mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-14 16:18:02 -05:00
* 🐛 fix(githook.ts): change cli file path to match new extension
The cli file extension has been changed from .cjs to .mjs to improve compatibility with Node.js ESM modules. The file path in githook.ts has been updated to match the new extension.
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "opencommit",
|
|
"version": "0.0.18",
|
|
"description": "AI generates conventional commits with mind-blowing accuracy.",
|
|
"keywords": [
|
|
"git",
|
|
"chatgpt",
|
|
"gpt",
|
|
"ai",
|
|
"openai",
|
|
"commit"
|
|
],
|
|
"main": "cli.js",
|
|
"bin": {
|
|
"opencommit": "./out/cli.mjs",
|
|
"oc": "./out/cli.mjs"
|
|
},
|
|
"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.mjs",
|
|
"dev": "ts-node ./src/cli.ts",
|
|
"build": "rimraf out && esbuild ./src/cli.ts --bundle --outfile=out/cli.mjs --format=esm --platform=node --banner:js=\"import {createRequire} from 'module';const require=createRequire(import.meta.url);\"",
|
|
"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"
|
|
}
|
|
}
|