codeviz 0.1.1 → 0.1.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "codeviz",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Interactive 2D codebase visualization with hierarchical semantic zoom",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,13 +10,18 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.js"
13
+ },
14
+ "./browser": {
15
+ "types": "./dist/browser.d.ts",
16
+ "import": "./dist/browser.mjs",
17
+ "require": "./dist/browser.js"
13
18
  }
14
19
  },
15
20
  "files": [
16
21
  "dist"
17
22
  ],
18
23
  "scripts": {
19
- "build": "tsup src/index.ts --format cjs,esm --dts",
24
+ "build": "tsup src/index.ts src/browser.ts --format cjs,esm --dts",
20
25
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
21
26
  "lint": "eslint src/",
22
27
  "lint:fix": "eslint src/ --fix",
@@ -68,7 +73,8 @@
68
73
  "tree-sitter-javascript": "^0.21.0",
69
74
  "tree-sitter-python": "^0.21.0",
70
75
  "tree-sitter-typescript": "^0.21.0",
71
- "web-tree-sitter": "^0.26.3"
76
+ "web-tree-sitter": "^0.26.3",
77
+ "web-worker": "^1.5.0"
72
78
  },
73
79
  "devDependencies": {
74
80
  "@chromatic-com/storybook": "^4.1.3",
@@ -100,8 +106,7 @@
100
106
  "typedoc-plugin-markdown": "^4.9.0",
101
107
  "typescript": "^5.3.0",
102
108
  "typescript-eslint": "^8.0.0",
103
- "vitest": "^4.0.16",
104
- "web-worker": "^1.5.0"
109
+ "vitest": "^4.0.16"
105
110
  },
106
111
  "peerDependencies": {
107
112
  "react": "^18.0.0"