UNPKG

html-antlr4

Version:

An HTML lexer & parser that provides both visitor and listener patterns to traverse the parse tree.

72 lines (71 loc) 2.08 kB
{ "name": "html-antlr4", "version": "1.0.67", "description": "An HTML lexer & parser that provides both visitor and listener patterns to traverse the parse tree.", "files": [ "lib/**/*" ], "main": "lib/index.js", "scripts": { "prepare": "husky install", "test": "jest", "build.cpygrammars": "cpy \"grammars/html/*.g4\" --flat ./antlr4ts_out", "build.antlr4ts": "cd ./antlr4ts_out/ && antlr4ts -visitor *.g4", "postbuild.antlr4ts": "rimraf --glob \"antlr4ts_out/*.g4\"", "build.tsc": "tsc", "build": "npm run build.cpygrammars && npm run build.antlr4ts && npm run build.tsc", "prepublishOnly": "npm run build && npm run test", "postversion": "git push && git push --tags", "semantic-release": "semantic-release --debug", "semantic-release-dry-run": "semantic-release --dry-run --debug" }, "repository": { "type": "git", "url": "https://github.com/brucificus/html-antlr4-typescript.git" }, "author": "Tom Everett, Bruce Markham", "license": "BSD", "bugs": { "url": "https://github.com/brucificus/html-antlr4-typescript/issues" }, "homepage": "https://github.com/brucificus/html-antlr4-typescript#readme", "keywords": [ "html", "lexer", "parser", "antlr", "antlr4", "antlr4ts" ], "devDependencies": { "@commitlint/core": "^17.8.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.2.5", "@tsconfig/node16": "^16.1.1", "@types/jest": "^29.5.11", "antlr4ts-cli": "^0.5.0-alpha.4", "commitlint-config-gitmoji": "^2.3.1", "cpy-cli": "^5.0.0", "cz-gitmoji": "^0.0.7", "husky": "^8.0.3", "jest": "^29.7.0", "rimraf": "^5.0.5", "semantic-release": "^22.0.12", "semantic-release-gitmoji": "^1.6.5", "ts-jest": "^29.1.1", "typescript": "^5.3.3" }, "dependencies": { "antlr4ts": "^0.5.0-alpha.4" }, "config": { "commitizen": { "path": "./node_modules/cz-gitmoji" } }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } } }