forked from graphprotocol/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.54 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@graphprotocol/contracts",
"version": "1.16.0",
"description": "Contracts for the Graph Protocol",
"directories": {
"test": "test"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"addresses.json"
],
"dependencies": {
"ethers": "^5.4.4"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@ethersproject/experimental": "^5.4.0",
"@graphprotocol/common-ts": "^1.6.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.4.1",
"@openzeppelin/contracts-upgradeable": "3.4.2",
"@openzeppelin/hardhat-upgrades": "^1.6.0",
"@tenderly/hardhat-tenderly": "^1.0.11",
"@typechain/ethers-v5": "^7.0.0",
"@typechain/hardhat": "^2.0.0",
"@types/bs58": "^4.0.1",
"@types/chai-as-promised": "^7.1.5",
"@types/dotenv": "^8.2.0",
"@types/glob": "^7.2.0",
"@types/inquirer": "^7.3.1",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.2.2",
"@types/node": "^15.0.1",
"@types/winston": "^2.4.4",
"@types/yargs": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"@urql/core": "^2.1.3",
"bignumber.js": "^9.0.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"cli-table": "^0.3.6",
"dotenv": "^9.0.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-prettier": "^3.4.0",
"ethereum-waffle": "^3.3.0",
"form-data": "^4.0.0",
"glob": "^8.0.3",
"graphql-tag": "^2.12.4",
"hardhat": "^2.9.5",
"hardhat-abi-exporter": "^2.2.0",
"hardhat-contract-sizer": "^2.0.3",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-storage-layout": "0.1.6",
"hardhat-tracer": "^1.0.0-alpha.6",
"husky": "^7.0.4",
"inquirer": "^8.0.0",
"ipfs-http-client": "47.0.1",
"isomorphic-fetch": "^3.0.0",
"lint-staged": "^10.5.4",
"p-queue": "^6.6.1",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.9",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.16",
"ts-node": "^10.9.1",
"typechain": "^5.0.0",
"typescript": "^4.7.4",
"winston": "^3.3.3",
"yaml": "^1.10.2",
"yargs": "^17.0.0"
},
"scripts": {
"prepare": "husky install",
"prepublishOnly": "scripts/prepublish",
"build": "SKIP_LOAD=true scripts/build",
"clean": "rm -rf build/ cache/ dist/",
"compile": "hardhat compile",
"deploy": "yarn build && yarn predeploy && hardhat migrate",
"deploy-localhost": "yarn deploy --force --network localhost --graph-config config/graph.localhost.yml",
"deploy-rinkeby": "yarn deploy --force --network rinkeby --graph-config config/graph.rinkeby.yml",
"deploy-goerli": "yarn deploy --force --network goerli --graph-config config/graph.goerli.yml",
"predeploy": "scripts/predeploy",
"test": "scripts/test",
"test:e2e": "scripts/e2e",
"test:gas": "RUN_EVM=true REPORT_GAS=true scripts/test",
"test:coverage": "scripts/coverage",
"test:gre": "cd gre && mocha --exit --recursive 'test/**/*.test.ts' && cd ..",
"lint": "yarn lint:ts && yarn lint:sol",
"lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix",
"lint:ts": "eslint '**/*.{js,ts}'",
"lint:ts:fix": "yarn prettier:ts && eslint '**/*.{js,ts}' --fix",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:sol:fix": "yarn prettier:sol && solhint --fix 'contracts/**/*.sol'",
"prettier": "yarn prettier:ts && yarn prettier:sol",
"prettier:ts": "prettier --write '**/*.{js,ts,json}'",
"prettier:sol": "prettier --write 'contracts/**/*.sol'",
"analyze": "scripts/analyze",
"myth": "scripts/myth",
"flatten": "scripts/flatten && scripts/clean",
"typechain": "hardhat typechain",
"verify": "hardhat verify",
"size": "hardhat size-contracts"
},
"lint-staged": {
"contracts/**/*.sol": [
"yarn lint:sol:fix"
],
"**/*.ts": [
"yarn lint:ts:fix"
],
"**/*.js": [
"yarn lint:ts:fix"
],
"**/*.json": [
"yarn lint:ts:fix"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/graphprotocol/contracts.git"
},
"author": "The Graph Team",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/graphprotocol/contracts/issues"
},
"homepage": "https://github.com/graphprotocol/contracts#readme",
"types": "dist/types/index.d.ts"
}