Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 32b1075

Browse files
committed
fix: update package.json for proper ES module support
1 parent ae33ac9 commit 32b1075

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
{
22
"name": "deepsource-mcp-server",
3-
"version": "0.0.0",
3+
"version": "1.0.2",
44
"description": "Model Context Protocol server for DeepSource",
55
"type": "module",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",
8+
"exports": {
9+
".": {
10+
"import": "./dist/index.js",
11+
"types": "./dist/index.d.ts"
12+
}
13+
},
814
"scripts": {
915
"build": "tsc",
1016
"start": "node --experimental-specifier-resolution=node dist/index.js",
1117
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
1218
"watch": "tsc -w",
13-
"test": "jest",
14-
"test:watch": "jest --watch",
15-
"test:coverage": "jest --coverage",
19+
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
20+
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
21+
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
1622
"lint": "eslint . --ext .ts",
1723
"lint:fix": "eslint . --ext .ts --fix",
1824
"format": "prettier --write \"src/**/*.ts\"",

0 commit comments

Comments
 (0)