package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "mysql2",
  3. "version": "3.11.5",
  4. "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
  5. "main": "index.js",
  6. "typings": "typings/mysql/index",
  7. "type": "commonjs",
  8. "scripts": {
  9. "lint": "npm run lint:docs && npm run lint:code",
  10. "lint:code": "eslint index.js promise.js index.d.ts promise.d.ts \"typings/**/*.ts\" \"lib/**/*.js\" \"test/**/*.{js,cjs,mjs,ts}\" \"benchmarks/**/*.js\"",
  11. "lint:docs": "eslint Contributing.md README.md",
  12. "lint:typings": "npx prettier --check ./typings",
  13. "lint:tests": "npx prettier --check ./test",
  14. "test": "poku -d test/esm test/unit test/integration",
  15. "test:bun": "poku -d --bun test/esm test/unit test/integration",
  16. "test:deno": "deno run --allow-read --allow-env --allow-run npm:poku -d --deno --denoAllow=\"read,env,net,sys\" test/esm test/unit test/integration",
  17. "test:tsc-build": "cd \"test/tsc-build\" && npx tsc -p \"tsconfig.json\"",
  18. "coverage-test": "c8 npm run test",
  19. "benchmark": "node ./benchmarks/benchmark.js",
  20. "prettier": "prettier --single-quote --trailing-comma none --write \"{lib,test}/**/*.js\"",
  21. "prettier:docs": "prettier --single-quote --trailing-comma none --write README.md",
  22. "precommit": "lint-staged",
  23. "eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
  24. "wait-port": "wait-on"
  25. },
  26. "lint-staged": {
  27. "*.js": [
  28. "prettier --single-quote --trailing-comma none --write",
  29. "git add"
  30. ]
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "https://github.com/sidorares/node-mysql2"
  35. },
  36. "homepage": "https://sidorares.github.io/node-mysql2/docs",
  37. "keywords": [
  38. "mysql",
  39. "client",
  40. "server"
  41. ],
  42. "files": [
  43. "lib",
  44. "typings/mysql",
  45. "index.js",
  46. "index.d.ts",
  47. "promise.js",
  48. "promise.d.ts"
  49. ],
  50. "exports": {
  51. ".": "./index.js",
  52. "./package.json": "./package.json",
  53. "./promise": "./promise.js",
  54. "./promise.js": "./promise.js"
  55. },
  56. "engines": {
  57. "node": ">= 8.0"
  58. },
  59. "author": "Andrey Sidorov <andrey.sidorov@gmail.com>",
  60. "license": "MIT",
  61. "dependencies": {
  62. "aws-ssl-profiles": "^1.1.1",
  63. "denque": "^2.1.0",
  64. "generate-function": "^2.3.1",
  65. "iconv-lite": "^0.6.3",
  66. "long": "^5.2.1",
  67. "lru.min": "^1.0.0",
  68. "named-placeholders": "^1.1.3",
  69. "seq-queue": "^0.0.5",
  70. "sqlstring": "^2.3.2"
  71. },
  72. "devDependencies": {
  73. "@types/node": "^22.0.0",
  74. "@typescript-eslint/eslint-plugin": "^5.42.1",
  75. "@typescript-eslint/parser": "^5.42.1",
  76. "assert-diff": "^3.0.2",
  77. "benchmark": "^2.1.4",
  78. "c8": "^10.1.1",
  79. "error-stack-parser": "^2.0.3",
  80. "eslint": "^8.27.0",
  81. "eslint-config-prettier": "^9.0.0",
  82. "eslint-plugin-async-await": "0.0.0",
  83. "eslint-plugin-markdown": "^5.0.0",
  84. "lint-staged": "^15.0.1",
  85. "poku": "^2.0.0",
  86. "portfinder": "^1.0.28",
  87. "prettier": "^3.0.0",
  88. "progress": "^2.0.3",
  89. "typescript": "^5.0.2"
  90. }
  91. }