shrimp/package.json
Corey Johnson 82722ec9e4 Update exports and editor script in package.json
Refactored the exports field to provide explicit entry points for the main module, editor, and editor CSS. Updated the editor script to point to the example server file.
2026-01-05 11:30:23 -08:00

40 lines
1.0 KiB
JSON

{
"name": "shrimp",
"version": "0.1.0",
"exports": {
".": "./src/index.ts",
"./editor": "./src/editor/index.ts",
"./editor.css": "./src/editor/editor.css"
},
"private": true,
"type": "module",
"scripts": {
"editor": "bun --hot src/editor/example/server.tsx",
"repl": "bun bin/repl",
"update-reef": "rm -rf ~/.bun/install/cache/ && rm bun.lock && bun update reefvm",
"cli:install": "ln -s \"$(pwd)/bin/shrimp\" ~/.bun/bin/shrimp",
"cli:remove": "rm ~/.bun/bin/shrimp",
"check": "bunx tsc --noEmit"
},
"dependencies": {
"@codemirror/view": "^6.38.3",
"@lezer/generator": "^1.8.0",
"bun-plugin-tailwind": "^0.0.15",
"codemirror": "^6.0.2",
"hono": "^4.9.8",
"reefvm": "git+https://git.nose.space/defunkt/reefvm",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.2",
"@types/bun": "latest",
"diff": "^8.0.2",
"kleur": "^4.1.5"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 100
}
}