$ git clone https://github.com/babel/babili
$ cd babili
$ npm install
$ npm run bootstrap
Then you can either run:
$ npm run build
to build Babel once or:
$ npm run watch
to have Babel build itself then incrementally build files on change.
To run tests:
$ npm test
To run lint:
$ npm run lint
To run lint autofixes:
$ npm run fix
To run current benchmarks on a file:
$ ./scripts/benchmark.js file.js
To run current plugin timing on a file:
$ ./scripts/plugin-timing.js file.js
Use npm run publish
. It will run lerna publish
(we use --independent) so it will prompt the version number for every package.
If you are releasing a new package, you'll want to run ./scripts/npm-owner-update.sh
to add all owners to the new npm package.