Source of truth for design tokens at Lokalise.
By default, pre-commit hook will run npm run lint:fix
.
Check out husky docs for more info.
You can use npm run commit
to interactively construct correct commit messsage.
Check out commitlint docs for examples of how to customise.
The following token needs to be set in the Github repo for the prerelease
and release
Github Actions to work:
-
secrets.NPM_TOKEN
(need this to publish on NPM)
When performing a release, make sure to follow our conventional commit approach, as described in contribution documentation.
This project is APACHE, VERSION 2.0 licensed, see LICENSE.md for details.
lokalise-npm-package-template was created by Lokalise Engineering Team. Support our work by keeping this line in your README.