package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "gptcli",
  3. "version": "0.0.0-semantic-release",
  4. "description": "",
  5. "scripts": {
  6. "preinstall": "touch ~/.gptrc",
  7. "watch": "pkgroll --watch",
  8. "build": "pkgroll --minify",
  9. "lint": "eslint --cache .",
  10. "type-check": "tsc",
  11. "test": "vitest",
  12. "prepack": "pnpm build && clean-pkg-json"
  13. },
  14. "keywords": [
  15. "ai",
  16. "git",
  17. "gpt",
  18. "chatgpt"
  19. ],
  20. "release": {
  21. "branches": [
  22. "main"
  23. ],
  24. "preset": "conventionalcommits",
  25. "extends": "@semantic-release/npm",
  26. "plugins": [
  27. "@semantic-release/commit-analyzer",
  28. "@semantic-release/release-notes-generator",
  29. "@semantic-release/npm",
  30. "@semantic-release/github"
  31. ]
  32. },
  33. "simple-git-hooks": {
  34. "pre-commit": "pnpm lint-staged"
  35. },
  36. "lint-staged": {
  37. "*.ts": "eslint --cache"
  38. },
  39. "license": "MIT",
  40. "repository": "johannlai/gptcli",
  41. "author": "ZHIHANG LI",
  42. "type": "module",
  43. "exports": {
  44. "./jobs/gpt/confirm.js": "./dist/jobs/gpt/confirm.js",
  45. "./jobs/script.js": "./dist/jobs/script.js",
  46. "./jobs/gpt/createChatCompletion.js": "./dist/jobs/gpt/createChatCompletion.js"
  47. },
  48. "files": [
  49. "dist"
  50. ],
  51. "bin": {
  52. "gpt": "./dist/cli.mjs",
  53. "gptcli": "./dist/cli.mjs",
  54. "chatgpt": "./dist/cli.mjs",
  55. "gpt-cli": "./dist/cli.mjs"
  56. },
  57. "devDependencies": {
  58. "@semantic-release/commit-analyzer": "^9.0.2",
  59. "@semantic-release/github": "^8.0.7",
  60. "@semantic-release/npm": "^9.0.2",
  61. "@semantic-release/release-notes-generator": "^10.0.3",
  62. "@types/ini": "^1.3.31",
  63. "@typescript-eslint/eslint-plugin": "^5.54.1",
  64. "@typescript-eslint/parser": "^5.54.1",
  65. "assert": "^2.0.0",
  66. "clean-pkg-json": "^1.2.0",
  67. "eslint": "^8.35.0",
  68. "lint-staged": "^13.2.0",
  69. "pkgroll": "^1.9.0",
  70. "semantic-release": "^20.1.1",
  71. "simple-git-hooks": "^2.8.1",
  72. "typescript": "^4.9.5",
  73. "vitest": "^0.29.2"
  74. },
  75. "dependencies": {
  76. "@dqbd/tiktoken": "^0.4.0",
  77. "@types/inquirer": "^9.0.3",
  78. "@types/js-yaml": "^4.0.5",
  79. "@types/node": "^18.15.0",
  80. "ansi-regex": "^6.0.1",
  81. "axios": "^1.3.4",
  82. "chalk": "^5.2.0",
  83. "cleye": "^1.3.2",
  84. "clipboardy": "^3.0.0",
  85. "eventsource-parser": "^0.1.0",
  86. "ini": "^3.0.1",
  87. "inquirer": "^9.1.4",
  88. "install": "^0.13.0",
  89. "js-yaml": "^4.1.0",
  90. "log-update": "^5.0.1",
  91. "manten": "^0.7.0",
  92. "openai": "^3.2.1",
  93. "ora": "^6.1.2",
  94. "undici": "^5.21.0"
  95. }
  96. }