-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
62 lines (62 loc) · 2.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
{
"name": "antlr4-c3",
"version": "3.4.1",
"description": "A code completion core implementation for ANTLR4 based parsers",
"author": "Mike Lischke",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mike-lischke/antlr4-c3"
},
"keywords": [
"ANTLR4",
"code completion",
"auto completion",
"grammar",
"parser"
],
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"scripts": {
"build": "tsc && npm run build-cjs && npm run build-mjs",
"prepublishOnly": "npm run build && npm run generate && npm run test",
"test-coverage": "npm run test --coverage",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage",
"generate": "antlr4ng -Dlanguage=TypeScript tests/CPP14.g4 tests/Expr.g4 tests/Whitebox.g4 -no-listener -no-visitor -o tests/generated -Xexact-output-dir",
"eslint": "eslint .",
"build-mjs": "npm run build-bundle -- --outfile=lib/index.mjs --format=esm",
"build-cjs": "npm run build-bundle -- --outfile=lib/index.cjs --format=cjs",
"build-bundle": "esbuild ./index.ts --bundle --main-fields=module,main --target=esnext --packages=external --keep-names"
},
"devDependencies": {
"@types/jest": "29.5.12",
"@types/node": "22.0.2",
"@types/unicode-properties": "1.3.2",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.18.0",
"antlr4ng-cli": "2.0.0",
"esbuild": "0.23.0",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.7",
"eslint-plugin-prefer-arrow": "1.2.3",
"jest": "29.7.0",
"ts-jest": "29.2.3",
"ts-node": "10.9.2",
"typescript": "5.5.2"
},
"dependencies": {
"antlr4ng": "3.0.7"
},
"exports": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"import": "./lib/index.mjs"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
]
}