-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
94 lines (94 loc) · 2.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "dt-sql-parser",
"version": "4.0.2",
"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",
"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"]
}
}