package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "_args": [
  3. [
  4. "mysql2@3.11.0",
  5. "/Users/zhanwencai/code/game/congkong/webServer"
  6. ]
  7. ],
  8. "_from": "mysql2@3.11.0",
  9. "_id": "mysql2@3.11.0",
  10. "_inBundle": false,
  11. "_integrity": "sha512-J9phbsXGvTOcRVPR95YedzVSxJecpW5A5+cQ57rhHIFXteTP10HCs+VBjS7DHIKfEaI1zQ5tlVrquCd64A6YvA==",
  12. "_location": "/mysql2",
  13. "_phantomChildren": {
  14. "safer-buffer": "2.1.2"
  15. },
  16. "_requested": {
  17. "type": "version",
  18. "registry": true,
  19. "raw": "mysql2@3.11.0",
  20. "name": "mysql2",
  21. "escapedName": "mysql2",
  22. "rawSpec": "3.11.0",
  23. "saveSpec": null,
  24. "fetchSpec": "3.11.0"
  25. },
  26. "_requiredBy": [
  27. "/"
  28. ],
  29. "_resolved": "https://registry.npmmirror.com/mysql2/-/mysql2-3.11.0.tgz",
  30. "_spec": "3.11.0",
  31. "_where": "/Users/zhanwencai/code/game/congkong/webServer",
  32. "author": {
  33. "name": "Andrey Sidorov",
  34. "email": "andrey.sidorov@gmail.com"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/sidorares/node-mysql2/issues"
  38. },
  39. "dependencies": {
  40. "aws-ssl-profiles": "^1.1.1",
  41. "denque": "^2.1.0",
  42. "generate-function": "^2.3.1",
  43. "iconv-lite": "^0.6.3",
  44. "long": "^5.2.1",
  45. "lru-cache": "^8.0.0",
  46. "named-placeholders": "^1.1.3",
  47. "seq-queue": "^0.0.5",
  48. "sqlstring": "^2.3.2"
  49. },
  50. "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
  51. "devDependencies": {
  52. "@types/node": "^20.0.0",
  53. "@typescript-eslint/eslint-plugin": "^5.42.1",
  54. "@typescript-eslint/parser": "^5.42.1",
  55. "assert-diff": "^3.0.2",
  56. "benchmark": "^2.1.4",
  57. "c8": "^10.1.1",
  58. "error-stack-parser": "^2.0.3",
  59. "eslint": "^8.27.0",
  60. "eslint-config-prettier": "^9.0.0",
  61. "eslint-plugin-async-await": "0.0.0",
  62. "eslint-plugin-markdown": "^5.0.0",
  63. "lint-staged": "^15.0.1",
  64. "poku": "^2.0.0",
  65. "portfinder": "^1.0.28",
  66. "prettier": "^3.0.0",
  67. "progress": "^2.0.3",
  68. "typescript": "^5.0.2"
  69. },
  70. "engines": {
  71. "node": ">= 8.0"
  72. },
  73. "exports": {
  74. ".": "./index.js",
  75. "./package.json": "./package.json",
  76. "./promise": "./promise.js",
  77. "./promise.js": "./promise.js"
  78. },
  79. "files": [
  80. "lib",
  81. "typings/mysql",
  82. "index.js",
  83. "index.d.ts",
  84. "promise.js",
  85. "promise.d.ts"
  86. ],
  87. "homepage": "https://sidorares.github.io/node-mysql2/docs",
  88. "keywords": [
  89. "mysql",
  90. "client",
  91. "server"
  92. ],
  93. "license": "MIT",
  94. "lint-staged": {
  95. "*.js": [
  96. "prettier --single-quote --trailing-comma none --write",
  97. "git add"
  98. ]
  99. },
  100. "main": "index.js",
  101. "name": "mysql2",
  102. "repository": {
  103. "type": "git",
  104. "url": "git+https://github.com/sidorares/node-mysql2.git"
  105. },
  106. "scripts": {
  107. "benchmark": "node ./benchmarks/benchmark.js",
  108. "coverage-test": "c8 npm run test",
  109. "eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
  110. "lint": "npm run lint:docs && npm run lint:code",
  111. "lint:code": "eslint index.js promise.js index.d.ts promise.d.ts \"typings/**/*.ts\" \"lib/**/*.js\" \"test/**/*.{js,cjs,mjs,ts}\" \"benchmarks/**/*.js\"",
  112. "lint:docs": "eslint Contributing.md README.md",
  113. "lint:tests": "npx prettier --check ./test",
  114. "lint:typings": "npx prettier --check ./typings",
  115. "precommit": "lint-staged",
  116. "prettier": "prettier --single-quote --trailing-comma none --write \"{lib,test}/**/*.js\"",
  117. "prettier:docs": "prettier --single-quote --trailing-comma none --write README.md",
  118. "test": "poku --debug --include=\"test/esm,test/unit,test/integration\"",
  119. "test:bun": "poku --debug --platform=\"bun\" --include=\"test/esm,test/unit,test/integration\"",
  120. "test:deno": "deno run --allow-read --allow-env --allow-run npm:poku --debug --platform=\"deno\" --deno-allow=\"read,env,net,sys\" --deno-cjs=\".js,.cjs\" --include=\"test/esm,test/unit,test/integration\"",
  121. "test:tsc-build": "cd \"test/tsc-build\" && npx tsc -p \"tsconfig.json\"",
  122. "wait-port": "wait-on"
  123. },
  124. "typings": "typings/mysql/index",
  125. "version": "3.11.0"
  126. }