{
  "name": "@tabnas/railroad",
  "version": "0.3.12",
  "main": "dist/railroad.js",
  "type": "commonjs",
  "types": "dist/railroad.d.ts",
  "description": "Railroad (syntax) diagram renderer for the tabnas parser.",
  "homepage": "https://github.com/tabnas/railroad",
  "keywords": [
    "tabnas",
    "railroad",
    "syntax",
    "diagram",
    "grammar",
    "parser",
    "plugin"
  ],
  "author": "Richard Rodger (http://richardrodger.com)",
  "repository": {
    "type": "git",
    "url": "git://github.com/tabnas/railroad.git",
    "directory": "ts"
  },
  "scripts": {
    "pretest": "npm run build",
    "test": "node --enable-source-maps --test test/**/*.test.js",
    "watch": "tsc --build src -w",
    "build": "tsc --build src",
    "clean": "rm -rf node_modules dist dist-test yarn.lock package-lock.json",
    "reset": "npm run clean && npm i && npm run build && npm test",
    "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: ts/v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag ts/v$REPO_VERSION && git push origin ts/v$REPO_VERSION;",
    "repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
    "repo-publish-quick": "npm run build && npm run test && npm run repo-tag",
    "repo-stage": "npm run clean && npm i && npm run repo-stage-quick",
    "repo-stage-quick": "npm run build && npm run test && npm stage publish",
    "repo-stage-list": "npm stage list",
    "repo-stage-approve": "npm stage approve"
  },
  "license": "MIT",
  "files": [
    "dist",
    "src",
    "bin",
    "README.md",
    "LICENSE"
  ],
  "bin": {
    "tabnas-railroad": "bin/tabnas-railroad"
  },
  "exports": {
    ".": "./dist/railroad.js"
  },
  "peerDependencies": {
    "@tabnas/parser": ">=0"
  },
  "devDependencies": {
    "@tabnas/debug": "*",
    "@tabnas/json": "*",
    "@tabnas/parser": "*",
    "@tabnas/support": "*",
    "@types/node": "26.6.2",
    "typescript": "7.0.2"
  },
  "engines": {
    "node": ">=24"
  }
}
