-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.53 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.53 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "linear-subgraph",
"version": "0.1.0",
"repository": "https://github.com/linear-protocol/linear-subgraph",
"license": "MIT",
"scripts": {
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:testnet": "mustache config/testnet.json subgraph.template.yaml > subgraph.yaml",
"codegen": "graph codegen",
"predeploy": "yarn codegen",
"deploy": "env-cmd --no-override yarn deploy:studio",
"deploy:studio": "graph deploy --studio ${SLUG} --access-token ${ACCESS_TOKEN}",
"deploy:mainnet": "yarn prepare:mainnet && SLUG=linear yarn deploy",
"deploy:testnet": "yarn prepare:testnet && SLUG=linear-testnet yarn deploy",
"deploy-local": "graph deploy linear --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"lint": "eslint . --ext .ts",
"prepare": "husky install"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.61.0",
"@graphprotocol/graph-ts": "^0.26.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"env-cmd": "^10.1.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"husky": "^8.0.1",
"mustache": "^4.2.0",
"prettier": "^1.18.2"
},
"dependencies": {
"@apollo/client": "^3.5.10",
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"big.js": "^6.1.1",
"bignumber.js": "^9.0.2",
"graphql": "^16.4.0",
"isomorphic-unfetch": "^3.1.0",
"near-api-js": "^0.44.2",
"node-fetch": "^3.2.3",
"urql": "^2.2.0"
}
}