Skip to content

Commit d3d38af

Browse files
committed
made graphql optional
1 parent a30a984 commit d3d38af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 \"./node_modules/@uniswap/**/artifacts/contracts/**/*[!dbg].json\"",
1010
"contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3",
1111
"relay": "relay-compiler relay.config.js",
12-
"relay-thegraph": "relay-compiler relay_thegraph.config.js",
13-
"graphql:fetch": "node fetch-schema.js",
14-
"graphql:generate": "yarn relay && yarn relay-thegraph",
12+
"relay-thegraph": "relay-compiler relay_thegraph.config.js || true",
13+
"graphql:fetch": "node fetch-schema.js || true",
14+
"graphql:generate": "yarn relay || true",
1515
"prei18n:extract": "node prei18n-extract.js",
1616
"i18n:extract": "lingui extract --locale en-US",
1717
"i18n:compile": "yarn i18n:extract && lingui compile",
1818
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile",
19-
"prepare": "yarn contracts:compile && yarn graphql:fetch && yarn graphql:generate && yarn i18n:compile",
19+
"prepare": "yarn contracts:compile && yarn i18n:compile",
2020
"start": "craco start",
2121
"build": "craco build",
2222
"serve": "serve build -l 3000",

0 commit comments

Comments
 (0)