{
  "name": "coc-sql",
  "version": "0.15.0",
  "description": "SQL extension for coc.nvim",
  "main": "lib/index.js",
  "author": "Heyward Fann <fannheyward@gmail.com>",
  "license": "MIT",
  "scripts": {
    "build": "node esbuild.js",
    "prepare": "node esbuild.js"
  },
  "engines": {
    "coc": "^0.0.80"
  },
  "keywords": [
    "coc.nvim"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/fannheyward/coc-sql"
  },
  "activationEvents": [
    "onLanguage:sql"
  ],
  "devDependencies": {
    "@types/node": "^16.18.48",
    "coc.nvim": "^0.0.83-next.18",
    "esbuild": "^0.27.0",
    "rimraf": "^5.0.0",
    "typescript": "^5.9.3"
  },
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "coc-sql configuration",
      "properties": {
        "sql.formatOptions": {
          "type": "object",
          "default": {},
          "description": "Format options passed to sql-formatter, check https://github.com/sql-formatter-org/sql-formatter#configuration-options"
        },
        "sql.database": {
          "type": "string",
          "default": "guess",
          "enum": [
            "athena",
            "bigquery",
            "db2",
            "flinksql",
            "hive",
            "mysql",
            "mariadb",
            "postgresql",
            "redshift",
            "snowflake",
            "sqlite",
            "transactsql"
          ],
          "description": "Define the database to lint"
        },
        "sql.lintOnOpen": {
          "type": "boolean",
          "default": true,
          "description": "Lint sql file on opening"
        },
        "sql.lintOnChange": {
          "type": "boolean",
          "default": true,
          "description": "Lint sql file on change"
        },
        "sql.lintOnSave": {
          "type": "boolean",
          "default": true,
          "description": "Lint sql file on save"
        }
      }
    },
    "commands": [
      {
        "command": "sql.Format",
        "title": "Format sql file by sql-formatter"
      }
    ]
  },
  "dependencies": {
    "node-sql-parser": "^5.3.13",
    "sql-formatter": "^15.6.10"
  }
}
