@geomatico/geocomponents
v3.0.4
Published
Geomatico React Components
Downloads
126
Keywords
Readme
Geocomponents
Requirements
We need to use at least node v. 15.x
and npm v. 7.x
.
If package-lock.json
is altered after a fresh npm install
,
you probably have an outdated npm version, and the bundle
will be bloated.
Setting Mapbox Token
Some storybooks illustrate the usage of Mapbox 2, which needs a valid Mapbox Token to run.
Please add it to the .env
file. Note this is only for stories, but Geocomponents doesn't
require mapbox-gl or a mapbox token to be built.
Local .tgz package
Run npm run package
Releasing
Make sure to be in sync with main branch
git checkout main
git pull
Log in to npm with an account that belongs to '@geomatico' org
npm login
Make the release
npm version 3.0.x
npm run release
Deploy the storybook to https://labs.geomatico.es/geocomponents
npm run deploy-storybook