2.0.6 • Published 2 years ago
mapeo-config-deconstructor v2.0.6
Mapeo Configuration Deconstructor
Mapeo Configuration Deconstructor is a tool designed to simplify the process of creating and managing Mapeo configurations. It provides a set of utilities to deconstruct a Mapeo configuration into an config folder that can be re-built using mapeo-settings-builder.
Features
- Deconstructs a
.mapeosettingsconfiguration file to an output folder . - Deconstructs SVG sprite from a configuration folder to an output folder.
- Copies files (style.css, metadata.json, defaults.json, translations.json) from a configuration folder to an output folder.
- Creates a
package.jsonfile in the output folder, with themetadata.jsonname value.
Usage
You can use Mapeo Configuration Deconstructor via npx or install it globally using npm.
outputFolder defaults to directory where program is executed from.
Using npx
npx mapeo-config-deconstructor [config] [outputFolder]Installing globally
npm install -g mapeo-config-deconstructorThen you can run it with:
mapeo-config-deconstructor [config] [outputFolder]