-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
42 lines (42 loc) · 1.38 KB
/
package.json
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
{
"name": "defi-balance",
"version": "1.0.0",
"repository": "https://github.com/valve-finance/erc20",
"license": "MIT",
"scripts": {
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"codegen": "graph -r dotenv/config codegen --output-dir src/types/",
"build": "graph build --ipfs https://api.staging.thegraph.com/ipfs/ ",
"deploy": "dotenv -- cross-var \"graph deploy %SLUG% --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --access-token %ACCESS_TOKEN%\"",
"prettier": "./node_modules/.bin/prettier —-write '**/*.ts'",
"launch": "npm run prepare:mainnet && npm run codegen && npm run build && npm run deploy"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.18.0",
"@graphprotocol/graph-ts": "0.18.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"typescript": "^3.5.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css,md}": [
"prettier --write --config ./.prettierrc",
"git add"
]
},
"dependencies": {
"cross-var": "^1.1.0",
"dotenv-cli": "^4.0.0",
"mustache": "^4.2.0"
}
}