@sonill/nepali-dates 1.0.4 → 1.0.6

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 CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@sonill/nepali-dates",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Community-driven, accurate Nepali calendar data and conversion utilities",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "nepali-dates-mcp": "./dist/bin/mcp-server.js"
10
+ },
8
11
  "exports": {
9
12
  ".": {
13
+ "types": "./dist/index.d.ts",
10
14
  "require": "./dist/index.js",
11
- "import": "./dist/index.mjs",
12
- "types": "./dist/index.d.ts"
15
+ "import": "./dist/index.mjs"
13
16
  }
14
17
  },
15
18
  "files": [
@@ -19,7 +22,9 @@
19
22
  "LICENSE"
20
23
  ],
21
24
  "scripts": {
22
- "build": "tsup src/index.ts --format cjs,esm --dts",
25
+ "build": "npm run build:lib && npm run build:mcp",
26
+ "build:lib": "tsup src/index.ts --format cjs,esm --dts",
27
+ "build:mcp": "tsup src/bin/mcp-server.ts --format cjs --no-splitting --outDir dist/bin && chmod +x dist/bin/mcp-server.js",
23
28
  "test": "vitest run",
24
29
  "test:watch": "vitest",
25
30
  "test:coverage": "vitest run --coverage",
@@ -36,7 +41,12 @@
36
41
  "date",
37
42
  "conversion",
38
43
  "nepal",
39
- "nepali-calendar"
44
+ "nepali-calendar",
45
+ "mcp",
46
+ "model-context-protocol",
47
+ "ai",
48
+ "claude",
49
+ "agent"
40
50
  ],
41
51
  "author": "Community Contributors",
42
52
  "license": "MIT",
@@ -48,6 +58,9 @@
48
58
  "url": "https://github.com/sonill/nepali-dates/issues"
49
59
  },
50
60
  "homepage": "https://sonill.github.io/nepali-dates",
61
+ "dependencies": {
62
+ "@modelcontextprotocol/sdk": "^1.0.4"
63
+ },
51
64
  "devDependencies": {
52
65
  "@types/node": "^20.11.0",
53
66
  "@vitest/coverage-v8": "^1.2.0",