- Add script tags to demo-site HTML files for manual development - Disable CLI inline script injection to prevent duplicate scripts - Add library serving endpoints to servedev command - Update build process to auto-copy library to demo-site - Add CDN URL helpers for future production deployment - Update .gitignore for generated demo-site files Fixes .insertr-gate authentication for manual npm run serve workflow while maintaining clean separation between CLI and manual setups.
38 lines
1022 B
JSON
38 lines
1022 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": "rollup -c && npm run copy:demo",
|
|
"build:only": "rollup -c",
|
|
"copy:demo": "cp dist/insertr.js ../demo-site/insertr.js",
|
|
"watch": "rollup -c -w",
|
|
"dev": "rollup -c -w",
|
|
"serve": "node scripts/dev.js serve",
|
|
"serve:about": "live-server ../demo-site --port=3000 --open=/about.html",
|
|
"check": "node scripts/dev.js check",
|
|
"demo": "node scripts/dev.js demo",
|
|
"build:all": "node scripts/build.js"
|
|
},
|
|
"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",
|
|
"live-server": "^1.2.2"
|
|
}
|
|
} |