-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
80 lines (80 loc) · 3.21 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
{
"name": "antlr-ng",
"version": "0.6.0",
"description": "Next generation ANTLR Tool",
"type": "module",
"author": "Mike Lischke",
"repository": {
"type": "git",
"url": "git+https://github.com/mike-lischke/antlr-ng.git"
},
"homepage": "https://www.antlr-ng.org/",
"bugs": {
"url": "https://github.com/mike-lischke/antlr-ng/issues"
},
"bin": {
"antlr-ng": "dist/cli/runner.js"
},
"keywords": [
"lexer",
"parser",
"ANTLRng",
"antlr4",
"grammar",
"TypeScript"
],
"license": "MIT",
"dependencies": {
"antlr4ng": "3.0.14",
"commander": "12.1.0",
"fast-printf": "1.6.10",
"stringtemplate4ts": "1.0.7",
"unicode-properties": "1.4.1"
},
"devDependencies": {
"@eslint/js": "9.17.0",
"@stylistic/eslint-plugin": "2.12.1",
"@stylistic/eslint-plugin-ts": "2.12.1",
"@types/eslint__js": "8.42.3",
"@types/node": "22.10.2",
"@types/unicode-properties": "1.3.2",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@unicode/unicode-16.0.0": "1.6.5",
"antlr-ng": "0.5.2",
"esbuild": "0.24.2",
"eslint": "9.17.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"tsx": "4.19.2",
"typescript": "5.7.2",
"typescript-eslint": "8.18.1",
"vitest": "2.1.8"
},
"scripts": {
"prepublishOnly": "npm run build && npm run copy-templates && npm run test",
"build": "npm run generate-action-splitter && npm run generate-antlr-parser && npm run generate-test-parsers && npm run generate-unicode-data && npm run esbuild && tsc -p tsconfig.json",
"esbuild": "tsx build/build.ts",
"copy-templates": "tsx build/copy-templates.ts",
"run": "tsx cli/runner.ts --version",
"test": "vitest --no-watch --no-coverage",
"generate-action-splitter": "npm run generate-parser -- -o ./src/generated ./src/grammars/ActionSplitter.g4",
"generate-antlr-parser": "npm run generate-parser -- -o ./src/generated ./src/grammars/ANTLRv4Lexer.g4 ./src/grammars/ANTLRv4Parser.g4",
"generate-test-parsers": "npm run generate-testp1 && npm run generate-testp2 && npm run generate-testp3 && npm run generate-testp4",
"generate-testp1": "npm run generate-parser -- -o ./tests/generated ./tests/grammars/Java.g4",
"generate-testp2": "npm run generate-parser -- -o ./tests/generated ./tests/grammars/JavaLR.g4",
"generate-testp3": "npm run generate-parser -- -o ./tests/generated ./tests/grammars/PositionAdjustingLexer.g4",
"generate-testp4": "npm run generate-parser -- -o ./tests/generated ./tests/grammars/Psl.g4",
"generate-parser": "antlr-ng -Dlanguage=TypeScript --exact-output-dir",
"generate-unicode-data": "tsx ./build/generate-unicode-data.ts"
},
"exports": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
]
}