-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
94 lines (94 loc) · 3.55 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
{
"name": "sygmaprotocol-explorer-indexer",
"version": "1.0.0",
"main": "index.js",
"license": "UNLICENSED",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc --p tsconfig.build.json && cp ./src/indexer/services/monitoringService/*.ejs ./build/indexer/services/monitoringService",
"test": "yarn run test:unit && yarn run test:e2e",
"test:unit": "NODE_ENV=test nyc --exclude **/data/** --all --include \"src/**/*.ts\" mocha -r ts-node/register \"tests/unit/**/*.spec.ts\"",
"test:unit:ci": "NODE_ENV=test nyc --exclude **/data/** --reporter=lcov --all --include \"src/**/*.ts\" mocha -r ts-node/register \"tests/*.spec.ts\"",
"test:e2e": "NODE_ENV=test SERVER_PORT=0 mocha --timeout 40000 -r ts-node/register -r dotenv/config \"tests/**/*.spec.ts\"",
"copy-config-for-dev": "cp ./config/sygma-explorer-runtime-config.example.json ./public/sygma-explorer-runtime-config.json",
"prisma:generate": "prisma generate",
"lint": "yarn run lint:style && yarn run lint:types",
"lint:fix": "yarn run lint:style --fix && yarn run lint:types",
"lint:style": "eslint --color --ext .ts src/ tests/",
"lint:types": "tsc --noEmit --pretty",
"start": "docker-compose -f docker-compose.yml up --build",
"start:stub": "docker-compose -f docker-compose.stub.yml up",
"license-check": "license-check-and-add check -f license-config.json",
"license-add": "license-check-and-add add -f license-config.json",
"license-remove": "license-check-and-add remove -f license-config.json",
"fix:price-calculations": "ts-node src/scripts/index.ts price-calculations",
"fix:remove-duplicates": "ts-node src/scripts/index.ts remove-duplicates"
},
"dependencies": {
"@aws-sdk/client-ssm": "^3.145.0",
"@buildwithsygma/sygma-contracts": "^2.5.1",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@fastify/compress": "6.2.1",
"@fastify/cors": "^8.2.1",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"@openzeppelin/contracts": "^4.8.3",
"@polkadot/api": "^10.6.1",
"@prisma/client": "^4.1.0",
"cors": "^2.8.5",
"ethers": "^6.10.0",
"fastify": "4.17.0",
"fastify-healthcheck": "^4.4.0",
"license-check-and-add": "^4.0.5",
"mongodb": "^5.5.0",
"morgan": "^1.10.0",
"node-cache": "^5.1.2",
"node-cleanup": "^2.1.2",
"winston": "^3.3.3",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@aws-sdk/client-sns": "^3.418.0",
"@buildwithsygma/sygma-sdk-core": "^2.1.0",
"@chainsafe/eslint-config": "^1.1.0",
"@polkadot/types": "10.9.1",
"@rushstack/eslint-patch": "^1.2.0",
"@types/chai": "^4.3.5",
"@types/cors": "^2.8.12",
"@types/cron": "^2.4.0",
"@types/ejs": "^3.1.3",
"@types/eslint": "^8",
"@types/mocha": "^10.0.1",
"@types/mongodb": "^4.0.7",
"@types/morgan": "^1.9.3",
"@types/node": "^16.7.10",
"@types/node-cleanup": "^2.1.2",
"@types/sinon": "^10.0.16",
"@types/supertest": "^2.0.11",
"axios": "^1.4.0",
"bignumber.js": "^9.1.2",
"cache-manager": "^5.2.4",
"chai": "^4.3.7",
"cron": "^2.4.3",
"cross-fetch": "3.1.5",
"docker-secret": "^1.2.4",
"dotenv": "^10.0.0",
"dotenv-cli": "^4.0.0",
"dotenv-flow": "^3.2.0",
"ejs": "^3.1.9",
"eslint": "^8.21.0",
"luxon": "^3.4.3",
"mocha": "^10.2.0",
"nodemon": "^2.0.12",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"prisma": "^4.1.0",
"sinon": "^15.2.0",
"supertest": "^6.1.6",
"ts-node": "^10.2.1",
"typescript": "^4.7.4"
}
}