diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-24 11:33:25 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-24 11:33:25 -0700 |
| commit | 8a59f92d031963e23ecc84b75feecf43eb4dd146 (patch) | |
| tree | 75de5768885583897061a3b1795e4c987ce90039 /deno.json | |
| download | graphiql-8a59f92d031963e23ecc84b75feecf43eb4dd146.tar.gz graphiql-8a59f92d031963e23ecc84b75feecf43eb4dd146.zip | |
Initial commit: @eol/graphiql v0.3
Svelte 5 GraphiQL alternative for JSR. Covers:
- HTTP fetcher with injectable fetch; SSE/WS stubs
- Session store with tabs, auto-titling, persistence, rename
- Operation detection via graphql parse(); Toolbar picker
- CodeMirror 6 editor via cm6-graphql with theme prop
- Light theme preset (hand-rolled EditorView.theme)
- Doc explorer with breadcrumb nav and type guards
- History panel with 100-entry cap, favorite pinning
- Deno tests for operations, storage, and history eviction
Diffstat (limited to 'deno.json')
| -rw-r--r-- | deno.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..61efce7 --- /dev/null +++ b/deno.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "lib": ["deno.window", "dom", "dom.iterable"], + "strict": true + }, + "exports": "./source/library/index.ts", + "imports": { + "@codemirror/autocomplete": "npm:@codemirror/autocomplete@^6.18.0", + "@codemirror/commands": "npm:@codemirror/commands@^6.7.0", + "@codemirror/lang-json": "npm:@codemirror/lang-json@^6.0.1", + "@codemirror/language": "npm:@codemirror/language@^6.10.0", + "@codemirror/state": "npm:@codemirror/state@^6.4.0", + "@codemirror/theme-one-dark": "npm:@codemirror/theme-one-dark@^6.1.0", + "@codemirror/view": "npm:@codemirror/view@^6.34.0", + "@lezer/highlight": "npm:@lezer/highlight@^1.2.0", + "cm6-graphql": "npm:cm6-graphql@^0.2.1", + "codemirror": "npm:codemirror@^6.0.1", + "graphql": "npm:graphql@^16.8.0" + }, + "name": "@eol/graphiql", + "publish": { + "include": ["source/library/**/*", "README.md", "LICENSE"] + }, + "tasks": { + "check": "deno check source/library/**/*.ts", + "test": "deno test --allow-env --location=http://localhost/ tests/" + }, + "version": "0.1.0" +} |