relay-compiler-language-typescript-hooks-gen-preview
v0.1.0
Published
Preview of https://github.com/relay-tools/relay-compiler-language-typescript/pull/305
Downloads
6
Maintainers
Readme
relay-compiler-language-typescript-hooks-gen-preview
Note: preview release of https://github.com/relay-tools/relay-compiler-language-typescript/pull/305
Installation
Add the package to your dev dependencies:
yarn add graphql relay-compiler --dev
yarn add typescript relay-compiler-language-typescript-hooks-gen-preview --dev
Configuration
relay-compiler
Then configure your relay-compiler
script to use it, like so:
{
"scripts": {
"relay": "relay-compiler --src ./src --schema data/schema.graphql --language typescript-hooks-gen-preview --artifactDirectory ./src/__generated__"
}
}
License
This package is available under the MIT license. See the included LICENSE file for details.