README
Set up working environment
- npm install -g babel-core
- npm install -g babel-cli
- Create .babelrc
{
"presets": ["es2015"]
}
Run example
npm install
babel-node example.js
MISC
- Read README.md with
grip
pip install grip
FactoryGirl like TDD test object generator in ES6 and compiled with babel
<script type="module">
import factoryPanda from 'https://cdn.skypack.dev/factory-panda';
</script>
{
"presets": ["es2015"]
}
npm install
babel-node example.js
grip
pip install grip