Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions packages/hazel/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CatColab v. Hazel</title>
<style>
body { margin: 0; font-family: ui-sans-serif, system-ui; }
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>


32 changes: 32 additions & 0 deletions packages/hazel/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "catcolab-hazel",
"version": "0.0.1",
"description": "A Hazel module for CatColab",
"type": "module",
"main": "src/index.ts",
"exports": {
".": "./dist/index.js"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "biome format --write",
"lint": "biome lint --write && biome check --write"
},
"keywords": [],
"author": "FPLab",
"dependencies": {
"@automerge/automerge": "^3.1.1",
"@automerge/automerge-repo": "^2.2.0",
"catlog-wasm": "link:../catlog-wasm/dist/pkg-browser",
"solid-js": "^1.9.7"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"typescript": "^5.2.2",
"vite": "^5.4.20",
"vite-plugin-solid": "^2.11.8",
"vite-plugin-top-level-await": "^1.6.0",
"vite-plugin-wasm": "^3.5.0"
}
}
Loading