forked from input-output-hk/cardano-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 4.98 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
{
"name": "@cardano-sdk/cardano-services",
"version": "0.28.12",
"description": "Cardano GraphQL Services",
"engines": {
"node": ">=16.20.2"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"bin": "./dist/cjs/cli.js",
"repository": "https://github.com/input-output-hk/cardano-js-sdk",
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:cjs",
"build:cjs": "tsc --build src && chmod +x ./dist/cjs/cli.js && bash ./copy-assets.sh",
"build:test-db": "./test/jest-setup/rebuild-test-db.sh",
"cleanup:dist": "rm -rf dist",
"cleanup:nm": "rm -rf node_modules",
"cleanup": "rm -rf dist node_modules",
"cli": "ts-node --transpile-only src/cli.ts",
"compose:up": "__FIX_UMASK__=$(chmod -R a+r ../../compose/placeholder-secrets) docker compose --env-file environments/.env.$NETWORK -p cardano-services-$NETWORK -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/pg-agent.yml -f ../../compose/$(uname -m).yml ${FILES:-} up",
"compose:down": "docker compose -p cardano-services-$NETWORK -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/pg-agent.yml -f ../../compose/$(uname -m).yml down -t 120",
"coverage": "yarn test --coverage || true",
"circular-deps:check": "madge --circular dist/cjs",
"lint": "eslint -c ../../complete.eslintrc.js \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "yarn lint --fix",
"generate-migration": "typeorm-ts-node-commonjs migration:generate src/Projection/migrations/migrations -d src/migrationDataSource.ts",
"mainnet:up": "NETWORK=mainnet SUBMIT_API_ARGS=--mainnet yarn compose:up",
"mainnet:down": "NETWORK=mainnet yarn compose:down",
"prepack": "yarn build",
"preprod:up": "NETWORK=preprod SUBMIT_API_ARGS='--testnet-magic 1' yarn compose:up",
"preprod:down": "NETWORK=preprod yarn compose:down",
"pretest": "yarn build",
"preview:up": "NETWORK=preview SUBMIT_API_ARGS='--testnet-magic 2' yarn compose:up",
"preview:down": "NETWORK=preview yarn compose:down",
"sanchonet:up": "NETWORK=sanchonet SUBMIT_API_ARGS='--testnet-magic 4' yarn compose:up",
"sanchonet:down": "NETWORK=sanchonet yarn compose:down",
"test": "jest --runInBand -c ./jest.config.js --selectProjects unit",
"test:build:verify": "tsc --build ./test",
"test:cli": "jest --runInBand -c ./jest.config.js --selectProjects cli",
"test:debug": "DEBUG=true yarn test",
"test:e2e": "echo 'test:e2e' command not implemented yet",
"test:load": "jest -c ./load.jest.config.js --runInBand",
"tscNoEmit": "echo typescript --noEmit command not implemented yet"
},
"devDependencies": {
"@cardano-ogmios/client": "6.3.0",
"@cardano-sdk/util-dev": "workspace:~",
"@types/bunyan": "^1.8.8",
"@types/cors": "^2.8.13",
"@types/death": "^1.1.2",
"@types/dockerode": "^3.3.8",
"@types/express": "^4.17.13",
"@types/express-prometheus-middleware": "^1.2.1",
"@types/lodash": "^4.14.182",
"@types/pg": "^8.6.5",
"@types/wait-on": "^5.3.1",
"axios-mock-adapter": "^1.20.0",
"cbor": "^8.1.0",
"delay": "^5.0.0",
"dockerode": "^3.3.1",
"dockerode-utils": "^0.0.7",
"eslint": "^7.32.0",
"get-port-please": "^2.5.0",
"jest": "^28.1.3",
"jest-to-match-shape-of": "^1.3.2",
"json-bigint-patch": "^0.0.8",
"madge": "^5.0.1",
"npm-run-all": "^4.1.5",
"ts-jest": "^28.0.7",
"ts-node": "^10.0.0",
"typescript": "^4.7.4",
"wait-on": "^6.0.1"
},
"dependencies": {
"@blockfrost/blockfrost-js": "5.5.0-beta.0",
"@cardano-sdk/cardano-services-client": "workspace:~",
"@cardano-sdk/core": "workspace:~",
"@cardano-sdk/crypto": "workspace:~",
"@cardano-sdk/ogmios": "workspace:~",
"@cardano-sdk/projection": "workspace:~",
"@cardano-sdk/projection-typeorm": "workspace:~",
"@cardano-sdk/util": "workspace:~",
"@cardano-sdk/util-rxjs": "workspace:~",
"@hapi/topo": "^6.0.2",
"axios": "^0.28.0",
"backoff-rxjs": "^7.0.0",
"bignumber.js": "^9.1.0",
"body-parser": "^1.19.2",
"bunyan": "^1.8.15",
"commander": "^9.1.0",
"cors": "^2.8.5",
"death": "^1.1.0",
"debug": "^4.3.4",
"dotenv": "^16.0.0",
"envalid": "^7.3.1",
"express": "^4.17.3",
"express-openapi-validator": "^4.13.8",
"express-prom-bundle": "^6.4.1",
"fraction.js": "^4.2.0",
"fuse.js": "^7.0.0",
"json-bigint": "^1.0.0",
"jsonschema": "^1.4.1",
"lodash": "^4.17.21",
"node-cache": "^5.1.2",
"p-retry": "^4.2.0",
"pg": "^8.7.3",
"pg-boss": "8.4.2",
"pg-connection-string": "^2.5.0",
"prom-client": "^14.0.1",
"reflect-metadata": "~0.1.13",
"rxjs": "^7.4.0",
"ts-custom-error": "^3.2.0",
"ts-log": "^2.2.4",
"typeorm": "^0.3.15"
},
"files": [
"dist/*",
"!dist/tsconfig.tsbuildinfo",
"LICENSE",
"NOTICE"
]
}