@hasna/analytics 0.0.1

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/analytics",
3
+ "version": "0.0.1",
4
+ "description": "Business analytics for AI agents — KPIs, dashboards, reports, and AI-powered executive summaries",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "analytics": "dist/cli/index.js",
10
+ "analytics-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": "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/analytics 2>/dev/null || true"
31
+ },
32
+ "keywords": [
33
+ "analytics",
34
+ "kpi",
35
+ "dashboard",
36
+ "reports",
37
+ "mcp",
38
+ "ai",
39
+ "coding-agent",
40
+ "claude",
41
+ "cli"
42
+ ],
43
+ "publishConfig": {
44
+ "registry": "https://registry.npmjs.org",
45
+ "access": "public"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/hasna/analytics.git"
50
+ },
51
+ "homepage": "https://github.com/hasna/analytics",
52
+ "bugs": {
53
+ "url": "https://github.com/hasna/analytics/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
+ }