antlr4-c3
Version:
A code completion core implementation for ANTLR4 based parsers
66 lines (65 loc) • 2.33 kB
JSON
{
"name": "antlr4-c3",
"version": "3.4.4",
"description": "A code completion core implementation for ANTLR4 based parsers",
"author": "Mike Lischke",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mike-lischke/antlr4-c3.git"
},
"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": "vitest run --no-watch --no-coverage",
"generate": "antlr-ng -Dlanguage=TypeScript tests/CPP14.g4 tests/Expr.g4 tests/Whitebox.g4 -l false -o tests/generated --exact-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": {
"@eslint/js": "9.21.0",
"@stylistic/eslint-plugin": "4.2.0",
"@stylistic/eslint-plugin-ts": "4.2.0",
"@types/node": "22.13.10",
"@types/unicode-properties": "1.3.2",
"@typescript-eslint/eslint-plugin": "8.26.0",
"@typescript-eslint/parser": "8.26.0",
"antlr-ng": "1.0.8",
"esbuild": "0.25.0",
"eslint": "9.22.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "50.6.3",
"eslint-plugin-prefer-arrow": "1.2.3",
"tsx": "4.19.3",
"typescript": "5.8.2",
"typescript-eslint": "8.26.0",
"unicode-properties": "1.4.1",
"vitest": "3.0.8"
},
"dependencies": {
"antlr4ng": "3.0.16"
},
"exports": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"import": "./lib/index.mjs"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
]
}