-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.25 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
{
"name": "state-oracle-relayer",
"version": "1.0.0",
"description": "CENNZnet State Oracle Relayer Daeemon",
"repository": "https://github.com/cennznet/state-oracle-relayer",
"author": "[email protected]",
"license": "Apache",
"dependencies": {
"@cennznet/api": "^2.1.1-alpha.2",
"@cloudamqp/amqp-client": "^2.0.3",
"ethers": "^5.6.5",
"mongoose": "^6.3.3",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"winston": "^3.2.1"
},
"devDependencies": {
"@cennznet/types": "^2.1.1-alpha.2",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"chalk": "^4",
"dotenv": "^8.2.0",
"hardhat": "^2.9.6",
"jest": "^28.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"ts-jest": "^28.0.3",
"ts-node": "^10.7.0",
"tsc-alias": "^1.6.7",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.6.2",
"yargs": "^17.5.1"
},
"scripts": {
"dev:docker": "docker-compose up",
"dev:cennznet": "docker run -p 9944:9944 -p 9933:9933 cennznet/cennznet:latest --dev --unsafe-ws-external --unsafe-rpc-external",
"dev:execute": "NODE_OPTIONS=--openssl-legacy-provider ts-node -r tsconfig-paths/register",
"dev": "run-p dev:request-listener dev:request-processor dev:request-processor",
"dev:request-listener": "yarn dev:execute --files commands/request-listener.ts",
"dev:request-processor": "yarn dev:execute --files commands/request-processor.ts",
"format": "prettier --config .prettierrc.json ./ --write",
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"execute": "NODE_OPTIONS=--openssl-legacy-provider node",
"start:request-listener": "yarn execute ./dist/commands/request-listener.js",
"start:request-processor": "yarn execute ./dist/commands/request-processor.js",
"start": "run-p start:request-listener start:request-processor start:request-processor",
"test:e2e-prep": "NODE_OPTIONS=--openssl-legacy-provider hardhat run --network local tests/e2e/deploy.ts",
"test:e2e-request": "jest --forceExit tests/e2e/requestFlow.test.ts",
"test:unit": "yarn jest --testPathIgnorePatterns=e2e",
"test": "yarn jest"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
}
}