-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
182 lines (182 loc) · 8.96 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "@cardano-sdk/e2e",
"version": "0.33.3",
"description": "End to end tests for the cardano-js-sdk packages.",
"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"
}
},
"sideEffects": [
"./test/web-extension/extension/**/*.ts"
],
"scripts": {
"artillery:stake-pool-query": "WORKERS=1 node -r ts-node/register ../../node_modules/.bin/artillery run test/artillery/StakePoolSearch.yml",
"artillery:wallet-restoration": "WORKERS=1 node -r ts-node/register ../../node_modules/.bin/artillery run --dotenv ./.env test/artillery/wallet-restoration/WalletRestoration.yml",
"load-test-custom:stake-pool-query": "ts-node test/load-test-custom/stake-pool-search/stake-pool-search.test.ts",
"load-test-custom:wallet-init": "ts-node test/load-test-custom/wallet-init/wallet-init.test.ts",
"load-test-custom:wallet-restoration": "ts-node test/load-test-custom/wallet-restoration/wallet-restoration.test.ts",
"test": "echo 'test' command not implemented yet",
"test:blockfrost": "jest -c jest.config.js --forceExit --selectProjects blockfrost --runInBand --verbose",
"test:utils": "jest -c jest.config.js --forceExit --selectProjects utils --verbose",
"test:long-running": "jest -c jest.config.js --forceExit --selectProjects long-running --runInBand --verbose",
"test:local-network": "jest -c jest.config.js --forceExit --selectProjects local-network --runInBand --verbose",
"test:projection": "jest -c jest.config.js --forceExit --selectProjects projection --runInBand --verbose",
"test:ogmios": "jest -c jest.config.js --forceExit --selectProjects ogmios --runInBand --verbose",
"test:pg-boss": "jest -c jest.config.js --forceExit --selectProjects pg-boss --runInBand --verbose",
"test:providers": "jest -c jest.config.js --forceExit --selectProjects providers --runInBand --verbose",
"test:wallet": "jest -c jest.config.js --forceExit --selectProjects wallet --runInBand --verbose",
"test:wallet-real-ada": "jest -c jest.config.js --forceExit --selectProjects wallet-real-ada --runInBand --verbose",
"test:web-extension:build:sw": "tsc --build ./test && tsc --build ./test/web-extension && webpack -c test/web-extension/webpack.config.sw.js",
"test:web-extension:build:other": "tsc --build ./test && tsc --build ./test/web-extension && webpack -c test/web-extension/webpack.config.js",
"test:web-extension:build:sw:watch": "yarn test:web-extension:build:sw --watch",
"test:web-extension:build:other:watch": "yarn test:web-extension:build:other --watch",
"test:web-extension:build": "run-s test:web-extension:build:sw test:web-extension:build:other",
"test:web-extension:run": "wdio run test/web-extension/wdio.conf.js",
"test:web-extension": "run-s test:web-extension:build test:web-extension:run",
"test:web-extension:watch:build": "run-p test:web-extension:build:sw:watch test:web-extension:build:other:watch",
"test:web-extension:watch:run": "yarn test:web-extension:run --watch",
"test:web-extension:watch": "run-s test:web-extension:build test:web-extension:watch:bg",
"test:web-extension:watch:bg": "run-p test:web-extension:watch:build test:web-extension:watch:run",
"local-network:common": "DISABLE_DB_CACHE=${DISABLE_DB_CACHE:-true} SUBMIT_API_ARGS='--testnet-magic 888' USE_BLOCKFROST=false docker compose -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml $FILES up",
"local-network:up": "FILES='' yarn local-network:common",
"local-network:dev": "FILES='-f ../../compose/dev.yml' yarn local-network:common",
"local-network:profile:up": "FILES='-f ../../compose/pg-agent.yml' yarn local-network:common",
"local-network:profile:dev": "FILES='-f ../../compose/dev.yml -f ../../compose/pg-agent.yml' yarn local-network:common",
"local-network:down": "docker compose -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/pg-agent.yml down -v --remove-orphans",
"cardano-services:up": "ts-node --transpile-only ../cardano-services/src/cli.ts start-provider-server",
"cardano-services:up:debug": "npx nodemon --legacy-watch --exec 'node -r ts-node/register --inspect=0.0.0.0:9229 ../cardano-services/src/cli.ts start-provider-server'",
"circular-deps:check": "madge --circular dist/cjs",
"build:esm": "tsc -p src/tsconfig.json --outDir ./dist/esm --module es2020",
"build:cjs": "tsc --build src",
"build": "run-s build:cjs build:esm module-fixup",
"module-fixup": "cp ../../build/cjs-package.json ./dist/cjs/package.json && cp ../../build/esm-package.json ./dist/esm/package.json",
"tscNoEmit": "echo typescript --noEmit command not implemented yet",
"cleanup:dist": "rm -rf dist",
"cleanup:nm": "rm -rf node_modules",
"cleanup": "rm -rf dist node_modules",
"coverage": "yarn test --coverage || true",
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"",
"lint:fix": "eslint --fix --ignore-path ../../.eslintignore \"**/*.ts\"",
"prepack": "yarn build",
"test:build:verify:tsc": "tsc --build ./test",
"test:build:verify": "run-p test:web-extension:build test:build:verify:tsc",
"test:debug": "DEBUG=true yarn test",
"generate-mnemonics": "ts-node src/scripts/mnemonic.ts",
"multi-delegation-data-gen": "ts-node src/tools/multi-delegation-data-gen/index.ts",
"wait-for-network": "ts-node src/scripts/is-local-network-ready.ts"
},
"repository": "https://github.com/input-output-hk/cardano-js-sdk",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "^7.0.0",
"@cardano-ogmios/client": "5.6.0",
"@cardano-sdk/cardano-services": "workspace:~",
"@cardano-sdk/cardano-services-client": "workspace:~",
"@cardano-sdk/core": "workspace:~",
"@cardano-sdk/crypto": "workspace:~",
"@cardano-sdk/hardware-ledger": "workspace:~",
"@cardano-sdk/hardware-trezor": "workspace:~",
"@cardano-sdk/input-selection": "workspace:~",
"@cardano-sdk/key-management": "workspace:~",
"@cardano-sdk/ogmios": "workspace:~",
"@cardano-sdk/tx-construction": "workspace:~",
"@cardano-sdk/util": "workspace:~",
"@cardano-sdk/util-dev": "workspace:~",
"@cardano-sdk/util-rxjs": "workspace:~",
"@cardano-sdk/wallet": "workspace:~",
"@dcspark/cardano-multiplatform-lib-nodejs": "^3.1.1",
"@vespaiach/axios-fetch-adapter": "^0.3.0",
"axios": "^0.27.2",
"bunyan": "^1.8.15",
"chalk": "4.1.2",
"cli-spinners": "^2.9.0",
"convict": "^6.2.4",
"delay": "5.0.0",
"dotenv": "^16.0.1",
"envalid": "^7.3.1",
"get-port-please": "^2.5.0",
"jsonschema": "^1.4.1",
"k6": "^0.0.0",
"lodash": "^4.17.21",
"optionator": "^0.9.1",
"ora": "^3.2.0",
"pg": "^8.7.3",
"rxjs": "^7.4.0",
"ts-log": "^2.2.4",
"ts-node": "^10.8.1",
"ts-stopwatch": "0.0.4",
"uuid": "^8.3.2",
"webextension-polyfill": "^0.8.0",
"ws": "^8.5.0"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@cardano-sdk/dapp-connector": "workspace:~",
"@cardano-sdk/projection": "workspace:~",
"@cardano-sdk/projection-typeorm": "workspace:~",
"@cardano-sdk/web-extension": "workspace:~",
"@dcspark/cardano-multiplatform-lib-browser": "^3.1.1",
"@emurgo/cardano-message-signing-asmjs": "^1.0.1",
"@types/bunyan": "^1.8.8",
"@types/chalk": "^2.2.0",
"@types/convict": "^6.1.2",
"@types/delay": "^3.1.0",
"@types/dockerode": "^3.3.8",
"@types/jest": "^28.1.2",
"@types/k6": "^0.45.0",
"@types/lodash": "^4.14.182",
"@types/ora": "^3.2.0",
"@types/uuid": "^8.3.4",
"@types/webextension-polyfill": "^0.8.0",
"@wdio/cli": "^7.19.5",
"@wdio/local-runner": "^7.19.5",
"@wdio/mocha-framework": "^7.19.5",
"@wdio/spec-reporter": "^7.19.5",
"@wdio/static-server-service": "^7.19.5",
"artillery": "^2.0.0-35",
"babel-loader": "^8.2.5",
"blake2b-no-wasm": "2.1.4",
"buffer": "^6.0.3",
"chromedriver": "^120.0.0",
"copy-webpack-plugin": "^10.2.4",
"crypto-browserify": "^3.12.0",
"delay": "^5.0.0",
"dockerode": "^3.3.1",
"dockerode-utils": "^0.0.7",
"eslint": "^7.32.0",
"events": "^3.3.0",
"expect-webdriverio": "^3.2.1",
"jest": "^28.1.3",
"jest-webextension-mock": "^3.7.22",
"json-bigint": "^1.0.0",
"madge": "^5.0.1",
"mock-browser": "^0.92.14",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"readable-stream": "^3.6.0",
"source-map-loader": "^4.0.1",
"ts-jest": "^28.0.7",
"typeorm": "^0.3.15",
"typeorm-extension": "^2.7.0",
"typescript": "^4.7.4",
"util": "^0.12.4",
"wdio-chromedriver-service": "^7.3.2",
"webassembly-loader-sw": "^1.1.0",
"webdriverio": "^7.20.5",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-merge": "^5.8.0"
}
}