1.0.14 • Published 3 months ago
miranda-bender v1.0.14
Miranda Bender
Introduction
Miranda Bender is based on Shoptet Bender developed by Shoptet. It proxies remote e-shop to localhost while injecting and serving your local styles and scripts. This tool enables to development of visual changes without breaking the production e-shop. It is also suitable for Premium e-shop development, while emulation of the Blank mode is possible.
Install
Node >= 20 prerequisited\
Install using yarn:\
yarn add miranda-bender
Or npm:
npm install miranda-bender
Usage
Step-by-step guide to start
- Create file config.json (set "defaultUrl" to you e-shop URL):
{
"defaultUrl": "https://classic.shoptet.cz/",
"sourceFolder": "./src",
"outputFolder": "./dist"
"blankModeScript": false,
"blankModeStyle": false
}
- Your package.json should contain "name", "description" and "version".
- Create "src" folder, inside create "scss" and "js" folders.
- "scss" folder reads "critical.scss" and "style.scss" files.
- "js" folder reads "critical.js" and "script.js" files.
- Run the tool with:
- if you are using npm:
npx miranda-bender
- if you are using yarn:
miranda-bender
- if you are using npm:
- For production build use
-m "production"
And you're ready to go -> enjoy coding and development ;)
OR
Try miranda-bender -h
for CLI help