yarn install & yarn start & open http://localhost:9966/example/
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> && yarn test
git checkout master
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