Files
memos/web/package.json
T
johnnyjoygh 6387991fdd chore(web): update focus mode
- Bump @usememos/editor to 26.10.27: Markdown mode now highlights syntax
  inside table cells, so a URL anchor in a table-cell link, such as
  [Kappa](/memos/abc#ikebukuro), reads as part of the URL instead of a
  tag.
  Refs usememos/memos#6480 (item 13).
- Focus mode: a narrower sheet (max-w-3xl) with larger text through
  MEMO_FOCUS_EDITOR_THEME; its header shows only the memo's time ("Now"
  before it has one) and the exit button; toggling it runs a view
  transition that grows the frame out of its place on the page and back,
  instant under reduced motion or without view transitions.
- Markdown mode's + menu item uses Lucide's CodeXml instead of the
  pilcrow.
2026-10-26 08:40:24 +08:00

92 lines
2.8 KiB
JSON

{
"name": "memos",
"private": true,
"packageManager": "pnpm@11.0.1",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"release": "vite build --mode release --outDir=../server/frontend/dist --emptyOutDir",
"lint": "tsc --noEmit --skipLibCheck && biome check src tests",
"lint:fix": "biome check --write src tests",
"format": "biome format --write src tests",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@base-ui/react": "^1.7.0",
"@connectrpc/connect": "^2.1.1",
"@connectrpc/connect-web": "^2.1.1",
"@github/relative-time-element": "^5.0.0",
"@maplibre/maplibre-gl-leaflet": "^0.1.4",
"@pierre/highlights": "0.2.0",
"@tailwindcss/vite": "^4.2.4",
"@tanstack/react-query": "^5.100.9",
"@tanstack/react-query-devtools": "^5.100.9",
"@usememos/editor": "26.10.27",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"copy-to-clipboard": "^4.0.2",
"dayjs": "^1.11.20",
"exifr": "^7.1.3",
"html-to-image": "^1.11.13",
"i18next": "^26.3.6",
"katex": "^0.16.45",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"lodash-es": "^4.18.1",
"lucide-react": "^1.34.0",
"maplibre-gl": "^6.8.0",
"mdast-util-from-markdown": "^2.0.3",
"mdast-util-gfm": "^3.1.0",
"micromark-extension-gfm": "^3.0.0",
"micromark-util-normalize-identifier": "^2.0.1",
"pele": "1.6.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-hot-toast": "^2.6.0",
"react-i18next": "^17.0.11",
"react-leaflet": "^5.0.0",
"react-leaflet-cluster": "^4.1.3",
"react-router-dom": "^7.15.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.4",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@babel/core": "7.29.0",
"@biomejs/biome": "^2.4.14",
"@bufbuild/protobuf": "^2.12.0",
"@rolldown/plugin-babel": "0.2.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/babel__core": "7.20.5",
"@types/hast": "^3.0.4",
"@types/leaflet": "^1.9.21",
"@types/lodash-es": "^4.17.12",
"@types/mdast": "^4.0.4",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/unist": "^3.0.3",
"@vitejs/plugin-react": "^6.0.1",
"babel-plugin-react-compiler": "1.0.0",
"jsdom": "^29.1.1",
"tw-animate-css": "^1.4.0",
"typescript": "^7.0.2",
"vite": "^8.0.11",
"vitest": "^4.1.5"
}
}