UNPKG

@fastify/postgres

Version:
90 lines (89 loc) 2.31 kB
{ "name": "@fastify/postgres", "version": "6.0.2", "description": "Fastify PostgreSQL connection plugin", "main": "index.js", "type": "commonjs", "types": "index.d.ts", "scripts": { "check-examples": "tsc --build examples/typescript/*", "lint": "eslint", "lint:fix": "eslint --fix", "load-data": "docker exec -it fastify-postgres psql -c 'CREATE TABLE users(id serial PRIMARY KEY, username VARCHAR (50) NOT NULL);' -U postgres -d postgres", "postgres": "docker run -p 5432:5432 --name fastify-postgres -e POSTGRES_PASSWORD=postgres -d postgres:11-alpine", "test": "npm run test:unit && npm run test:typescript", "test:unit": "c8 --100 node --test", "test:report": "standard && c8 --reporter html node --test", "test:typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-postgres.git" }, "keywords": [ "fastify", "postgres", "postgresql", "database", "connection", "sql" ], "author": "Tomas Della Vedova - @delvedor (http://delved.org)", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" }, { "name": "Manuel Spigolon", "email": "behemoth89@gmail.com" }, { "name": "Aras Abbasi", "email": "aras.abbasi@gmail.com" }, { "name": "Frazer Smith", "email": "frazer.dev@icloud.com", "url": "https://github.com/fdawgs" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify-postgres/issues" }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "dependencies": { "fastify-plugin": "^5.0.0" }, "devDependencies": { "@tsconfig/node10": "^1.0.9", "@types/pg": "^8.11.4", "c8": "^10.1.2", "fastify": "^5.0.0", "neostandard": "^0.12.0", "pg": "^8.11.3", "pg-native": "^3.0.1", "tsd": "^0.31.1", "typescript": "~5.7.2" }, "peerDependencies": { "pg": ">=6.0.0" }, "tsd": { "directory": "test/types" }, "publishConfig": { "access": "public" } }