Files
hapi/cli/package.json
T
2026-07-13 09:03:39 +08:00

87 lines
2.8 KiB
JSON

{
"name": "@twsxtd/hapi",
"version": "0.22.3",
"description": "App for agentic coding - access coding agent anywhere",
"author": "Kirill Dubovitskiy & weishu",
"license": "AGPL-3.0-only",
"type": "module",
"homepage": "https://github.com/tiann/hapi",
"bugs": "https://github.com/tiann/hapi/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/tiann/hapi.git",
"directory": "cli"
},
"bin": {
"hapi": "bin/hapi.cjs"
},
"files": [
"bin/hapi.cjs",
"NOTICE"
],
"imports": {
"#embedded-assets": {
"bun": "./src/runtime/embeddedAssets.bun.ts",
"default": "./src/runtime/embeddedAssets.stub.ts"
}
},
"optionalDependencies": {
"@twsxtd/hapi-darwin-arm64": "0.22.3",
"@twsxtd/hapi-darwin-x64": "0.22.3",
"@twsxtd/hapi-linux-arm64": "0.22.3",
"@twsxtd/hapi-linux-x64": "0.22.3",
"@twsxtd/hapi-win32-x64": "0.22.3"
},
"scripts": {
"postinstall": "node -e \"try{require('fs').chmodSync(require('path').join(__dirname,'bin','hapi.cjs'),0o755)}catch(e){}\"",
"typecheck": "tsc --noEmit",
"build:exe": "bun run scripts/build-executable.ts",
"build:exe:all": "bun run scripts/build-executable.ts --all",
"build:exe:allinone": "bun run scripts/build-executable.ts --with-web-assets",
"build:exe:allinone:all": "bun run scripts/build-executable.ts --with-web-assets --all",
"prepare-npm-packages": "bun run scripts/prepare-npm-packages.ts",
"prepack": "bun run prepare-npm-packages",
"tools:unpack": "bun run scripts/unpack-tools.ts",
"update-homebrew-formula": "bun run scripts/update-homebrew-formula.ts",
"test": "bun run tools:unpack && vitest run",
"test:win": "vitest run",
"dev": "bun src/index.ts",
"dev:local-server": "bun --env-file .env.dev-local-server src/index.ts",
"dev:integration-test-env": "bun --env-file .env.integration-test src/index.ts",
"release-all": "bun run scripts/release-all.ts"
},
"dependencies": {
"@hapi/protocol": "workspace:*",
"hapi-hub": "workspace:*",
"@modelcontextprotocol/sdk": "^1.25.1",
"@types/cross-spawn": "^6.0.6",
"@types/ps-list": "^6.2.1",
"@types/react": "^19.2.7",
"axios": "^1.13.2",
"chalk": "^5.6.2",
"cross-spawn": "^7.0.6",
"fastify": "^5.6.2",
"fastify-type-provider-zod": "6.1.0",
"ink": "^6.6.0",
"ps-list": "^9.0.0",
"react": "^19.2.3",
"socket.io-client": "^4.8.3",
"tar": "^7.5.2",
"yaml": "^2.8.2",
"zod": "^4.2.1"
},
"devDependencies": {
"@types/node": ">=25",
"bun-types": "^1.3.14",
"dotenv": "^17.2.3",
"typescript": "^5",
"vitest": "^4.0.16"
},
"resolutions": {
"whatwg-url": "14.2.0",
"parse-path": "7.0.3",
"@types/parse-path": "7.0.3"
},
"packageManager": "bun@1.3.14"
}