94 lines
2.3 KiB
JSON
94 lines
2.3 KiB
JSON
{
|
|
"name": "@wormhole-foundation/blockchain-watcher",
|
|
"version": "0.0.5",
|
|
"description": "A process for watching blockchain events and moving them to persistent storage",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node lib/start.js",
|
|
"start:ncc": "node lib/index.js",
|
|
"test": "jest --collectCoverage=false",
|
|
"test:coverage": "jest --collectCoverage=true",
|
|
"build": "tsc",
|
|
"build:ncc": "ncc build src/start.ts -o lib",
|
|
"dev": "npx tsx src/start.ts",
|
|
"dev:debug:testnet": "npx tsx src/start.ts start --debug --watch",
|
|
"dev:debug:mainnet": "NODE_ENV=mainnet npx tsx src/start.ts start --debug --watch",
|
|
"prettier": "prettier --write .",
|
|
"prepare": "cd .. && husky blockchain-watcher/.husky"
|
|
},
|
|
"author": "chase-45",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@aws-sdk/client-sns": "^3.445.0",
|
|
"@certusone/wormhole-sdk": "0.10.5",
|
|
"@mysten/sui.js": "^0.49.1",
|
|
"@xlabs/rpc-pool": "^0.0.3",
|
|
"axios": "^1.6.0",
|
|
"bs58": "^5.0.0",
|
|
"config": "^3.3.9",
|
|
"ethers": "^5.7.2",
|
|
"mollitia": "^0.1.0",
|
|
"prom-client": "^15.0.0",
|
|
"winston": "3.8.2",
|
|
"ws": "^8.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/config": "^3.3.3",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20.11.5",
|
|
"@types/ws": "^8.5.10",
|
|
"@vercel/ncc": "^0.38.1",
|
|
"husky": "^9.0.10",
|
|
"jest": "^29.7.0",
|
|
"lint-staged": "^15.2.2",
|
|
"nock": "^13.3.8",
|
|
"prettier": "^2.8.7",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/src/infrastructure/log.ts"
|
|
],
|
|
"roots": [
|
|
"test",
|
|
"src"
|
|
],
|
|
"testRegex": ".*\\.test\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"node_modules",
|
|
"test"
|
|
],
|
|
"coverageDirectory": "./coverage",
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"lines": 74
|
|
}
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*": "prettier --workspaces --if-present --write --ignore-unknown"
|
|
}
|
|
}
|