forked from cardano-foundation/cardano-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 6.8 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
{
"name": "cardano-graphql",
"description": "A TypeScript monorepo. Includes a server package and API modules for flexible implementation",
"engines": {
"node": ">=14.15.0"
},
"version": "8.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",
"dev:init": "./scripts/dev_init.sh",
"dev:cleanup": "shx rm -rf ./state ./bin",
"mainnet:stack": "CONTEXT=$PWD NETWORK=mainnet . ./scripts/export_env.sh && docker compose -p mainnet up --build -d",
"mainnet:dev": "CONTEXT=$PWD NETWORK=mainnet . ./scripts/export_env.sh && yarn service-dependencies -p mainnet up --build",
"mainnet:up": "yarn mainnet:stack && docker compose -p mainnet logs -f",
"mainnet:down": "docker compose -p mainnet down --remove-orphans",
"mainnet:server": "CONTEXT=$PWD NETWORK=mainnet . ./scripts/export_env.sh && yarn workspace @cardano-graphql/server start",
"mainnet:background": "CONTEXT=$PWD NETWORK=mainnet . ./scripts/export_env.sh && yarn workspace @cardano-graphql/api-cardano-db-hasura background",
"preprod:stack": "CONTEXT=$PWD NETWORK=preprod . ./scripts/export_env.sh && docker compose -p preprod up --build -d",
"preprod:dev": "CONTEXT=$PWD NETWORK=preprod . ./scripts/export_env.sh && yarn service-dependencies -p preprod up --build",
"preprod:up": "yarn preprod:stack && docker compose -p preprod logs -f",
"preprod:down": "docker compose -p preprod down --remove-orphans",
"preprod:server": "CONTEXT=$PWD NETWORK=preprod . ./scripts/export_env.sh && yarn workspace @cardano-graphql/server start",
"preprod:background": "CONTEXT=$PWD NETWORK=preprod . ./scripts/export_env.sh && yarn workspace @cardano-graphql/api-cardano-db-hasura background",
"preview:stack": "CONTEXT=$PWD NETWORK=preview . ./scripts/export_env.sh && docker compose -p preview up --build -d",
"preview:dev": "CONTEXT=$PWD NETWORK=preview . ./scripts/export_env.sh && yarn service-dependencies -p preview up --build",
"preview:up": "yarn preview:stack && docker compose -p preview logs -f",
"preview:down": "docker compose -p preview down --remove-orphans",
"preview:server": "CONTEXT=$PWD NETWORK=preview . ./scripts/export_env.sh && yarn workspace @cardano-graphql/server start",
"preview:background": "CONTEXT=$PWD NETWORK=preview . ./scripts/export_env.sh && yarn workspace @cardano-graphql/api-cardano-db-hasura background",
"testnet:stack": "CONTEXT=$PWD NETWORK=testnet . ./scripts/export_env.sh && docker compose -p testnet up --build -d",
"testnet:dev": "CONTEXT=$PWD NETWORK=testnet . ./scripts/export_env.sh && yarn service-dependencies -p testnet up --build",
"testnet:up": "yarn testnet:stack && docker compose -p testnet logs -f",
"testnet:down": "docker compose -p testnet down --remove-orphans",
"testnet:server": "CONTEXT=$PWD NETWORK=testnet . ./scripts/export_env.sh && yarn workspace @cardano-graphql/server start",
"testnet:background": "CONTEXT=$PWD NETWORK=testnet . ./scripts/export_env.sh && yarn workspace @cardano-graphql/api-cardano-db-hasura background",
"vasil-dev:stack": "CONTEXT=$PWD NETWORK=vasil-dev . ./scripts/export_env.sh && docker compose -p vasil-dev up --build -d",
"vasil-dev:dev": "CONTEXT=$PWD NETWORK=vasil-dev . ./scripts/export_env.sh && yarn service-dependencies -p vasil-dev up --build",
"vasil-dev:up": "yarn vasil-dev:stack && docker compose -p vasil-dev logs -f",
"vasil-dev:down": "docker compose -p vasil-dev down --remove-orphans",
"vasil-dev:server": "CONTEXT=$PWD NETWORK=vasil-dev . ./scripts/export_env.sh && yarn workspace @cardano-graphql/server start",
"vasil-dev:background": "CONTEXT=$PWD NETWORK=vasil-dev . ./scripts/export_env.sh && yarn workspace @cardano-graphql/api-cardano-db-hasura background",
"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 -vE \"server|background\" | xargs docker compose",
"test": "yarn workspaces run test"
},
"contributors": [
"Rhys Bartels-Waller <[email protected]> (https://iohk.io)",
"Sam Jeston <[email protected]>"
],
"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.21.8",
"@graphql-codegen/typescript": "^1.23.0",
"@graphql-codegen/typescript-graphql-files-modules": "^1.18.1",
"@graphql-codegen/typescript-resolvers": "^1.20.0",
"@types/bunyan": "^1.8.6",
"@types/clear": "^0.1.0",
"@types/dockerode": "^3.3.23",
"@types/express": "^4.17.13",
"@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/node": "^14.0.13",
"@types/node-fetch": "^2.5.7",
"@types/pg": "^7.14.4",
"@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.25.3",
"apollo-server-testing": "^2.25.3",
"async": "^3.2.2",
"bignumber.js": "^9.0.0",
"cross-fetch": "^3.1.5",
"delay": "^4.4.0",
"env-paths": "^2.2.0",
"eslint": "^7.32.0",
"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.7",
"p-retry": "^4.2.0",
"shx": "^0.3.2",
"tmp-promise": "^3.0.2",
"ts-jest": "^26.1.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.2.3"
},
"resolutions": {
"@babel/traverse": "7.23.9",
"@cardanosolutions/json-bigint": "1.0.0",
"@types/express": "4.17.13",
"**/graphql": "14.5.8",
"ansi-regex": "5.0.1",
"bl": "4.0.3",
"cross-fetch": "3.1.5",
"glob-parent": "5.1.2",
"got": "11.8.5",
"json5": "2.2.2",
"jsonwebtoken": "9.0.0",
"minimatch": "3.0.5",
"node-fetch": "2.6.7",
"node-notifier": "8.0.1",
"semver": "5.7.2",
"tough-cookie": "4.1.3",
"word-wrap": "1.2.4",
"ws": "7.4.6"
},
"dependencies": {}
}