forked from cardano-foundation/cardano-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 4.75 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
{
"name": "cardano-graphql",
"description": "A TypeScript monorepo. Includes a server package and API modules for flexible implementation",
"version": "2.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn workspaces run build",
"cleanup": "yarn workspaces run cleanup && shx rm -rf node_modules",
"cli:install": "yarn workspace @cardano-graphql/cli global:add",
"cli:uninstall": "yarn workspace @cardano-graphql/cli global:remove",
"mainnet:stack": "API_PORT=3100 HASURA_PORT=8090 NETWORK=mainnet docker-compose -p mainnet up --build -d",
"mainnet:up": "yarn mainnet:stack && docker-compose -p mainnet logs -f",
"mainnet:dev": "API_PORT=3100 HASURA_PORT=8090 NETWORK=mainnet yarn service-dependencies -p mainnet up --build",
"mainnet:down": "docker-compose -p mainnet down",
"mainnet:server": "API_PORT=3100 GENESIS_FILE_BYRON=${PWD}/config/network/mainnet/genesis/byron.json GENESIS_FILE_SHELLEY=${PWD}/config/network/mainnet/genesis/shelley.json HASURA_URI=http://localhost:8090 yarn workspace @cardano-graphql/server start",
"testnet:stack": "API_PORT=3101 HASURA_PORT=8091 NETWORK=testnet docker-compose -p testnet up --build -d",
"testnet:up": "yarn testnet:stack && docker-compose -p testnet logs -f",
"testnet:dev": "API_PORT=3101 HASURA_PORT=8091 NETWORK=testnet yarn service-dependencies -p testnet up --build",
"testnet:down": "docker-compose -p testnet down",
"testnet:server": "API_PORT=3101 GENESIS_FILE_BYRON=${PWD}/config/network/testnet/genesis/byron.json GENESIS_FILE_SHELLEY=${PWD}/config/network/testnet/genesis/shelley.json HASURA_URI=http://localhost:8091 yarn workspace @cardano-graphql/server start",
"mainnet_candidate_4:stack": "API_PORT=3102 HASURA_PORT=8092 NETWORK=mainnet_candidate_4 docker-compose -p mainnet_candidate_4 up --build -d",
"mainnet_candidate_4:up": "yarn mainnet_candidate_4:stack && docker-compose -p mainnet_candidate_4 logs -f",
"mainnet_candidate_4:dev": "API_PORT=3102 HASURA_PORT=8092 NETWORK=mainnet_candidate_4 yarn service-dependencies -p mainnet_candidate_4 up --build",
"mainnet_candidate_4:down": "docker-compose -p mainnet_candidate_4 down",
"mainnet_candidate_4:server": "API_PORT=3102 GENESIS_FILE_BYRON=${PWD}/config/network/mainnet_candidate_4/genesis/byron.json GENESIS_FILE_SHELLEY=${PWD}/config/network/mainnet_candidate_4/genesis/shelley.json HASURA_URI=http://localhost:8092 yarn workspace @cardano-graphql/server start",
"lint": "yarn workspaces run lint",
"loadtest:byron-staging": "artillery run test/loadtest/byron-staging-config.yml",
"publish-packages": "yarn workspaces run publish",
"service-dependencies": "docker-compose config --services | grep -v \"cardano-graphql\" | xargs docker-compose",
"test": "yarn workspaces run test"
},
"contributors": [
"Rhys Bartels-Waller <rhys.bartelswaller@iohk.io> (https://iohk.io)",
"Sam Jeston <sam.jeston@gmail.com>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/input-output-hk/cardano-graphql/issues"
},
"homepage": "https://github.com/input-output-hk/cardano-graphql#README.md",
"devDependencies": {
"@graphql-codegen/cli": "^1.15.2",
"@graphql-codegen/typescript": "^1.15.2",
"@graphql-codegen/typescript-graphql-files-modules": "^1.15.2",
"@graphql-codegen/typescript-resolvers": "^1.15.2",
"@types/clear": "^0.1.0",
"@types/dockerode": "^2.5.33",
"@types/figlet": "^1.2.0",
"@types/fs-extra": "^9.0.1",
"@types/graphql-depth-limit": "^1.1.2",
"@types/inquirer": "^6.5.0",
"@types/jest": "^26.0.3",
"@types/js-yaml": "^3.12.5",
"@types/lodash.get": "^4.4.6",
"@types/lodash.set": "^4.3.6",
"@types/node": "^14.0.13",
"@types/node-fetch": "^2.5.7",
"@types/set-interval-async": "^1.0.0",
"@types/tmp": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"apollo-boost": "^0.4.9",
"apollo-link-http": "^1.5.17",
"apollo-server-core": "^2.15.0",
"apollo-server-testing": "^2.15.0",
"bignumber.js": "^9.0.0",
"cross-fetch": "^3.0.4",
"env-paths": "^2.2.0",
"eslint": "^7.3.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-watch": "^7.0.0",
"graphql": "14.5.8",
"graphql-depth-limit": "^1.1.0",
"graphql-tag": "^2.10.3",
"jest": "^26.0.1",
"node-fetch": "^2.6.0",
"p-retry": "^4.2.0",
"shx": "^0.3.2",
"tmp-promise": "^3.0.2",
"ts-jest": "^26.1.1",
"ts-node-dev": "^1.0.0-pre.49",
"typescript": "^3.9.5"
},
"resolutions": {
"**/graphql": "14.5.8"
}
}