{
  "name": "@ministryofjustice/hmpps-connect-dps-components",
  "version": "6.1.0",
  "description": "A package to allow the inclusion of connect DPS micro frontend components within DPS applications",
  "main": "./dist/index.cjs",
  "module": "./dist/index.esm.js",
  "types": "./dist/index.d.ts",
  "files": [
    "*.md",
    "dist/**/*",
    "scripts/**/*"
  ],
  "bin": "./scripts/install.ts",
  "engines": {
    "node": "22 || 24 || 26"
  },
  "scripts": {
    "prepare": "hmpps-precommit-hooks-prepare",
    "build": "rollup -c rollup.config.ts --bundleConfigAsCjs && npm run copy:assets",
    "clean": "rm -rf ./dist/",
    "test": "jest",
    "test:ci": "jest --runInBand",
    "typecheck": "tsc",
    "lint": "eslint . --cache --max-warnings 0",
    "lint:fix": "eslint . --cache --max-warnings 0 --fix",
    "copy:assets": "rm -rf dist/assets && cp -r src/assets dist/assets",
    "security_audit": "npx audit-ci --config audit-ci.json",
    "precommit:secrets": "gitleaks git --pre-commit --redact --staged --verbose --config .gitleaks/config.toml",
    "precommit:lint": "lint-staged",
    "precommit:verify": "npm run typecheck && npm test",
    "setup": "npm ci && hmpps-npm-script-run-allowlist"
  },
  "lint-staged": {
    "*.{ts,css}": [
      "prettier --write",
      "eslint --fix"
    ],
    "*.json": [
      "prettier --write"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/ministryofjustice/hmpps-connect-dps-components.git"
  },
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/ministryofjustice/hmpps-connect-dps-components/issues"
  },
  "homepage": "https://github.com/ministryofjustice/hmpps-connect-dps-components#readme",
  "devDependencies": {
    "@ministryofjustice/eslint-config-hmpps": "2.0.0-alpha.2",
    "@ministryofjustice/hmpps-auth-clients": "2.0.0",
    "@ministryofjustice/hmpps-npm-script-allowlist": "0.0.6",
    "@ministryofjustice/hmpps-precommit-hooks": "3.0.1",
    "@rollup/plugin-commonjs": "^29.0.2",
    "@rollup/plugin-multi-entry": "^7.1.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-typescript": "^12.3.0",
    "@tsconfig/node24": "24.0.4",
    "@types/bunyan": "^1.8.11",
    "@types/express": "^5.0.6",
    "@types/jest": "^30.0.0",
    "@types/superagent": "8.1.10",
    "@types/supertest": "^7.2.0",
    "cheerio": "^1.2.0",
    "express": "^5.2.1",
    "govuk-frontend": "6.1.0",
    "jest": "^30.4.2",
    "jest-html-reporter": "^4.4.0",
    "jest-junit": "^17.0.0",
    "lint-staged": "^17.0.5",
    "nock": "^15.0.0",
    "rollup": "4.60.4",
    "rollup-plugin-dts": "6.4.1",
    "supertest": "^7.2.2",
    "ts-jest": "29.4.11",
    "tslib": "^2.8.1",
    "typescript": "6.0.3"
  },
  "dependencies": {
    "@ministryofjustice/hmpps-rest-client": "2.1.0",
    "@types/node": "24.12.4",
    "@types/nunjucks": "^3.2.6",
    "nunjucks": "^3.2.4",
    "superagent": "^10.3.0"
  }
}
