Package Exports
- decentraland-commons
- decentraland-commons/dist/browser.js
- decentraland-commons/dist/env
- decentraland-commons/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (decentraland-commons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Commons 
Set of common functionality accross Decentraland projects.
Scripts
build
Build the lib for use
lint
Lint js files with eslint
docs
Builds an static page with the JSDoc documentation
test
Run tests using mocha and chai
Dependencies
babel-polyfill
If you're using decentraland-commons
as a dependency without using babel-node
you'll need to add an import 'babel-polyfill'
to your code's entrypoint.
Release
We use semantic-release to automate the release process of this package. Every time we merge to master
, the CI will run semantic-release
and it will publish a new version of the package. It will determine the next version of the package and it will generate release notes from the commit messages. That's why we enforce the following format for commit messages:
type: message
or
type(scope): messages
for example
feature(Map): added zoom levels
We use husky and validate-commit-msg to enforce this format on every commit.