UNPKG

@mike-lischke/antlr-tgen

Version:

A generator for antlr-ng runtime test cases

66 lines (65 loc) 2.29 kB
{ "name": "@mike-lischke/antlr-tgen", "version": "1.0.12", "description": "A generator for antlr-ng runtime test cases", "type": "module", "bin": { "antlr-tgen": "./dist/index.js" }, "scripts": { "prepublishOnly": "npm run build && npm run test", "build": "esbuild ./src/index.ts --main-fields=module,main --bundle --outdir=dist/ --platform=node --format=esm --minify --packages=external", "generate-configuration-schema": "./node_modules/.bin/ts-json-schema-generator --path 'src/types.ts' --type 'IConfiguration' > resources/config-schema.json", "test": "vitest run --no-watch --no-coverage", "run-generator-ts": "tsx src/index.ts --config tests/config-ts.json", "run-generator-cpp": "tsx src/index.ts --config tests/config-cpp.json", "clean": "rm -rf dist && rm -rf node_modules && rm package-lock.json" }, "repository": { "type": "git", "url": "git://github.com/mike-lischke/antlr-tgen.git" }, "keywords": [ "ANTLR", "antlr-ng", "Testing" ], "author": "Mike Lischke", "license": "MIT", "bugs": { "url": "https://github.com/mike-lischke/antlr-tgen/issues" }, "homepage": "https://github.com/mike-lischke/antlr-tgen#readme", "files": [ "dist", "resources" ], "devDependencies": { "@eslint/js": "9.21.0", "@stylistic/eslint-plugin": "4.2.0", "@stylistic/eslint-plugin-ts": "4.2.0", "@types/node": "22.13.9", "@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/parser": "8.26.0", "esbuild": "0.25.0", "eslint": "9.21.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsdoc": "50.6.3", "eslint-plugin-prefer-arrow": "1.2.3", "ts-json-schema-generator": "2.3.0", "tsx": "4.19.3", "typescript": "5.8.2", "typescript-eslint": "8.26.0", "vitest": "3.0.7" }, "dependencies": { "@readme/better-ajv-errors": "2.3.2", "ajv": "8.17.1", "antlr-ng": "1.0.8", "antlr4ng": "3.0.16", "chalk": "5.4.1", "commander": "13.1.0", "glob": "11.0.1", "stringtemplate4ts": "1.0.9" } }