Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 47 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "knex",
"version": "1.0.3",
"version": "2.1.0",
"description": "A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3",
"main": "knex",
"types": "types/index.d.ts",
"engines": {
"node": ">=12"
},
"scripts": {
"build": "npm run build:gitignore && npm run build:ts",
"clean": "node scripts/clean.js",
"build:ts": "tsc",
"build:gitignore": "node scripts/update_gitignore_for_tsc_output.js run",
"format": "prettier --write \"{lib,bin,scripts,test}/**/*.js\"",
"debug:test": "mocha --inspect-brk --exit -t 0 test/all-tests-suite.js",
"debug:tape": "node --inspect-brk test/tape/index.js",
Expand Down Expand Up @@ -51,16 +55,19 @@
"db:stop:oracle": "docker-compose -f scripts/docker-compose.yml down",
"stress:init": "docker-compose -f scripts/stress-test/docker-compose.yml up --no-start && docker-compose -f scripts/stress-test/docker-compose.yml start",
"stress:test": "node scripts/stress-test/knex-stress-test.js | grep -A 5 -B 60 -- '- STATS '",
"stress:destroy": "docker-compose -f scripts/stress-test/docker-compose.yml stop"
"stress:destroy": "docker-compose -f scripts/stress-test/docker-compose.yml stop",
"prepare": "husky install && npm run clean && npm run build",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"colorette": "2.0.16",
"commander": "^8.3.0",
"debug": "4.3.3",
"colorette": "2.0.19",
"commander": "^9.1.0",
"debug": "4.3.4",
"escalade": "^3.1.1",
"esm": "^3.2.25",
"get-package-type": "^0.1.0",
"getopts": "2.3.0",
"interpret": "^2.2.0",
"interpret": "^3.1.1",
"lodash": "^4.17.21",
"pg-connection-string": "2.5.0",
"rechoir": "^0.8.0",
Expand All @@ -84,7 +91,7 @@
"pg-native": {
"optional": true
},
"@vscode/sqlite3": {
"sqlite3": {
"optional": true
},
"better-sqlite3": {
Expand All @@ -93,48 +100,49 @@
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
"prettier --write"
]
},
"devDependencies": {
"@types/node": "^16.11.22",
"@vscode/sqlite3": "^5.0.7",
"better-sqlite3": "^7.5.0",
"@tsconfig/recommended": "^1.0.1",
"@types/node": "^17.0.25",
"better-sqlite3": "^7.5.1",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-subset-in-order": "^3.1.0",
"cli-testlab": "^2.2.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"dtslint": "4.2.1",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^4.3.8",
"jake": "^8.1.1",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"husky": "^8.0.1",
"jake": "^10.8.5",
"JSONStream": "^1.3.5",
"lint-staged": "^12.3.4",
"mocha": "^9.2.0",
"lint-staged": "^13.0.0",
"mocha": "^10.0.0",
"mock-fs": "^5.1.2",
"mysql": "^2.18.1",
"mysql2": "^2.3.3",
"nyc": "^15.1.0",
"oracledb": "^5.3.0",
"pg": "^8.7.1",
"pg": "^8.7.3",
"pg-query-stream": "^4.2.1",
"prettier": "2.5.1",
"prettier": "2.6.2",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"sqlite3": "^5.0.4",
"tap-spec": "^5.0.0",
"tape": "^5.5.0",
"tedious": "^12.3.0",
"tape": "^5.5.3",
"tedious": "^14.4.0",
"toxiproxy-node-client": "^2.0.6",
"ts-node": "^10.4.0",
"tsd": "^0.19.1",
"typescript": "4.5.5"
"ts-node": "^10.7.0",
"tsd": "^0.21.0",
"typescript": "4.7.4"
},
"buildDependencies": [
"rimraf"
Expand All @@ -146,7 +154,7 @@
"type": "git",
"url": "git://github.com/knex/knex.git"
},
"homepage": "https://knexjs.org",
"homepage": "https://knex.github.io/documentation/",
"keywords": [
"sql",
"query",
Expand Down Expand Up @@ -175,6 +183,9 @@
"name": "Igor Savin",
"web": "https://www.codeflashbacks.com"
},
{
"name": "Olivier Cavadenti"
},
{
"name": "Simon Liden"
},
Expand All @@ -185,15 +196,12 @@
{
"name": "Brian Lauber",
"web": "https://briandamaged.org"
},
{
"name": "Olivier Cavadenti"
}
],
"browser": {
"./lib/migrate/Migrator.js": "./lib/util/noop.js",
"./lib/migrations/migrate/Migrator.js": "./lib/util/noop.js",
"./lib/bin/cli.js": "./lib/util/noop.js",
"./lib/seed/Seeder.js": "./lib/util/noop.js",
"./lib/migrations/seed/Seeder.js": "./lib/util/noop.js",
"tedious": false,
"mysql": false,
"mysql2": false,
Expand All @@ -202,7 +210,6 @@
"pg-query-stream": false,
"oracle": false,
"sqlite3": false,
"@vscode/sqlite3": false,
"better-sqlite3": false,
"oracledb": false
},
Expand All @@ -212,7 +219,12 @@
},
"files": [
"bin/*",
"lib/*",
"lib/",
"lib/**/*.js",
"!lib/**/*.ts",
"!lib/**/*.d.ts",
"!lib/**/*.js.map",
"!lib/.gitignore",
"scripts/*",
"types/index.d.ts",
"types/result.d.ts",
Expand Down Expand Up @@ -240,11 +252,6 @@
"lib/dialects/oracledb"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"tsd": {
"directory": "test-tsd",
"compilerOptions": {
Expand Down