@nic-jennings/sql-datasource
Version:
SQL DataSource with Batching and Caching Support
60 lines (59 loc) • 1.87 kB
JSON
{
"name": "@nic-jennings/sql-datasource",
"version": "0.0.7",
"description": "SQL DataSource with Batching and Caching Support",
"main": "lib/cjs/SQLDataSource.js",
"module": "lib/es/SQLDataSource.js",
"input": "src/SQLDataSource.ts",
"types": "lib/es/SQLDataSource.d.ts",
"scripts": {
"build": "npm run build:es & npm run build:cjs",
"build:es": "tsc",
"build:cjs": "tsc --module CommonJS --outDir lib/cjs",
"prepublish": "npm run build",
"pretest": "docker rm -f postgres-bsd-test; docker run --name postgres-bsd-test -e POSTGRES_PASSWORD=password -p 32123:5432 -d postgres:14.1-alpine && sleep 10;",
"test": "jest --forceExit --runInBand --config tests/jest.integration.config.js",
"test:migrate:make": "knex migrate:make --migrations-directory ./tests/integration/migrations -x ts",
"test:seed:make": "cd tests/integration; knex seed:make -x ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nic-jennings/batched-sql-datasource.git"
},
"keywords": [
"apollo",
"datasource",
"knex",
"knexjs",
"dataloader",
"batching",
"graphql"
],
"author": "Nic Jennings",
"license": "MIT",
"bugs": {
"url": "https://github.com/nic-jennings/batched-sql-datasource/issues"
},
"homepage": "https://github.com/nic-jennings/batched-sql-datasource#readme",
"devDependencies": {
"@jest/globals": "^29.2.1",
"@types/jest": "^29.2.0",
"@types/node": "^18.7.18",
"graphql": "^16.6.0",
"jest": "^29.2.1",
"knex": "^2.3.0",
"pg": "^8.8.0",
"ts-jest": "^29.0.3",
"tslib": "^2.4.0",
"typescript": "^4.8.3"
},
"dependencies": {
"@apollo/utils.keyvaluecache": "^1.0.1",
"dataloader": "^2.1.0",
"knex-tiny-logger": "^2.1.0"
},
"peerDependencies": {
"graphql": ">=14.0.2",
"knex": ">=0.95.0"
}
}