File: //usr/share/opensearch-dashboards/node_modules/antlr4ng/package.json
{
"name": "antlr4ng",
"version": "3.0.4",
"type": "module",
"description": "Alternative JavaScript/TypeScript runtime for ANTLR4",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"repository": "https://github.com/mike-lischke/antlr4ng",
"keywords": [
"lexer",
"parser",
"antlr",
"antlr4",
"grammar",
"TypeScript"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/mike-lischke/antlr4ng/issues"
},
"homepage": "https://github.com/mike-lischke/antlr4ng",
"peerDependencies": {
"antlr4ng-cli": "^2.0.0"
},
"devDependencies": {
"@mike-lischke/antlr-tgen": "1.0.8",
"@types/jest": "29.5.12",
"@types/node": "20.11.28",
"@types/unicode-properties": "1.3.2",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"esbuild": "0.20.2",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"jest": "29.7.0",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "5.4.2",
"unicode-properties": "1.4.1"
},
"scripts": {
"prepublishOnly": "npm run build && npm run test",
"build": "tsc && npm run build-cjs && npm run build-mjs",
"build-with-maps": "tsc && npm run build-mjs -- --sourcemap",
"build-and-test": "npm run build && npm run test",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage",
"full-test": "npm run test && npm run run-benchmarks && npm run time-lexer-speed",
"run-benchmarks": "node --no-warnings --experimental-vm-modules --loader ts-node/esm tests/benchmarks/run-benchmarks.ts",
"time-lexer-speed": "node --no-warnings --experimental-vm-modules --loader ts-node/esm tests/api/perf/TimeLexerSpeed.ts",
"generate-test-parsers": "./build/generate-test-parsers.sh",
"generate-runtime-tests": "antlr-tgen --config tests/fixtures/config.json",
"build-bundle": "esbuild ./src/index.js --main-fields=module,main --bundle --target=esnext --keep-names",
"build-mjs": "npm run build-bundle -- --outfile=dist/index.mjs --format=esm",
"build-cjs": "npm run build-bundle -- --outfile=dist/index.cjs --format=cjs",
"generate-xpath-lexer": "node cli/index.js -Dlanguage=TypeScript -o src/tree/xpath/generated -no-visitor -no-listener -Xexact-output-dir src/tree/xpath/XPathLexer.g4",
"profile benchmarks": "node --no-warnings --experimental-vm-modules --prof --loader ts-node/esm tests/benchmarks/run-benchmarks.ts",
"process profile tick file": " node --prof-process isolate-0x140008000-94064-v8.log > processed.txt"
},
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
]
}