{
  "name": "pretendo",
  "version": "0.1.0",
  "type": "module",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "pretendo": "./dist/cjs/cli/index.js"
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    }
  },
  "scripts": {
    "build": "npm run build:clean",
    "build:clean": "rm -rf dist && npm run build:types && npm run build:esm && npm run build:cjs && npm run add-package-jsons && npm run make-executable",
    "build:types": "tsc -p tsconfig.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "add-package-jsons": "mkdir -p dist/cjs dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
    "make-executable": "chmod +x dist/cjs/cli/index.js",
    "test": "vitest run",
    "test:watch": "vitest watch",
    "test:integration": "vitest run tests/integration",
    "lint": "eslint 'src/**/*.ts' --ignore-pattern '*.test.ts'",
    "lint:tests": "eslint 'src/**/*.test.ts'",
    "lint:all": "eslint '**/*.ts'",
    "lint:fix": "eslint '**/*.ts' --fix",
    "type-check": "tsc --noEmit",
    "type-check:tests": "tsc -p tsconfig.test.json --noEmit",
    "format": "prettier --write 'src/**/*.{js,ts}'",
    "format:check": "prettier --check 'src/**/*.{js,ts}'",
    "check": "npm run lint:all && npm run format:check && npm run test",
    "check:full": "npm run lint:all && npm run type-check && npm run format:check && npm run test",
    "prepare": "npm run build:clean",
    "prepublishOnly": "npm run check",
    "start": "node dist/cjs/cli/index.js",
    "dev": "tsx src/cli/index.ts start examples/simple-api.yml",
    "dev:blog": "tsx src/cli/index.ts start examples/blog-api.yml",
    "dev:ecommerce": "tsx src/cli/index.ts start examples/e-commerce-api.yml"
  },
  "keywords": [
    "api",
    "mock",
    "rest",
    "json",
    "server",
    "frontend",
    "development",
    "testing"
  ],
  "author": "Alex Berriman <alexb@bezz.com.au>",
  "license": "ISC",
  "description": "A flexible mock REST API server for rapid frontend development and testing",
  "repository": {
    "type": "git",
    "url": "https://github.com/alexberriman/pretendo.git"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "examples"
  ],
  "sideEffects": false,
  "dependencies": {
    "@inquirer/prompts": "^7.4.1",
    "blessed": "^0.1.81",
    "chalk": "^5.3.0",
    "cli-table3": "^0.6.5",
    "commander": "^13.1.0",
    "cors": "^2.8.5",
    "express": "^5.1.0",
    "figlet": "^1.8.0",
    "js-yaml": "^4.1.0",
    "lodash-es": "^4.17.21",
    "lowdb": "^7.0.1",
    "morgan": "^1.10.0"
  },
  "devDependencies": {
    "@semantic-release/git": "^10.0.1",
    "@types/blessed": "^0.1.25",
    "@types/cors": "^2.8.17",
    "@types/express": "^5.0.1",
    "@types/figlet": "^1.7.0",
    "@types/js-yaml": "^4.0.9",
    "@types/lodash-es": "^4.17.12",
    "@types/morgan": "^1.9.9",
    "@types/node": "^22.14.0",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.29.1",
    "@typescript-eslint/parser": "^8.29.1",
    "eslint": "^9.24.0",
    "eslint-config-prettier": "^10.1.1",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-prettier": "^5.2.6",
    "prettier": "^3.5.3",
    "semantic-release": "^24.2.3",
    "supertest": "^7.1.0",
    "ts-node": "^10.9.2",
    "tsx": "^4.19.3",
    "typescript": "^5.8.3",
    "vitest": "^3.1.1"
  }
}
