-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
73 lines (73 loc) · 2.7 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
{
"name": "rtoken-analytics",
"version": "0.1.1",
"description": "Data and analytics utility for rToken",
"main": "dist/rtoken-analytics.js",
"repository": "[email protected]:rtoken-project/rtoken-analytics.git",
"author": "Patrick Gallagher <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"setup_subgraph_local": "cd subgraph && yarn && yarn codegen && yarn create-local && yarn deploy-local",
"start_ganache": "ganache-cli -h 0.0.0.0 -m sweet",
"fetch_contracts": " ",
"deploy_contracts": "truffle test --network subgraphDev test/deployContracts.js",
"update_yaml": "",
"deploy_subgraph": "cd subgraph && yarn create-local && yarn deploy-local --watch",
"start_subgraph": "yarn deploy_contracts && yarn deploy_subgraph",
"test_local": "LOCAL=true SUBGRAPH_URL=$npm_package_subgraph_local_url mocha --timeout 7000 test/RTokenAnalytics.test.js",
"test": "SUBGRAPH_ID=$npm_package_subgraph_mainnet_id SUBGRAPH_URL=$npm_package_subgraph_mainnet_url mocha --timeout 7000 test/RTokenAnalytics.test.js",
"build-dev": "webpack -d --mode development",
"build-prod": "webpack -p --mode production",
"watch": "webpack --watch",
"lint": "eslint --config ./.eslintrc.json ./src",
"pretty": "prettier --write '{src,tests}/**/*.js'",
"format": "npm run lint && npm run pretty"
},
"predeploy": "npm version patch",
"subgraph": {
"mainnet": {
"url": "https://api.thegraph.com/subgraphs/id/",
"id": "QmfUZ16H2GBxQ4eULAELDJjjVZcZ36TcDkwhoZ9cjF2WNc",
"contractAddress": "0x261b45D85cCFeAbb11F022eBa346ee8D1cd488c0"
},
"local": {
"url": "http://localhost:8000/subgraphs/name/rtoken-project/rtoken-analytics",
"id": "",
"contractAddress": ""
}
},
"dependencies": {
"apollo-link": "^1.2.13",
"apollo-link-http": "^1.5.16",
"axios": "^0.19.0",
"bignumber": "^1.1.0",
"cross-fetch": "^3.0.4",
"ethers": "^4.0.40",
"graphql-tag": "^2.10.1"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@decentral.ee/web3-test-helpers": "^0.2.1",
"@truffle/hdwallet-provider": "^1.0.26",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"dotenv": "^16.0.3",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eth-registry": "^1.2.0",
"graphql": "^14.5.8",
"mocha": "^6.2.2",
"openzeppelin-solidity": "^2.4.0",
"openzeppelin-test-helpers": "^0.5.1",
"prettier": "^1.19.1",
"react-dom": "^16.12.0",
"truffle": "^5.1.1",
"webpack": "^5.77.0",
"webpack-cli": "^3.3.10"
}
}