Files
gitea-axi/package.json
alexion ed87f023cb
All checks were successful
CI / test (pull_request) Successful in 52s
CI / test (push) Successful in 52s
feat: add npm publish readiness (task 0020)
Complete the distribution metadata and publish flow for the unscoped
`gitea-axi` package:

- add `repository`, `homepage`, and `bugs` to package.json
- add `publishConfig` (public access, npmjs registry) so `npm publish`
  needs no extra flags
- replace `prepublishOnly` with `prepack: npm run build`, so both
  `npm pack` and `npm publish` rebuild `dist/` first
- document the single-command flow in PUBLISHING.md
- add a packaging smoke-test tier (`test:pack`) that packs the real
  tarball, installs it globally, and drives the installed binary
  (`--help`, dashboard header, and `setup` finding the bundled skill)
2026-07-14 12:00:37 -04:00

51 lines
1.2 KiB
JSON

{
"name": "gitea-axi",
"version": "0.1.0",
"description": "Agent-ergonomic CLI for Gitea issues and pull requests",
"type": "module",
"license": "MIT",
"engines": {
"node": ">=20"
},
"bin": {
"gitea-axi": "dist/main.js"
},
"repository": {
"type": "git",
"url": "git+https://git.alexion.dev/alexion/gitea-axi.git"
},
"homepage": "https://git.alexion.dev/alexion/gitea-axi",
"bugs": {
"url": "https://git.alexion.dev/alexion/gitea-axi/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"skills"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "npm run build",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:pack": "vitest run --config vitest.packaging.config.ts"
},
"dependencies": {
"@toon-format/toon": "^2.3.0",
"axi-sdk-js": "^0.1.8",
"gitea-js": "^1.23.0"
},
"devDependencies": {
"@types/node": "^20.19.0",
"@vitest/coverage-v8": "^3.2.7",
"typescript": "^5.8.0",
"vitest": "^3.2.0"
}
}