-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.52 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 3.52 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
{
"name": "@hasna/instructions",
"version": "0.4.27",
"description": "AI coding agent instruction & configuration manager \u2014 store, version, apply, and share all your AI coding configs. CLI + MCP + HTTP API (instructions-serve) + generated SDK + Dashboard.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"instructions": "dist/cli/index.js",
"configs": "dist/cli/index.js",
"instructions-mcp": "dist/mcp/index.js",
"instructions-serve": "dist/server/index.js",
"configs-mcp": "dist/mcp/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"dashboard/dist",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "bun run clean && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external pg --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external pg --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/index.ts --outdir dist --target bun --external pg && tsc --emitDeclarationOnly --outDir dist",
"build:server": "bun run clean && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external pg --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external pg --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/index.ts --outdir dist --target bun --external pg",
"build:dashboard": "cd dashboard && bun run build",
"migrate": "bun run src/server/index.ts migrate",
"generate:sdk": "bun run scripts/generate-sdk.ts",
"kit:check": "bunx @hasna/contracts vendor-kit --check",
"typecheck": "tsc --noEmit",
"test": "bun test",
"check:package-secrets": "bun run src/cli/index.tsx package-manager-scan --fail-on-findings --home .",
"dev:cli": "bun run src/cli/index.tsx",
"dev:mcp": "bun run src/mcp/index.ts",
"dev:serve": "bun run src/server/index.ts",
"seed": "bun run scripts/seed.ts",
"prepublishOnly": "bun run scripts/check-publish-hold.ts && bun run build",
"postinstall": "mkdir -p $HOME/.hasna/instructions $HOME/.hasna/instructions/backups 2>/dev/null || true"
},
"keywords": [
"instructions",
"configs",
"dotfiles",
"agent-config",
"claude",
"codex",
"antigravity",
"mcp",
"ai",
"coding-agent",
"cli",
"dashboard"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/instructions.git"
},
"homepage": "https://github.com/hasna/instructions",
"bugs": {
"url": "https://github.com/hasna/instructions/issues"
},
"engines": {
"bun": ">=1.0.0"
},
"author": "Andrei Hasna <andrei@hasna.com>",
"license": "Apache-2.0",
"dependencies": {
"@hasna/contracts": "0.4.2",
"@hasna/events": "^0.1.6",
"@modelcontextprotocol/sdk": "^1.12.1",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"hono": "^4.7.4",
"ink": "^5.2.0",
"pg": "^8.13.3",
"react": "^18.3.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/bun": "^1.2.4",
"@types/pg": "^8.11.11",
"@types/react": "^18.3.18",
"typescript": "^5.7.3"
}
}