package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. },
  25. "simple-git-hooks": {
  26. "pre-commit": "pnpm lint-staged"
  27. },
  28. "lint-staged": {
  29. "*.ts": "eslint --cache"
  30. },
  31. "license": "MIT",
  32. "repository": "johannlai/gptcli",
  33. "author": "ZHIHANG LI",
  34. "type": "module",
  35. "exports": {
  36. "./jobs/gpt/confirm.js": "./dist/jobs/gpt/confirm.js",
  37. "./jobs/script.js": "./dist/jobs/script.js",
  38. "./jobs/gpt/createChatCompletion.js": "./dist/jobs/gpt/createChatCompletion.js"
  39. },
  40. "files": [
  41. "dist"
  42. ],
  43. "bin": {
  44. "gpt": "./dist/cli.mjs",
  45. "gptcli": "./dist/cli.mjs",
  46. "chatgpt": "./dist/cli.mjs",
  47. "gpt-cli": "./dist/cli.mjs"
  48. },
  49. "devDependencies": {
  50. "@typescript-eslint/eslint-plugin": "^5.54.1",
  51. "@typescript-eslint/parser": "^5.54.1",
  52. "assert": "^2.0.0",
  53. "clean-pkg-json": "^1.2.0",
  54. "eslint": "^8.35.0",
  55. "lint-staged": "^13.2.0",
  56. "pkgroll": "^1.9.0",
  57. "simple-git-hooks": "^2.8.1",
  58. "typescript": "^4.9.5",
  59. "vitest": "^0.29.2"
  60. },
  61. "dependencies": {
  62. "@dqbd/tiktoken": "^0.4.0",
  63. "@types/inquirer": "^9.0.3",
  64. "@types/js-yaml": "^4.0.5",
  65. "@types/node": "^18.15.0",
  66. "ansi-regex": "^6.0.1",
  67. "axios": "^1.3.4",
  68. "chalk": "^5.2.0",
  69. "cleye": "^1.3.2",
  70. "clipboardy": "^3.0.0",
  71. "ini": "^3.0.1",
  72. "inquirer": "^9.1.4",
  73. "install": "^0.13.0",
  74. "js-yaml": "^4.1.0",
  75. "log-update": "^5.0.1",
  76. "manten": "^0.7.0",
  77. "openai": "^3.2.1",
  78. "ora": "^6.1.2"
  79. }
  80. }