forked from ParabolInc/parabol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
relay.config.js
30 lines (29 loc) · 908 Bytes
/
relay.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const path = require('path')
module.exports = {
artifactDirectory: path.join(__dirname, 'packages/client/__generated__'),
clientSchema: path.join(__dirname, 'packages/client/clientSchema.graphql'),
persistFunction: path.join(__dirname, 'packages/server/graphql/persistFunction.js'),
persistOutput: path.join(__dirname, 'queryMap.json'),
language: 'typescript',
src: path.join(__dirname, 'packages'),
customScalars: {
Email: 'string',
DateTime: 'string',
URL: 'string',
_xGitHubHTML: 'string',
_xGitHubURI: 'string'
},
extensions: ['js', 'ts', 'tsx'],
noFutureProofEnums: true,
schema: path.join(__dirname, 'packages/server/graphql/public/schema.graphql'),
include: ['client/**'],
exclude: [
'**/lib/**',
'**/node_modules/**',
'**/githubSchema.graphql',
'**/githubQueries/**',
'**/__generated__/**'
],
// quiet: true,
watchman: false
}