After cloning this repo, ensure dependencies are installed by running:
npm install
GraphQL Relay is written in ES6 using Babel, widely consumable JavaScript can be produced by running:
npm run build
Once npm run build
has run, you may import
or require()
directly from
node.
The full test suite can be evaluated by running:
npm test
While actively developing, we recommend running
npm run watch
in a terminal. This will watch the file system run lint, tests, and type checking automatically whenever you save a js file.
To lint the JS files and type interface checks run npm run lint
.