Files
hub-monorepo/packages/hub-nodejs/examples/replicate-data-postgres/package.json
Shane da Silva cc2f5a4fae Add syncing/replication example for Postgres (#938)
Provide a working end-to-end example of syncing data from hubs to a
Postgres database.

This should work with no additional dependencies besides what you
install with `yarn install` and Docker.
2023-05-05 09:56:48 -07:00

23 lines
465 B
JSON

{
"name": "example-replicate-data-postgres",
"private": true,
"type": "module",
"version": "0.0.0",
"main": "index.ts",
"scripts": {
"start": "tsx index.ts"
},
"dependencies": {
"@farcaster/hub-nodejs": "^0.7.1",
"kysely": "^0.24.2",
"kysely-postgres-js": "^1.1.1",
"pino": "^8.12.1",
"postgres": "^3.3.4",
"tiny-typed-emitter": "^2.1.0"
},
"devDependencies": {
"tsx": "^3.12.5",
"typescript": "^5.0.0"
}
}