Files
summercms/admin/package.json
Jakub Zych 9975cf4b52 feat(admin): codeeditor field on CodeMirror 6, loaded lazily
- Pin the seven approved CodeMirror/lezer packages exactly; lockfile integrity matches the decision note
- Lazy createCodeEditor with Go {{ }} highlighting, form hotkeys kept, Tab unbound
- Loading skeleton, chunk-failure textarea fallback, read-only pre

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 13:28:02 +01:00

52 lines
1.4 KiB
JSON

{
"name": "summercms-admin",
"private": true,
"type": "module",
"engines": {
"node": ">=22.6"
},
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"typecheck": "vue-tsc --noEmit",
"test": "vitest run",
"test:browser": "vitest run --config vitest.browser.config.ts",
"gen:api": "openapi-typescript openapi/admin.json -o src/api/schema.d.ts"
},
"dependencies": {
"@codemirror/commands": "6.11.1",
"@codemirror/lang-css": "6.3.1",
"@codemirror/lang-html": "6.4.12",
"@codemirror/language": "6.13.1",
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15",
"@fontsource/dm-mono": "5.3.0",
"@fontsource/dm-sans": "5.3.0",
"@internationalized/date": "3.12.4",
"@lezer/highlight": "1.2.5",
"@lucide/vue": "1.17.0",
"@tiptap/core": "3.31.4",
"@tiptap/pm": "3.31.4",
"@tiptap/starter-kit": "3.31.4",
"dompurify": "3.4.16",
"openapi-fetch": "0.17.0",
"reka-ui": "2.9.10",
"vue": "3.5.35",
"vue-router": "5.1.0"
},
"devDependencies": {
"@tailwindcss/vite": "4.3.0",
"@vitejs/plugin-vue": "6.0.8",
"@vitest/browser": "3.2.7",
"@vue/test-utils": "2.4.11",
"happy-dom": "20.11.6",
"openapi-typescript": "7.13.0",
"playwright": "1.60.0",
"tailwindcss": "4.3.0",
"typescript": "5.9.3",
"vite": "7.3.5",
"vitest": "3.2.7",
"vue-tsc": "3.3.11"
}
}