$ yarnBuild the publish Babel sources:
# One time build
$ yarn run build
# Watch
$ yarn run build-watchRun the webpack-dev-server on http://localhost:8080
$ yarn startBasics:
# Everything
$ yarn run check
# ... which really runs
$ yarn run lint
$ yarn run testAnd E2E tests (you must be on node@8+):
$ yarn run test-e2e(Only for project administrators)
We use an npm version release workflow:
- Run
npm version patch(orminor|major|ACTUAL_VERSION_NUMBER) which runs tests/lint, builds all files we need to publish, mutatespackage.json, and does all the requisite git stuff. - Run
npm publishand publish to npm if all is well. - Run
git push && git push --tags