Fixt toolkit
Add functions used across multiple repos here.
All functions here must be tested!
Developing toolkit
Everything you add to toolkit must have 100% code coverage
You'll need to add a local .babelrc
to run tests.
{
"presets": ["es2015", "stage-0"]
}
Building toolkit
You need to compile toolkit, it uses es2015. Add this to webpack
.
{
test: /\.jsx?$/,
loader: 'babel-loader',
include: [path.join(__dirname, 'node_modules/fixt-toolkit')],
},