{
  "name": "sql-parser-cst",
  "description": "Parses SQL into Concrete Syntax Tree (CST)",
  "license": "GPL-2.0-or-later",
  "version": "0.42.3",
  "main": "lib/main.js",
  "types": "lib/main.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/nene/sql-parser-cst"
  },
  "homepage": "https://github.com/nene/sql-parser-cst",
  "bugs": {
    "url": "https://github.com/nene/sql-parser-cst/issues"
  },
  "files": [
    "lib/",
    "AUTHORS"
  ],
  "scripts": {
    "prepublishOnly": "yarn ts:check && yarn lint && yarn test && yarn build",
    "pretty": "prettier --write .",
    "add:keyword": "ts-node ./scripts/add-keyword.ts",
    "add:template": "ts-node ./scripts/add-template.ts",
    "generate": "ts-node ./scripts/generate.ts",
    "generate:fast": "ts-node ./scripts/generate.ts --fast",
    "watch:generate": "npm-watch",
    "clean": "rm -rf lib; rm -rf src/generated_parser.ts",
    "build": "yarn clean && yarn generate && tsc -p tsconfig.build.json",
    "test:bigquery": "jest --config test/config/bigquery.json",
    "test:mysql": "jest --config test/config/mysql.json",
    "test:mariadb": "jest --config test/config/mariadb.json",
    "test:sqlite": "jest --config test/config/sqlite.json",
    "test:postgresql": "jest --config test/config/postgresql.json",
    "test:plpgsql": "jest --config test/config/plpgsql.json",
    "test:all": "yarn test:sqlite && yarn test:bigquery && yarn test:mysql && yarn test:mariadb && yarn test:postgresql && yarn test:plpgsql",
    "test": "yarn generate && yarn test:all",
    "perf:big": "yarn ts-node perf/perf-test.ts big",
    "perf:func": "yarn ts-node perf/perf-test.ts func",
    "perf:paren": "yarn ts-node perf/perf-test.ts paren",
    "perf:list": "yarn ts-node perf/perf-test.ts list",
    "perf:select": "yarn ts-node perf/perf-test.ts select",
    "perf:case": "yarn ts-node perf/perf-test.ts case",
    "lint": "eslint src test scripts perf",
    "ts:check": "tsc --noEmit",
    "changelog": "auto-changelog -p --starting-version $VERSION --ending-version $VERSION"
  },
  "devDependencies": {
    "@types/benchmark": "^2.1.2",
    "@types/jest": "^30.0.0",
    "@types/node": "^22.7.9",
    "@typescript-eslint/eslint-plugin": "^6.21.0",
    "@typescript-eslint/parser": "^6.21.0",
    "auto-changelog": "^2.4.0",
    "benchmark": "^2.1.4",
    "eslint": "^8.30.0",
    "eslint-config-prettier": "^9.1.0",
    "jest": "^30.3.0",
    "npm-watch": "^0.11.0",
    "peggy": "^3.0.2",
    "prettier": "^2.7.1",
    "ts-jest": "^29.0.3",
    "ts-node": "^10.9.1",
    "ts-pegjs": "^4.2.1",
    "typescript": "^5.9.3"
  },
  "watch": {
    "generate:fast": "src/parser.pegjs"
  },
  "auto-changelog": {
    "stdout": true,
    "breakingPattern": "BREAKING!",
    "commitLimit": false,
    "template": "changelog.hbs",
    "replaceText": {
      "BREAKING! ": ""
    },
    "sortCommits": "date-desc"
  }
}
