create-modulo
Version:
Starter projects for Modulo.html - Ready for all uses - Markdown-SSG / SSR / API-backed SPA
20 lines (19 loc) • 1.01 kB
JSON
{
"private": true,
"publish": "_build",
"scripts": {
"clean": "rm -f _build/*.* _build/articles/*.*",
"build": "npm run firefox-buildall",
"modulo": "bash static/scripts/run.sh",
"oludom": "node static/scripts/node-oludom.mjs",
"oludom-buildall": "npm run clean && bash static/scripts/run.sh buildall",
"chromium": "MODULO_DRIVER=chromium bash static/scripts/run.sh",
"chromium-gui": "MODULO_DRIVER='chromium=gui' bash static/scripts/run.sh",
"chromium-buildall": "npm run clean && npm run install-browser chromium && npm run chromium buildall",
"happydom": "MODULO_DRIVER=happydom bash static/scripts/run.sh",
"firefox": "MODULO_DRIVER=firefox bash static/scripts/run.sh",
"firefox-gui": "MODULO_DRIVER='firefox=gui' bash static/scripts/run.sh",
"firefox-buildall": "npm run clean && npm run install-browser firefox && npm run firefox buildall",
"install-browser": "npm install --no-save playwright && ./node_modules/.bin/playwright install"
}
}