-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.23 KB
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
{
"name": "@clickhouse/parser",
"version": "0.3.0",
"description": "A TypeScript parser for ClickHouse SQL",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/ClickHouse/clickhouse-js-parser.git"
},
"bugs": {
"url": "https://github.com/ClickHouse/clickhouse-js-parser/issues"
},
"homepage": "https://github.com/ClickHouse/clickhouse-js-parser#readme",
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"generate:parser": "peggy --cache --format commonjs --dts --output src/parser.js src/grammar.pegjs",
"build": "npm run generate:parser && tsup",
"typecheck": "tsc --noEmit",
"test": "npm run generate:parser && vitest run",
"test:watch": "vitest",
"test:update-snapshots": "vitest run tests/query-params.test.ts --update",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "npm run typecheck && npm run lint && npm run test && npm run build",
"release": "npm publish --access public",
"generate:expected-outputs": "npx tsx scripts/generate-expected-outputs.ts",
"parse": "tsx scripts/parse.ts",
"format": "tsx scripts/format.ts",
"explain": "tsx scripts/explain.ts",
"explain:ch": "node scripts/clickhouse-explain.js",
"diff:ast": "tsx scripts/diff-ast.ts",
"diff:format": "tsx scripts/diff-format.ts",
"diff:explain": "tsx scripts/diff-explain.ts"
},
"keywords": [
"clickhouse",
"sql",
"parser",
"typescript"
],
"license": "Apache-2.0",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/diff": "^7.0.2",
"@types/node": "^25.9.2",
"diff": "^9.0.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"minimatch": "^10.2.5",
"peggy": "^5.1.0",
"prettier": "^3.0.0",
"tsup": "^8.0.0",
"tsx": "^4.22.4",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vitest": "^4.1.8"
},
"dependencies": {
"zod": "^4.3.6"
}
}