{
  "name": "@asyncapi/markdown-template",
  "version": "2.0.0",
  "description": "Markdown template for the AsyncAPI generator.",
  "keywords": [
    "asyncapi",
    "generator",
    "markdown",
    "template"
  ],
  "author": "Fran Mendez <fmvilas@gmail.com> (fmvilas.com)",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/asyncapi/markdown-template.git"
  },
  "bugs": {
    "url": "https://github.com/asyncapi/markdown-template/issues"
  },
  "homepage": "https://github.com/asyncapi/markdown-template#readme",
  "scripts": {
    "test": "npm run test:library",
    "test:library": "jest --coverage",
    "lint": "eslint --max-warnings 0 --config \".eslintrc\" \".\"",
    "lint:fix": "eslint --max-warnings 0 --config \".eslintrc\" \".\" --fix",
    "generate:assets": "npm run generate:readme:toc",
    "generate:readme:toc": "markdown-toc -i README.md",
    "bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@asyncapi/generator-react-sdk": "^1.1.2",
    "openapi-sampler": "^1.3.0",
    "yaml": "^1.10.2"
  },
  "devDependencies": {
    "@asyncapi/parser": "^3.1.0",
    "@babel/preset-env": "^7.15.8",
    "@babel/preset-react": "^7.14.5",
    "@types/react": "^18.2.18",
    "@types/react-dom": "^18.2.7",
    "conventional-changelog-conventionalcommits": "^9.1.0",
    "eslint": "^8.7.0",
    "eslint-plugin-jest": "^25.7.0",
    "eslint-plugin-react": "7.28.0",
    "eslint-plugin-security": "^1.4.0",
    "eslint-plugin-sonarjs": "^0.11.0",
    "jest": "^27.2.5",
    "markdown-toc": "^1.2.0"
  },
  "generator": {
    "renderer": "react",
    "apiVersion": "v3",
    "generator": ">=3.0.0 <4.0.0",
    "parameters": {
      "frontMatter": {
        "description": "The name of a JSON or YAML formatted file containing values to provide the YAML frontmatter for static-site or documentation generators. The file may contain {{title}} and {{version}} replaceable tags.",
        "required": false
      },
      "outFilename": {
        "description": "The name of the output markdown file",
        "default": "asyncapi.md",
        "required": false
      },
      "toc": {
        "description": "Include a Table-of-Contents in the output markdown.",
        "default": "true",
        "required": false
      },
      "version": {
        "description": "Override the version of your application provided under `info.version` location in the specification file.",
        "required": false
      }
    }
  },
  "babel": {
    "presets": [
      "@babel/preset-env",
      [
        "@babel/preset-react",
        {
          "runtime": "automatic"
        }
      ]
    ]
  },
  "jest": {
    "moduleFileExtensions": [
      "js",
      "json",
      "jsx"
    ],
    "setupFilesAfterEnv": [
      "./test/setupTests.js"
    ],
    "moduleNameMapper": {
      "^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
      "^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1"
    }
  }
}
