## Library Code Cleanup (~1,200+ lines removed) - Remove legacy markdown system (markdown.js, previewer.js) - Delete unused EditContext code from ui/editor.js (~400 lines) - Remove version history UI components from form-renderer.js (~180 lines) - Clean unused CSS styles from insertr.css (~120 lines) - Update package.json dependencies (remove marked, turndown) ## Documentation Updates - README.md: Update from markdown to HTML-first approach - AGENTS.md: Add current architecture guidance and HTML-first principles - TODO.md: Complete rewrite with realistic roadmap and current status - demos/README.md: Update for development demo server usage ## System Reality Alignment - All documentation now reflects current working system - Removed aspirational features in favor of actual capabilities - Clear separation between development and production workflows - Accurate description of style-aware editor with HTML preservation ## Code Cleanup Benefits - Simplified codebase focused on HTML-first approach - Removed markdown conversion complexity - Cleaner build process without unused dependencies - Better alignment between frontend capabilities and documentation Ready for Phase 3a server updates with clean foundation.
35 lines
808 B
JSON
35 lines
808 B
JSON
{
|
|
"name": "@insertr/lib",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "The Tailwind of CMS - Client-side library for content injection and editing",
|
|
"main": "dist/insertr.js",
|
|
"module": "src/index.js",
|
|
"files": [
|
|
"dist/",
|
|
"src/"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:js && npm run build:css",
|
|
"build:js": "rollup -c",
|
|
"build:css": "cp src/styles/insertr.css dist/insertr.css",
|
|
"build:only": "rollup -c",
|
|
"watch": "rollup -c -w",
|
|
"dev": "rollup -c -w"
|
|
},
|
|
"keywords": [
|
|
"cms",
|
|
"content",
|
|
"headless",
|
|
"inline-editing"
|
|
],
|
|
"author": "Insertr Team",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
"@rollup/plugin-terser": "^0.4.0",
|
|
"rollup": "^3.0.0"
|
|
},
|
|
"dependencies": {}
|
|
}
|