$ yarn
Build the publish Babel sources:
# One time build
$ yarn run build
# Watch
$ yarn run build-watch
Run the webpack-dev-server on http://localhost:8080
$ yarn start
Basics:
# Everything
$ yarn run check
# ... which really runs
$ yarn run lint
$ yarn run test
And 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 publish
and publish to npm if all is well. - Run
git push && git push --tags