-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
78 lines (78 loc) · 2.68 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
{
"name": "sql-parser-cst",
"description": "Parses SQL into Concrete Syntax Tree (CST)",
"license": "GPL-2.0-or-later",
"version": "0.30.0",
"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 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",
"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": "yarn generate && yarn test:sqlite && yarn test:bigquery && yarn test:mysql && yarn test:mariadb && yarn test:postgresql",
"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": "^29.1.2",
"@types/node": "^22.7.9",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"auto-changelog": "^2.4.0",
"benchmark": "^2.1.4",
"eslint": "^8.30.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.1.2",
"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": "^4.8.4"
},
"watch": {
"generate:fast": "src/parser.pegjs"
},
"auto-changelog": {
"stdout": true,
"breakingPattern": "BREAKING!",
"commitLimit": false,
"template": "changelog.hbs",
"replaceText": {
"BREAKING! ": ""
},
"sortCommits": "date-desc"
}
}