- 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
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "insertr",
|
|
"version": "0.1.0",
|
|
"description": "The Tailwind of CMS - Zero-configuration content editing for any static site",
|
|
"main": "lib/dist/insertr.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node scripts/dev.js serve",
|
|
"dev:about": "live-server demo-site --port=3000 --open=/about.html",
|
|
"dev:check": "node scripts/dev.js check",
|
|
"dev:demo": "node scripts/dev.js demo",
|
|
"dev:help": "node scripts/dev.js help",
|
|
"build": "node scripts/build.js",
|
|
"build:lib": "cd lib && npm run build",
|
|
"test": "echo 'Test script placeholder - will add tests for insertr.js'",
|
|
"lint": "echo 'Linting placeholder - will add ESLint'",
|
|
"serve": "npm run dev",
|
|
"start": "npm run dev",
|
|
"install:all": "npm install && cd lib && npm install"
|
|
},
|
|
"keywords": [
|
|
"cms",
|
|
"headless-cms",
|
|
"static-site-generator",
|
|
"content-management",
|
|
"build-time-enhancement",
|
|
"zero-config",
|
|
"go",
|
|
"javascript"
|
|
],
|
|
"author": "Insertr Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/yourusername/insertr.git"
|
|
},
|
|
"devDependencies": {
|
|
"live-server": "^1.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"dependencies": {}
|
|
} |