-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@hasna/accounts",
"version": "0.2.43",
"description": "Manage and switch between multiple Claude Code (and other AI coding tool) profiles/accounts locally — isolated config dirs, per-account email, one-command switching.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"accounts": "dist/cli.js",
"accounts-mcp": "dist/mcp.js",
"accounts-serve": "dist/server/index.js",
"accounts-migrate": "dist/server/migrate.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./storage": {
"types": "./dist/storage.d.ts",
"import": "./dist/storage.js"
},
"./sdk": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js"
},
"./v2": {
"types": "./dist/v2/index.d.ts",
"import": "./dist/v2/index.js"
}
},
"files": [
"dist",
"migrations",
"docs",
"hasna.contract.json",
"docker-compose.yml",
"examples",
"config/release-review-trust.json",
"config/release-review-trust-history",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rm -rf dist && bun build src/cli.ts --outdir dist --target node --external @hasna/contracts && bun build src/mcp.ts --outdir dist --target node --external @hasna/contracts && bun build src/index.ts --outdir dist --target node --external @hasna/contracts && bun build src/storage.ts --outdir dist --target node && bun build src/sdk/index.ts --outdir dist/sdk --target node && bun build src/v2/index.ts --outdir dist/v2 --target node --external @hasna/contracts && bun build src/server/index.ts src/server/migrate.ts --outdir dist/server --target bun --packages external && tsc --emitDeclarationOnly --outDir dist",
"contracts:conformance": "contracts conformance examples",
"contracts:no-cloud-scan": "contracts no-cloud-scan --json .",
"dev": "bun run src/cli.ts",
"sdk:generate": "bun run src/sdk/generate-sdk.ts",
"test:compat": "tsc --noEmit -p tsconfig.compat.json",
"test:provenance-crypto": "node scripts/verify-sigstore-smoke.mjs",
"verify:pack": "bun run scripts/release-provenance.ts pack",
"vendor-kit:check": "bunx @hasna/contracts vendor-kit --check .",
"conformance": "bunx @hasna/contracts repo-conformance .",
"prepack": "bun run build",
"prepublishOnly": "bun run scripts/release-provenance.ts reject-direct-publish",
"release-review:sign": "bun run scripts/release-review-sign.ts",
"typecheck": "tsc --noEmit",
"test": "bun test",
"test:postgres": "bun run ./test/run-postgres.ts"
},
"keywords": [
"claude",
"claude-code",
"codex",
"takumi",
"gemini",
"opencode",
"cursor-agent",
"pi",
"hermes",
"kimi-code",
"grok-build",
"profile",
"account",
"switcher",
"cli",
"ai",
"coding-agent",
"CLAUDE_CONFIG_DIR"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/accounts.git"
},
"homepage": "https://github.com/hasna/accounts",
"bugs": {
"url": "https://github.com/hasna/accounts/issues"
},
"engines": {
"node": ">=18",
"bun": ">=1.0.0"
},
"author": "Andrei Hasna <andrei@hasna.com>",
"license": "Apache-2.0",
"dependencies": {
"@hasna/contracts": "0.5.2",
"@hasna/events": "^0.1.7",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"pg": "^8.13.1",
"zod": "^3.24.2"
},
"overrides": {
"fast-uri": "3.1.5",
"hono": "4.12.27",
"ip-address": "10.4.0"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"@sigstore/bundle": "4.0.0",
"@sigstore/protobuf-specs": "0.5.1",
"@sigstore/verify": "3.1.1",
"@types/bun": "^1.2.4",
"@types/pg": "^8.11.10",
"fast-uri": "3.1.5",
"semver": "7.7.2",
"typescript": "^5.7.3"
}
}