mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
Adds a table of contents in the markdown preview, with a button in the header to toggle whether to show the TOC. When a user clicks one of the TOC elements, the preview will scroll to the corresponding heading. I've also cleaned up some MD preview styling that was inconsistent and causing the preview to overflow unnecessarily. This also fixes some terminology in the preview code. <img width="574" alt="image" src="https://github.com/user-attachments/assets/abb18ba9-21d3-4315-bdc3-e4bdcca39a4c">
127 lines
4.3 KiB
JSON
127 lines
4.3 KiB
JSON
{
|
|
"name": "thenextwave",
|
|
"author": {
|
|
"name": "Command Line Inc",
|
|
"email": "info@commandline.dev"
|
|
},
|
|
"productName": "TheNextWave",
|
|
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
|
|
"license": "Apache-2.0",
|
|
"version": "0.1.11",
|
|
"homepage": "https://waveterm.dev",
|
|
"build": {
|
|
"appId": "dev.commandline.thenextwave"
|
|
},
|
|
"private": true,
|
|
"main": "./dist/main/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"start": "electron-vite preview",
|
|
"build:dev": "electron-vite build --mode development",
|
|
"build:prod": "electron-vite build --mode production",
|
|
"storybook": "storybook dev -p 6006 --no-open",
|
|
"build-storybook": "storybook build",
|
|
"coverage": "vitest run --coverage",
|
|
"test": "vitest",
|
|
"postinstall": "electron-builder install-app-deps"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^1.8.0",
|
|
"@eslint/js": "^9.9.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@storybook/addon-essentials": "^8.2.9",
|
|
"@storybook/addon-interactions": "^8.2.9",
|
|
"@storybook/addon-links": "^8.2.9",
|
|
"@storybook/blocks": "^8.2.9",
|
|
"@storybook/react": "^8.2.9",
|
|
"@storybook/react-vite": "^8.2.9",
|
|
"@storybook/test": "^8.2.9",
|
|
"@types/css-tree": "^2",
|
|
"@types/debug": "^4",
|
|
"@types/electron": "^1.6.10",
|
|
"@types/node": "^22.5.1",
|
|
"@types/papaparse": "^5",
|
|
"@types/pngjs": "^6.0.5",
|
|
"@types/react": "^18.3.5",
|
|
"@types/shell-quote": "^1",
|
|
"@types/sprintf-js": "^1",
|
|
"@types/throttle-debounce": "^5",
|
|
"@types/tinycolor2": "^1",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
"@vitest/coverage-istanbul": "^2.0.5",
|
|
"electron": "^32.0.1",
|
|
"electron-builder": "^24.13.3",
|
|
"electron-vite": "^2.3.0",
|
|
"eslint": "^9.9.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"less": "^4.2.0",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-jsdoc": "^1.3.0",
|
|
"prettier-plugin-organize-imports": "^4.0.0",
|
|
"rollup-plugin-flow": "^1.1.1",
|
|
"storybook": "^8.2.9",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.6.3",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.5.4",
|
|
"typescript-eslint": "^8.3.0",
|
|
"vite": "^5.4.2",
|
|
"vite-plugin-image-optimizer": "^1.1.8",
|
|
"vite-plugin-static-copy": "^1.0.6",
|
|
"vite-plugin-svgr": "^4.2.0",
|
|
"vite-tsconfig-paths": "^5.0.1",
|
|
"vitest": "^2.0.5"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/loader": "^1.4.0",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@observablehq/plot": "^0.6.16",
|
|
"@react-hook/resize-observer": "^2.0.2",
|
|
"@table-nav/core": "^0.0.7",
|
|
"@table-nav/react": "^0.0.7",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"@types/color": "^3.0.6",
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
"@xterm/addon-serialize": "^0.13.0",
|
|
"@xterm/addon-web-links": "^0.11.0",
|
|
"@xterm/addon-webgl": "^0.18.0",
|
|
"@xterm/xterm": "^5.5.0",
|
|
"base64-js": "^1.5.1",
|
|
"clsx": "^2.1.1",
|
|
"color": "^4.2.3",
|
|
"css-tree": "^2.3.1",
|
|
"dayjs": "^1.11.13",
|
|
"debug": "^4.3.6",
|
|
"electron-updater": "6.3.4",
|
|
"fast-average-color": "^9.4.0",
|
|
"htl": "^0.3.1",
|
|
"html-to-image": "^1.11.11",
|
|
"immer": "^10.1.1",
|
|
"jotai": "^2.9.3",
|
|
"monaco-editor": "^0.51.0",
|
|
"overlayscrollbars": "^2.10.0",
|
|
"overlayscrollbars-react": "^0.5.6",
|
|
"papaparse": "^5.4.1",
|
|
"pngjs": "^7.0.0",
|
|
"react": "^18.3.1",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-frame-component": "^5.2.7",
|
|
"react-gauge-chart": "^0.5.1",
|
|
"react-markdown": "^9.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-flexible-toc": "^1.1.1",
|
|
"remark-gfm": "^4.0.0",
|
|
"rxjs": "^7.8.1",
|
|
"shell-quote": "^1.8.1",
|
|
"sprintf-js": "^1.1.3",
|
|
"throttle-debounce": "^5.0.2",
|
|
"tinycolor2": "^1.6.0",
|
|
"use-device-pixel-ratio": "^1.1.2",
|
|
"winston": "^3.14.2"
|
|
},
|
|
"packageManager": "yarn@4.4.1"
|
|
}
|