{
  "name": "@triliumnext/source",
  "version": "0.100.0",
  "description": "Build your personal knowledge base with Trilium Notes",
  "directories": {
    "doc": "docs"
  },
  "scripts": {
    "client:test": "pnpm run --filter client test",
    "client:build": "pnpm run --filter client build",
    "client:coverage": "pnpm run --filter client test --coverage",
    "server:test": "pnpm run --filter server test",
    "server:build": "pnpm run --filter server build",
    "server:coverage": "pnpm run --filter server test --coverage",
    "server:start": "pnpm run --filter server dev",
    "server:start-prod": "pnpm run --filter server start-prod",
    "desktop:start": "pnpm run --filter desktop dev",
    "desktop:build": "pnpm run --filter desktop build",
    "desktop:start-prod": "pnpm run --filter desktop start-prod",
    "website:start": "pnpm run --filter website dev",
    "website:build": "pnpm run --filter website build",
    "electron:build": "pnpm desktop:build",
    "electron:start": "pnpm desktop:start",
    "electron:start-prod": "pnpm desktop:start-prod",
    "chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts",
    "chore:generate-openapi": "tsx ./scripts/generate-openapi.ts",
    "chore:update-build-info": "tsx ./scripts/update-build-info.ts",
    "chore:update-version": "tsx ./scripts/update-version.ts",
    "docs:build": "pnpm run --filter build-docs start",
    "docs:preview": "pnpm http-server site -p 9000",
    "edit-docs:edit-docs": "pnpm run --filter edit-docs edit-docs",
    "edit-docs:edit-demo": "pnpm run --filter edit-docs edit-demo",
    "test:all": "pnpm test:parallel && pnpm test:sequential",
    "test:parallel": "pnpm --filter=!server --filter=!ckeditor5-mermaid --filter=!ckeditor5-math --parallel test",
    "test:sequential": "pnpm --filter=server --filter=ckeditor5-mermaid --filter=ckeditor5-math --sequential test",
    "typecheck": "tsc --build",
    "postinstall": "tsx scripts/electron-rebuild.mts"
  },
  "private": true,
  "devDependencies": {
    "@electron/rebuild": "4.0.1",
    "@fast-csv/parse": "5.0.5",
    "@playwright/test": "1.57.0",
    "@triliumnext/server": "workspace:*",
    "@types/express": "5.0.5",
    "@types/node": "24.10.1",
    "@vitest/browser-webdriverio": "4.0.14",
    "@vitest/coverage-v8": "4.0.14",
    "@vitest/ui": "4.0.14",
    "chalk": "5.6.2",
    "cross-env": "10.1.0",
    "dpdm": "3.14.0",
    "esbuild": "0.27.0",
    "eslint": "9.39.1",
    "eslint-config-prettier": "10.1.8",
    "eslint-plugin-playwright": "2.4.0",
    "eslint-plugin-react-hooks": "7.0.1",
    "happy-dom": "~20.0.0",
    "http-server": "14.1.1",
    "jiti": "2.6.1",
    "jsonc-eslint-parser": "2.4.1",
    "react-refresh": "0.18.0",
    "rollup-plugin-webpack-stats": "2.1.8",
    "tslib": "2.8.1",
    "tsx": "4.21.0",
    "typescript": "~5.9.0",
    "typescript-eslint": "8.48.0",
    "upath": "2.0.1",
    "vite": "7.2.4",
    "vite-plugin-dts": "~4.5.0",
    "vitest": "4.0.14"
  },
  "license": "AGPL-3.0-only",
  "author": {
    "name": "Trilium Notes Team",
    "email": "contact@eliandoran.me",
    "url": "https://triliumnotes.org"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/TriliumNext/Trilium.git"
  },
  "bugs": {
    "url": "https://github.com/TriliumNext/Trilium/issues"
  },
  "homepage": "https://triliumnotes.org",
  "packageManager": "pnpm@10.24.0",
  "pnpm": {
    "patchedDependencies": {
      "@ckeditor/ckeditor5-mention": "patches/@ckeditor__ckeditor5-mention.patch",
      "@ckeditor/ckeditor5-code-block": "patches/@ckeditor__ckeditor5-code-block.patch",
      "ckeditor5": "patches/ckeditor5.patch"
    },
    "overrides": {
      "mermaid": "11.12.1",
      "preact": "10.27.2",
      "roughjs": "4.6.6",
      "@types/express-serve-static-core": "5.1.0",
      "flat@<5.0.1": ">=5.0.1",
      "debug@>=3.2.0 <3.2.7": ">=3.2.7",
      "nanoid@<3.3.8": ">=3.3.8",
      "nanoid@>=4.0.0 <5.0.9": ">=5.0.9",
      "dompurify@<3.2.4": ">=3.2.4",
      "esbuild@<=0.24.2": ">=0.25.0",
      "cookie@<0.7.0": ">=0.7.0",
      "tar-fs@>=2.0.0 <2.1.3": ">=2.1.3",
      "on-headers@<1.1.0": ">=1.1.0",
      "form-data@>=4.0.0 <4.0.4": ">=4.0.4",
      "form-data@>=3.0.0 <3.0.4": ">=3.0.4",
      "node-abi": "4.24.0"
    },
    "ignoredBuiltDependencies": [
      "sqlite3"
    ],
    "onlyBuiltDependencies": [
      "@parcel/watcher",
      "@scarf/scarf",
      "better-sqlite3",
      "bufferutil",
      "core-js-pure",
      "electron",
      "electron-winstaller",
      "esbuild",
      "fs-xattr",
      "macos-alias",
      "utf-8-validate"
    ]
  }
}
