mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-15 00:28:30 -05:00
The .npmignore file is added to the project. It currently includes the file "out/github-action.cjs" to be ignored when publishing the package to npm. In the package.json file, the "files" field is updated to include the files "out/cli.cjs" and "out/tiktoken_bg.wasm". This ensures that these files are included when publishing the package to npm. The "deploy" script in the package.json file is also updated to include pushing tags to the remote repository using "git push --tags". This ensures that the newly created version tags are pushed along with the code changes.
83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"name": "opencommit",
|
|
"version": "3.0.0",
|
|
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
|
"keywords": [
|
|
"git",
|
|
"chatgpt",
|
|
"gpt",
|
|
"ai",
|
|
"openai",
|
|
"opencommit",
|
|
"aicommit",
|
|
"aicommits",
|
|
"gptcommit",
|
|
"commit"
|
|
],
|
|
"main": "cli.js",
|
|
"bin": {
|
|
"opencommit": "./out/cli.cjs",
|
|
"oco": "./out/cli.cjs"
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/di-sukharev/opencommit"
|
|
},
|
|
"type": "module",
|
|
"author": "https://github.com/di-sukharev",
|
|
"license": "MIT",
|
|
"files": [
|
|
"out/cli.cjs",
|
|
"out/tiktoken_bg.wasm"
|
|
],
|
|
"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 && node esbuild.config.js",
|
|
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
|
"deploy": "npm run build:push && npm version patch && git push --tags && npm publish --tag latest",
|
|
"lint": "eslint src --ext ts && tsc --noEmit",
|
|
"format": "prettier --write src"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/types": "^17.4.4",
|
|
"@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",
|
|
"prettier": "^2.8.4",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^5.1.1",
|
|
"@clack/prompts": "^0.6.1",
|
|
"@dqbd/tiktoken": "^1.0.2",
|
|
"@octokit/webhooks-schemas": "^6.11.0",
|
|
"@octokit/webhooks-types": "^6.11.0",
|
|
"axios": "^1.3.4",
|
|
"chalk": "^5.2.0",
|
|
"cleye": "^1.3.2",
|
|
"crypto": "^1.0.1",
|
|
"execa": "^7.0.0",
|
|
"ignore": "^5.2.4",
|
|
"ini": "^3.0.1",
|
|
"inquirer": "^9.1.4",
|
|
"openai": "^3.2.1"
|
|
}
|
|
}
|