@hasna/invoices 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@hasna/invoices",
3
+ "version": "0.1.0",
4
+ "description": "Invoice management for AI agents — CLI + MCP server with SQLite storage",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "invoices": "dist/cli/index.js",
10
+ "invoices-mcp": "dist/mcp/index.js"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "LICENSE",
21
+ "README.md"
22
+ ],
23
+ "scripts": {
24
+ "build": "bun build src/cli/index.ts --outdir dist/cli --target bun --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/index.ts --outdir dist --target bun && tsc --emitDeclarationOnly --outDir dist",
25
+ "typecheck": "tsc --noEmit",
26
+ "test": "bun test",
27
+ "dev:cli": "bun run src/cli/index.ts",
28
+ "dev:mcp": "bun run src/mcp/index.ts",
29
+ "prepublishOnly": "bun run build",
30
+ "postinstall": "mkdir -p $HOME/.hasna/invoices 2>/dev/null || true"
31
+ },
32
+ "keywords": [
33
+ "invoices",
34
+ "invoicing",
35
+ "billing",
36
+ "mcp",
37
+ "ai",
38
+ "coding-agent",
39
+ "claude",
40
+ "cli",
41
+ "sqlite"
42
+ ],
43
+ "publishConfig": {
44
+ "registry": "https://registry.npmjs.org",
45
+ "access": "public"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/hasna/open-invoices.git"
50
+ },
51
+ "homepage": "https://github.com/hasna/open-invoices",
52
+ "bugs": {
53
+ "url": "https://github.com/hasna/open-invoices/issues"
54
+ },
55
+ "engines": {
56
+ "bun": ">=1.0.0"
57
+ },
58
+ "author": "Andrei Hasna <andrei@hasna.com>",
59
+ "license": "Apache-2.0",
60
+ "dependencies": {
61
+ "@hasna/cloud": "^0.1.24",
62
+ "@modelcontextprotocol/sdk": "^1.12.1",
63
+ "commander": "^13.1.0",
64
+ "zod": "^3.24.2"
65
+ },
66
+ "devDependencies": {
67
+ "@types/bun": "^1.2.4",
68
+ "typescript": "^5.7.3"
69
+ }
70
+ }