* Enable babel for tests
This enables babel for tests by using a mocha compiler
It uses the babel config from package.json
Transformed OptionsManager test to es2015 to see if it works
Removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon
Also run the cli tests on travis, they were disabled if istanbul active, but istanbul is always active on travis so we were never running this tests.
* ignore scripts directory
* only register for tests
* Set only flag correctly
* Update babel-types documentation
Mostly just re-run generate-babel-types-docs but also update for some
more validator types.
* Rebuild docs as part of "build-dost"
* Include fields not in BUILDER_KEYS in babel-types docs
These fields don’t have a shorthand for you to pass them to the helper
method, but they are still useful to know about.
* Fields not included in BUILDER_KEYS cannot be "required"
We don’t ever type-check fields not in BUILDER_KEYS so they are never
required.
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes#3064
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.