node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

babel-relay-plugin

babel-relay-plugin

Installation

cd relay/scripts/babel-relay-plugin
npm install

Tests

npm test

Usage

var plugin = getBabelRelayPlugin(parsedSchemaJSON.data);
 
babel.transform(source, {
  plugins: [plugin],
  ...
});

License

Relay is BSD licensed. We also provide an additional patent grant.