Files
RuneStone/package.json
T
Knotty Wyvern e433bed28e Move the tests from scripts/ to tests/ by feature
Unit tests go to tests/unit/<area>/, browser smoke tests to
tests/smoke/<area>/, and tests against a running desktop app to
tests/native/. Files named after dates, work passes, or Kanban cards get
feature names, for example editorOctober12 -> editor/footnotes.

scripts/ keeps the build, release, and package tools. Plugin repositories
import scripts/packagePlugin.mjs, and the Terminal smoke test imports
scripts/pluginMocks.mjs, which now re-exports the harness copy.

The unit tests get their own type check (tests/tsconfig.json) with Node
types. pnpm check runs it after the app check. Add @types/node and fix
the three test mocks that it reported.
2026-10-27 19:47:39 -07:00

65 lines
2.4 KiB
JSON

{
"name": "runestone",
"version": "0.1.44",
"description": "Desktop editor for a local workspace",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build:installer": "node scripts/buildInstaller.mjs",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && svelte-check --tsconfig ./tests/tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"check:menus": "node scripts/menuSurfaceAudit.mjs",
"tauri": "tauri",
"test": "node --experimental-strip-types --test \"tests/unit/**/*.spec.ts\"",
"build:plugins": "node scripts/buildPlugins.mjs",
"browser:check": "npm --prefix browser-runtime run check",
"browser:test": "npm --prefix browser-runtime test",
"browser:test:engine": "npm --prefix browser-runtime run test:browser",
"browser:stage": "npm --prefix browser-runtime run stage:host",
"package:plugin": "node scripts/packagePlugin.mjs"
},
"license": "MIT",
"dependencies": {
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/language": "^6.12.4",
"@codemirror/search": "^6.7.2",
"@codemirror/state": "^6.7.5",
"@codemirror/view": "^6.43.12",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-dialog": "^2.7.3",
"@tauri-apps/plugin-opener": "^2",
"@tiptap/core": "^3.31.3",
"@tiptap/extension-highlight": "^3.31.3",
"@tiptap/extension-image": "^3.31.3",
"@tiptap/extension-link": "^3.31.3",
"@tiptap/extension-subscript": "^3.31.3",
"@tiptap/extension-superscript": "^3.31.3",
"@tiptap/extension-table": "^3.31.3",
"@tiptap/extension-table-cell": "^3.31.3",
"@tiptap/extension-table-header": "^3.31.3",
"@tiptap/extension-table-row": "^3.31.3",
"@tiptap/extension-task-item": "^3.31.3",
"@tiptap/extension-task-list": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3",
"markdown-it": "^15.0.2",
"mermaid": "^12.0.0",
"monaco-editor": "^0.56.0"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.65.1",
"@sveltejs/vite-plugin-svelte": "^7.1.2",
"@tauri-apps/cli": "^2",
"@types/node": "24.19.2",
"svelte": "^5.56.3",
"svelte-check": "^4.6.0",
"typescript": "~6.0.3",
"vite": "^8.0.16"
}
}