Skip to content

digidem/mapeo-config-deconstructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapeo Configuration Deconstructor

.github/workflows/publish-npm.yml

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 .mapeosettings configuration 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.json file in the output folder, with the metadata.json name 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-deconstructor

Then you can run it with:

mapeo-config-deconstructor [config] [outputFolder]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published