UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

98 lines (97 loc) 2.58 kB
{ "name": "dt-sql-parser", "version": "4.1.1", "authors": "DTStack Corporation", "description": "SQL Parsers for BigData, built with antlr4", "keywords": [ "antlr4", "sql", "parser", "code-completion", "hive", "spark", "flink", "mysql", "postgresql", "trino", "impala" ], "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "prepare": "husky install", "prepublishOnly": "npm run build", "antlr4": "node ./scripts/antlr4.js", "build": "rm -rf dist && tsc", "check-types": "tsc -p ./tsconfig.json && tsc -p ./test/tsconfig.json", "test": "NODE_OPTIONS=--max_old_space_size=4096 && jest", "release": "node ./scripts/release.js", "prettier-check": "prettier --check .", "format": "prettier --write .", "format-g4": "antlr-format -c ./antlr.format.json -v ./src/grammar/**/*.g4", "cleanComment": "node ./scripts/cleanCommentCli.js", "benchmark": "NODE_OPTIONS=--max_old_space_size=4096 && node --no-warnings ./scripts/benchmark.js", "benchmark:release": "node --no-warnings ./scripts/benchmark.js --release" }, "license": "MIT", "dependencies": { "antlr4-c3": "3.3.7", "antlr4ng": "2.0.11" }, "devDependencies": { "@commitlint/cli": "^17.7.2", "@commitlint/config-conventional": "^17.7.0", "@commitlint/cz-commitlint": "^17.7.2", "@swc/core": "^1.3.60", "@swc/jest": "^0.2.26", "@types/jest": "^29.5.1", "@types/node": "^18.15.11", "antlr-format-cli": "^1.2.1", "antlr4ng-cli": "^1.0.7", "chalk": "4.1.2", "commitizen": "^4.3.0", "console-table-printer": "^2.12.0", "crypto": "^1.0.1", "envinfo": "^7.11.1", "glob": "^10.3.10", "husky": "^8.0.3", "inquirer": "^8.2.2", "jest": "^29.5.0", "lint-staged": "12.5.0", "prettier": "^3.0.3", "semver": "^7.6.2", "standard-version": "^9.5.0", "tsx": "^4.7.1", "typescript": "^5.0.4", "yargs-parser": "^21.1.1" }, "repository": { "type": "git", "url": "https://github.com/DTStack/dt-sql-parser.git" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "sideEffects": false, "engines": { "node": ">=18" }, "packageManager": "pnpm@9.7.0", "config": { "commitizen": { "path": "./node_modules/@commitlint/cz-commitlint" } }, "lint-staged": { "*": [ "prettier --write --ignore-unknown" ], "*.g4": [ "antlr-format -c ./antlr.format.json -v" ] } }