Files
insertr/lib/package.json
Joakim 1bf597266e Implement hybrid CSS architecture to fix white-on-white modal issue on sites with CSS resets
- Migrate from inline CSS to external insertr.css with cascade layer architecture
- Add CSS CDN serving capability (ServeInsertrCSS handler and /insertr.css route)
- Implement hybrid approach: @layer insertr for modern browsers + html body selectors for legacy browsers
- Remove scattered inline CSS from JavaScript modules for better maintainability
- Solve form element spacing conflicts with aggressive site CSS resets like '* {margin:0; padding:0}'
- Enable proper CSS caching and separation of concerns
2025-09-17 14:39:34 +02:00

38 lines
861 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": {
"marked": "^16.2.1",
"turndown": "^7.2.1"
}
}