-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
110 lines (110 loc) · 3.59 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
{
"name": "@daostack/subgraph",
"version": "0.0.41-11",
"author": "DAOstack (https://www.daostack.io)",
"license": "GPL-3.0",
"description": "A caching layer for daostack using The Graph",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/daostack/subgraph.git"
},
"engines": {
"node": ">=10.16.3"
},
"scripts": {
"codegen": "node ops/generate-abis.js && node ops/generate-schema.js && node ops/generate-subgraph.js && node ops/generate-daos-subgraph.js && node ops/generate-contractsinfo.js && node ops/graph-codegen.js",
"codegen:watch": "watch 'npm run codegen' src/mappings src/domain",
"deploy": "rm -rf src/types && rm -rf abis && node ops/setup-env.js",
"deploy:watch": "npm run deploy -- --watch",
"docker:stop": "docker-compose down -v",
"docker:run": "node ops/set-docker-network.js private && docker-compose up -d",
"docker:run-kovan": "node ops/set-docker-network.js kovan && docker-compose up -d",
"docker:run-rinkeby": "node ops/set-docker-network.js rinkeby && docker-compose up -d",
"docker:run-mainnet": "node ops/set-docker-network.js mainnet && docker-compose up -d",
"docker:rebuild": "docker-compose build",
"docker:logs": "docker-compose logs --follow",
"jest": "jest --runInBand --forceExit",
"lint": "tslint -c tslint.json 'src//**/*.ts' -e 'src//types/**/*.ts' && tslint -c tslint.json 'test/**/*.ts'",
"lint-fix": "tslint --fix -c tslint.json 'src//**/*.ts' -e 'src//types/**/*.ts' && tslint --fix -c tslint.json 'test/**/*.ts'",
"migrate": "node ops/migrate.js",
"test": "npm run deploy && jest --runInBand --forceExit",
"test:watch": "npm run test -- --watch"
},
"devDependencies": {
"@daostack/arc": "0.0.1-rc.57",
"@daostack/migration": "0.0.1-rc.57-v0",
"@types/jest": "^23.3.7",
"@types/mocha": "^5.2.5",
"babel-eslint": "^10.0.1",
"eslint": "^6.2.2",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"ipfs-http-client": "^29.1.1",
"spawn-command": "0.0.2-1",
"watch": "^1.0.2"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.18.0",
"@graphprotocol/graph-ts": "0.18.0",
"@types/node": "^10.14.4",
"apollo-client": "^2.4.5",
"apollo-link-ws": "^1.0.9",
"axios": "^0.18.0",
"chalk": "^2.4.1",
"docker-compose": "^0.9.1",
"dotenv": "^6.2.0",
"ethereumjs-wallet": "^0.6.0",
"fs-extra": "^8.0.1",
"fstream": "^1.0.12",
"ganache-cli": "6.9.0",
"glob": "^7.1.3",
"graphql": "^14.2.1",
"graphql-request": "^1.8.2",
"graphql-tag": "^2.10.0",
"handlebars": "^4.7.6",
"hdwallet-accounts": "0.0.1",
"jest": "^25.2.4",
"js-yaml": "^3.13.1",
"moment": "^2.22.2",
"mustache": "^3.0.0",
"shell-exec": "^1.0.2",
"subscriptions-transport-ws": "^0.9.15",
"tar": "^6.0.1",
"ts-jest": "^25.3.0",
"tslint": "^5.15.0",
"typedarray-to-buffer": "^3.1.5",
"typescript": "^3.4.2",
"web3": "1.2.6",
"winston": "^3.1.0",
"yaeti": "^1.0.2",
"yargs": "^12.0.2"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "./test/tsconfig.json"
}
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}