NOTE: BEFORE OPENING AN ISSUE PLEASE SEE THE README.
Setup | Running tests | Internals
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
Note: Versions < 5.1.10 can't be built.
$ git clone https://github.com/babel/babel
$ cd babel
$ make bootstrapThen you can either run:
$ make buildto build Babel once or:
$ make watchto have Babel build itself then incrementally build files on change.
If you wish to build a copy of Babel for distribution then run:
$ make build-distand access the files from packages/babel/dist.
You can run tests for all packages via:
$ make testThis is mostly overkill and you can limit the package to a select by using the TEST_ONLY environment variable:
$ TEST_ONLY=babel-cli make testUse the TEST_GREP variable to run a subset of tests by name:
$ TEST_GREP=transformation make testTo test the code coverage, use:
$ make test-covPlease see /doc for internals documentation relevant to developing babel.