UNPKG

knex-dynamic-connection

Version:

Adds support for dynamically returning connection config for knex queries

96 lines (95 loc) 2.53 kB
{ "name": "knex-dynamic-connection", "version": "3.2.0", "description": "Adds support for dynamically returning connection config for knex queries", "scripts": { "mrm": "mrm --preset=@adonisjs/mrm-preset", "pretest": "npm run lint", "test:mysql": "DIALECT=mysql node japaFile.js", "test:mysql2": "DIALECT=mysql2 node japaFile.js", "test:mssql": "DIALECT=mssql node japaFile.js", "test:pg": "DIALECT=pg node japaFile.js", "lint": "eslint . --ext=.ts", "clean": "del build", "compile": "npm run lint && npm run clean && tsc", "build": "npm run compile", "commit": "git-cz", "release": "np", "version": "npm run build", "sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json thetutlage/knex-dynamic-connection", "format": "prettier --write ." }, "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/thetutlage/knex-dynamic-connection.git" }, "keywords": [ "knex", "db" ], "author": "virk", "license": "MIT", "bugs": { "url": "https://github.com/thetutlage/knex-dynamic-connection/issues" }, "homepage": "https://github.com/thetutlage/knex-dynamic-connection#readme", "devDependencies": { "@adonisjs/mrm-preset": "^5.0.3", "@types/node": "^20.14.2", "del-cli": "^5.1.0", "doctoc": "^2.2.1", "dotenv": "^16.4.5", "eslint": "^8.51.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-adonis": "^2.1.1", "eslint-plugin-prettier": "^5.1.3", "github-label-sync": "^2.3.1", "husky": "^9.0.11", "japa": "^4.0.0", "mrm": "^4.1.22", "mysql": "^2.18.1", "mysql2": "^3.10.1", "np": "^10.0.5", "pg": "^8.12.0", "prettier": "^3.3.2", "tedious": "^18.2.0", "ts-node": "^10.9.2", "typescript": "^5.4.5" }, "nyc": { "exclude": [ "test" ], "extension": [ ".ts" ] }, "main": "build/index.js", "files": [ "build/src", "build/index.d.ts", "build/index.js" ], "husky": { "hooks": { "pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md", "commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" } }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "dependencies": { "debug": "^4.3.5", "knex": "^3.1.0" }, "np": { "contents": ".", "anyBranch": false } }