8ca7e685cc
- Implemented live link support in the Markdown editor, allowing users to click on links and open them in a new tab. - Added keybinding (Ctrl/⌘ + Enter) to open links under the cursor. - Introduced visual styles for live links to enhance user experience. - Enhanced selection utilities to check for intersection with selections. - Created a custom keymap for Markdown editing, including shortcuts for bold, italic, and fenced code blocks. - Improved code block handling with line numbering and copy buttons for easy access. - Added functionality to hide Markdown delimiters in live preview mode. - Refactored and organized code for better readability and maintainability.
75 lines
2.4 KiB
JSON
75 lines
2.4 KiB
JSON
{
|
|
"name": "mantine-vite-template",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "npm run eslint && npm run stylelint",
|
|
"eslint": "eslint . --cache",
|
|
"stylelint": "stylelint '**/*.css' --cache",
|
|
"prettier": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
|
|
"vitest": "vitest run",
|
|
"vitest:watch": "vitest",
|
|
"test": "npm run typecheck && npm run prettier && npm run lint && npm run vitest && npm run build",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:build": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.8.1",
|
|
"@codemirror/lang-markdown": "^6.3.4",
|
|
"@codemirror/language": "^6.11.3",
|
|
"@codemirror/language-data": "^6.5.1",
|
|
"@codemirror/state": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.38.2",
|
|
"@lezer/highlight": "^1.2.1",
|
|
"@mantine/core": "^8.2.8",
|
|
"@mantine/hooks": "^8.1.2",
|
|
"codemirror": "^6.0.2",
|
|
"mathjax-full": "^3.2.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-router-dom": "^7.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.29.0",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
"@storybook/react": "^8.6.12",
|
|
"@storybook/react-vite": "^8.6.12",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^22.15.11",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react": "^4.5.2",
|
|
"eslint": "^9.29.0",
|
|
"eslint-config-mantine": "^4.0.3",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jsdom": "^26.1.0",
|
|
"postcss": "^8.5.5",
|
|
"postcss-preset-mantine": "1.17.0",
|
|
"postcss-simple-vars": "^7.0.1",
|
|
"prettier": "^3.5.3",
|
|
"prop-types": "^15.8.1",
|
|
"storybook": "^8.6.12",
|
|
"storybook-dark-mode": "^4.0.2",
|
|
"stylelint": "^16.20.0",
|
|
"stylelint-config-standard-scss": "^15.0.1",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.34.0",
|
|
"vite": "^6.3.5",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"vitest": "^3.2.3"
|
|
},
|
|
"packageManager": "yarn@4.9.2"
|
|
}
|