package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "mysql2",
  3. "version": "3.3.3",
  4. "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
  5. "main": "index.js",
  6. "directories": {
  7. "example": "examples"
  8. },
  9. "typings": "typings/mysql/index",
  10. "scripts": {
  11. "lint": "npm run lint:docs && npm run lint:code",
  12. "lint:code": "eslint index.js promise.js \"lib/**/*.js\" \"test/**/*.js\" \"benchmarks/**/*.js\"",
  13. "lint:docs": "eslint Contributing.md \"documentation/**/*.md\" \"examples/*.js\"",
  14. "test": "node ./test/run.js",
  15. "test:tsc-build": "cd \"test/tsc-build\" && npx tsc -p \"tsconfig.json\"",
  16. "coverage-test": "c8 -r cobertura -r lcov -r text node ./test/run.js",
  17. "benchmark": "node ./benchmarks/benchmark.js",
  18. "prettier": "prettier --single-quote --trailing-comma none --write \"{lib,examples,test}/**/*.js\"",
  19. "prettier:docs": "prettier --single-quote --trailing-comma none --write README.md documentation/*",
  20. "precommit": "lint-staged",
  21. "eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
  22. "wait-port": "wait-on",
  23. "type-test": "node ./node_modules/typescript/bin/tsc -p tests.json && mocha typings/test --timeout 10000"
  24. },
  25. "lint-staged": {
  26. "*.js": [
  27. "prettier --single-quote --trailing-comma none --write",
  28. "git add"
  29. ]
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/sidorares/node-mysql2"
  34. },
  35. "keywords": [
  36. "mysql",
  37. "client",
  38. "server"
  39. ],
  40. "files": [
  41. "lib",
  42. "typings/mysql",
  43. "index.js",
  44. "index.d.ts",
  45. "promise.js",
  46. "promise.d.ts"
  47. ],
  48. "exports": {
  49. ".": "./index.js",
  50. "./package.json": "./package.json",
  51. "./promise": "./promise.js",
  52. "./promise.js": "./promise.js"
  53. },
  54. "engines": {
  55. "node": ">= 8.0"
  56. },
  57. "author": "Andrey Sidorov <andrey.sidorov@gmail.com>",
  58. "license": "MIT",
  59. "dependencies": {
  60. "denque": "^2.1.0",
  61. "generate-function": "^2.3.1",
  62. "iconv-lite": "^0.6.3",
  63. "long": "^5.2.1",
  64. "lru-cache": "^8.0.0",
  65. "named-placeholders": "^1.1.3",
  66. "seq-queue": "^0.0.5",
  67. "sqlstring": "^2.3.2"
  68. },
  69. "devDependencies": {
  70. "@types/chai": "^4.3.4",
  71. "@types/mocha": "^10.0.0",
  72. "@types/node": "^20.0.0",
  73. "@typescript-eslint/eslint-plugin": "^5.42.1",
  74. "@typescript-eslint/parser": "^5.42.1",
  75. "assert-diff": "^3.0.2",
  76. "benchmark": "^2.1.4",
  77. "c8": "^7.10.0",
  78. "chai": "^4.3.7",
  79. "error-stack-parser": "^2.0.3",
  80. "eslint": "^8.27.0",
  81. "eslint-config-prettier": "^8.5.0",
  82. "eslint-plugin-async-await": "0.0.0",
  83. "eslint-plugin-markdown": "^3.0.0",
  84. "husky": "^8.0.2",
  85. "lint-staged": "^13.0.3",
  86. "mocha": "^10.0.0",
  87. "portfinder": "^1.0.28",
  88. "prettier": "^2.4.1",
  89. "progress": "^2.0.3",
  90. "typescript": "^5.0.2",
  91. "urun": "0.0.8",
  92. "utest": "0.0.8"
  93. }
  94. }