package.json 2.4 KB
{
  "name": "mysql2",
  "version": "1.4.1",
  "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'",
    "lint:docs": "eslint  Contributing.md 'documentation/**/*.md' examples/*.js",
    "test": "npm run lint && npm run test:raw",
    "test:raw": "node ./test/run.js && MYSQL_USE_COMPRESSION=1 node ./test/run.js",
    "benchmark": "./benchmarks/run-unit.js",
    "prettier": "prettier --single-quote --trailing-comma none --write \"{lib,examples,test}/**/*.js\"",
    "prettier:docs": "prettier-markdown 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",
    "index.js",
    "promise.js"
  ],
  "engines": {
    "node": ">= 4.0"
  },
  "author": "Andrey Sidorov <sidorares@yandex.ru>",
  "license": "MIT",
  "dependencies": {
    "cardinal": "1.0.0",
    "denque": "^1.1.1",
    "generate-function": "^2.0.0",
    "iconv-lite": "^0.4.18",
    "long": "^3.2.0",
    "lru-cache": "^4.1.1",
    "named-placeholders": "1.1.1",
    "object-assign": "^4.1.1",
    "readable-stream": "2.3.2",
    "safe-buffer": "^5.0.1",
    "seq-queue": "0.0.5",
    "sqlstring": "^2.2.0"
  },
  "devDependencies": {
    "assert-diff": "^1.2.0",
    "error-stack-parser": "^2.0.1",
    "eslint": "^3.19.0",
    "eslint-config-prettier": "^2.1.1",
    "eslint-plugin-async-await": "0.0.0",
    "eslint-plugin-markdown": "^1.0.0-beta.2",
    "eslint-plugin-prettier": "^2.1.1",
    "husky": "^0.14.0",
    "is-async-supported": "^1.2.0",
    "lint-staged": "^4.0.0",
    "portfinder": "^1.0.10",
    "prettier": "^1.3.1",
    "prettier-markdown": "^0.1.6",
    "progress": "2.0.0",
    "urun": "0.0.8",
    "utest": "0.0.8"
  },
  "_from": "mysql2@1.4.1",
  "_resolved": "http://registry.npm.taobao.org/mysql2/download/mysql2-1.4.1.tgz"
}