{
  "name": "@ministryofjustice/hmpps-npm-script-allowlist",
  "version": "0.0.6",
  "description": "A tool to restrict npm scripts from running unless as part of an allowlist",
  "keywords": [
    "npm",
    "scripts"
  ],
  "author": "hmpps-developers",
  "license": "MIT",
  "homepage": "https://github.com/ministryofjustice/hmpps-typescript-lib/tree/main/packages/npm-scripts-allowlist#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ministryofjustice/hmpps-typescript-lib.git"
  },
  "publishConfig": {
    "access": "public",
    "tag": "latest"
  },
  "main": "./dist/index.cjs.js",
  "module": "./dist/index.esm.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "hmpps-npm-script-run-allowlist": "bin/hmpps-allow-scripts",
    "hmpps-npm-script-allowlist": "bin/init.sh"
  },
  "scripts": {
    "clean": "rm -rf ./dist/",
    "build": "rollup -c rollup.config.ts --bundleConfigAsCjs",
    "lint": "eslint . --cache --max-warnings 0",
    "lint-fix": "eslint . --cache --max-warnings 0 --fix",
    "test": "jest",
    "check-for-updates": "npx npm-check-updates -u"
  },
  "files": [
    "*.md",
    "bin/*",
    "dist/**/*"
  ],
  "engines": {
    "node": "22 || 24 || 26"
  },
  "dependencies": {
    "@npmcli/run-script": "10.0.4",
    "semver": "^7.7.4"
  },
  "devDependencies": {
    "@types/semver": "^7.7.1"
  }
}
