87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
|
{
|
||
|
"name": "mysql2",
|
||
|
"version": "2.3.3",
|
||
|
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
|
||
|
"main": "index.js",
|
||
|
"directories": {
|
||
|
"example": "examples"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"lint": "npm run lint:docs && npm run lint:code",
|
||
|
"lint:code": "eslint index.js promise.js \"lib/**/*.js\" \"test/**/*.js\" \"benchmarks/**/*.js\"",
|
||
|
"lint:docs": "eslint Contributing.md \"documentation/**/*.md\" \"examples/*.js\"",
|
||
|
"test": "node ./test/run.js",
|
||
|
"coverage-test": "c8 -r cobertura -r lcov -r text node ./test/run.js",
|
||
|
"benchmark": "node ./benchmarks/benchmark.js",
|
||
|
"prettier": "prettier --single-quote --trailing-comma none --write \"{lib,examples,test}/**/*.js\"",
|
||
|
"prettier:docs": "prettier --single-quote --trailing-comma none --write README.md documentation/*",
|
||
|
"precommit": "lint-staged",
|
||
|
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
|
||
|
"wait-port": "wait-on"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.js": [
|
||
|
"prettier --single-quote --trailing-comma none --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/sidorares/node-mysql2"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"mysql",
|
||
|
"client",
|
||
|
"server"
|
||
|
],
|
||
|
"files": [
|
||
|
"lib",
|
||
|
"typings",
|
||
|
"index.js",
|
||
|
"index.d.ts",
|
||
|
"promise.js",
|
||
|
"promise.d.ts"
|
||
|
],
|
||
|
"exports": {
|
||
|
".": "./index.js",
|
||
|
"./promise": "./promise.js",
|
||
|
"./promise.js": "./promise.js"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 8.0"
|
||
|
},
|
||
|
"author": "Andrey Sidorov <sidorares@yandex.ru>",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"denque": "^2.0.1",
|
||
|
"generate-function": "^2.3.1",
|
||
|
"iconv-lite": "^0.6.3",
|
||
|
"long": "^4.0.0",
|
||
|
"lru-cache": "^6.0.0",
|
||
|
"named-placeholders": "^1.1.2",
|
||
|
"seq-queue": "^0.0.5",
|
||
|
"sqlstring": "^2.3.2"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||
|
"@typescript-eslint/parser": "^4.33.0",
|
||
|
"assert-diff": "^3.0.2",
|
||
|
"benchmark": "^2.1.4",
|
||
|
"c8": "^7.10.0",
|
||
|
"error-stack-parser": "^2.0.3",
|
||
|
"eslint": "^7.32.0",
|
||
|
"eslint-config-prettier": "^8.3.0",
|
||
|
"eslint-plugin-async-await": "0.0.0",
|
||
|
"eslint-plugin-markdown": "^2.2.1",
|
||
|
"husky": "^7.0.2",
|
||
|
"is-async-supported": "^1.2.0",
|
||
|
"lint-staged": "^11.2.0",
|
||
|
"portfinder": "^1.0.28",
|
||
|
"prettier": "^2.4.1",
|
||
|
"progress": "^2.0.3",
|
||
|
"typescript": "^4.4.3",
|
||
|
"urun": "0.0.8",
|
||
|
"utest": "0.0.8"
|
||
|
}
|
||
|
}
|