Files
cms-onpageeditor/package.json
T

40 lines
1.2 KiB
JSON

{
"name": "cms-onpageeditor",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Injectable on-page editor for the go-graph-cms: side-loaded onto the statically rendered page, edits through POST /api/edit.",
"scripts": {
"dev": "vite",
"dev:mock": "CMS_MODE=mock vite",
"build": "tsc --noEmit && vite build --mode lib && vite build --mode loader",
"build:watch": "vite build --mode lib --watch & vite build --mode loader --watch & wait",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@mdi/js": "^7.4.47",
"@tiptap/core": "^3.27.1",
"@tiptap/extension-image": "^3.27.1",
"@tiptap/markdown": "^3.27.1",
"@tiptap/pm": "^3.27.1",
"@tiptap/starter-kit": "^3.27.1",
"marked": "^17.0.1",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.0",
"@types/node": "^22.0.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.0.0",
"jsdom": "^26.0.0",
"typescript": "^5.9.0",
"vite": "^7.0.0",
"vitest": "^3.2.0"
}
}