npm install & npm start & open http://localhost:9966/
You'll need a Mapbox access token stored in localstorage. Set it via
localStorage.setItem('MapboxAccessToken', '<YOUR ACCESS TOKEN>');
Tests require an MapboxAccessToken env variable to be set.
export MapboxAccessToken=<YOUR ACCESS TOKEN> && npm test
git checkout main
git pull --rebase --autostash
to ensure you have the latest changes.export MapboxAccessToken=<YOUR ACCESS TOKEN> && npm test
- Update
CHANGELOG.md
npm version {major|minor|patch}
- Create a release branch off of master that updates
CHANGELOG.md
and incrementspackage.json
. git push --follow-tags
mbx npm publish
- Update version number on GL JS example page