- Add root package.json with development scripts and dependencies - Move scripts/ from lib back to root for intuitive developer experience - Clean lib/package.json to contain only runtime dependencies - Add comprehensive justfile with cross-platform command shortcuts - Update README.md with new development workflow instructions - Maintain lib as clean, publishable package while enabling root-level commands
37 lines
825 B
JSON
37 lines
825 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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|