react-context-component
Version:
This is a React component that lets you add things in the context. Put simply, the [context feature](https://facebook.github.io/react/docs/context.html) basically lets you to pass some data through all nodes in the components tree.
41 lines (40 loc) • 713 B
Plain Text
{
"plugins": [
"babel-plugin-transform-class-properties",
[
"babel-plugin-transform-object-rest-spread",
{
"useBuiltIns": true
}
],
[
"babel-plugin-transform-react-jsx",
{
"useBuiltIns": true
}
],
[
"babel-plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true
}
],
],
"presets": [
["es2015", { "modules": false }],
"stage-0",
"react"
],
"env": {
"test": {
"presets": ["es2015", "react", "stage-0"]
},
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
]
}
}
}