{
  "name": "snyk-to-html",
  "description": "Convert JSON output from `snyk test --json` into a static HTML report",
  "main": "dist/index.js",
  "scripts": {
    "build": "tsc",
    "build-watch": "tsc -w",
    "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
    "format:check": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
    "test": "jest --coverage --runInBand --detectOpenHandles",
    "test:update": "jest --coverage --runInBand --detectOpenHandles --updateSnapshot",
    "test:vrt": "playwright test",
    "test:vrt:update": "playwright test --update-snapshots",
    "lint": "eslint --color --cache 'src/**/*.?s' 'test/**/*.?s' && npm run format:check",
    "report": "mkdir -p output && cat test/fixtures/test-report.json | node dist/. > output/test-report.html && open output/test-report.html",
    "report:cve": "mkdir -p output && cat test/fixtures/test-report.json | node dist/. -t template/test-cve-report.hbs > output/test-report.html && open output/test-report.html",
    "multi-report": "mkdir -p output && cat test/fixtures/multi-test-report.json | node dist/. > output/multi-test-report.html && open output/multi-test-report.html",
    "prepare": "npm run build"
  },
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "template"
  ],
  "author": "Snyk Ltd",
  "license": "Apache-2.0",
  "dependencies": {
    "chalk": "4.1.2",
    "commander": "^14.0.0",
    "debug": "^4.4.1",
    "handlebars": "^4.7.9",
    "lodash.isempty": "^4.4.0",
    "lodash.orderby": "^4.6.0",
    "marked": "^4.0.12"
  },
  "bin": {
    "snyk-to-html": "dist/index.js"
  },
  "engines": {
    "node": ">=20"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.29.0",
    "@playwright/test": "^1.53.1",
    "@types/commander": "^2.12.5",
    "@types/node": "^24.0.3",
    "@typescript-eslint/eslint-plugin": "8.34.1",
    "@typescript-eslint/parser": "8.34.1",
    "eslint": "9.29.0",
    "eslint-config-prettier": "10.1.5",
    "eslint-plugin-prettier": "^5.5.0",
    "globals": "^16.2.0",
    "jest": "^30.0.0",
    "prettier": "3.5.3",
    "ts-jest": "^29.4.0",
    "ts-node": "^10.9.2",
    "tslint": "^6.1.3",
    "typescript": "^5.8.3"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/snyk/snyk-to-html.git"
  },
  "pkg": {
    "scripts": [
      "dist/**/*.js"
    ],
    "assets": [
      "template/**/*.hbs"
    ]
  },
  "version": "3.7.11"
}
