{
  "name": "mock-config-server",
  "version": "4.0.3",
  "description": "Tool that easily and quickly imitates server operation, create full fake api in few steps",
  "author": {
    "name": "SIBERIA CAN CODE 🧊",
    "url": "https://github.com/siberiacancode"
  },
  "contributors": [
    {
      "name": "Dmitry Babin",
      "url": "https://github.com/debabin"
    },
    {
      "name": "Nursultan Zianurov",
      "url": "https://github.com/MiaInturi"
    },
    {
      "name": "Sergey Kryavkin",
      "url": "https://github.com/RiceWithMeat"
    },
    {
      "name": "Alexander Vasilchuk",
      "url": "https://github.com/anv296"
    },
    {
      "name": "Daria Bortsova",
      "url": "https://github.com/kvelian"
    }
  ],
  "license": "MIT",
  "homepage": "https://github.com/siberiacancode/mock-config-server",
  "repository": {
    "type": "git",
    "url": "https://github.com/siberiacancode/mock-config-server.git"
  },
  "keywords": [
    "server",
    "fake",
    "REST",
    "rest",
    "API",
    "api",
    "mock",
    "mocking",
    "config",
    "data"
  ],
  "main": "dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "mock-config-server": "dist/bin/bin.js",
    "mcs": "dist/bin/bin.js"
  },
  "files": [
    "dist"
  ],
  "engines": {
    "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
  },
  "scripts": {
    "prepublishOnly": "git diff --exit-code",
    "prepare": "husky && yarn build",
    "build:types": "tsc -p tsconfig.production.json && tsc-alias -p tsconfig.production.json",
    "build:swc": "swc bin src index.ts -d dist --extensions .ts --copy-files --ignore **/*.test.ts --ignore bin/templates",
    "build:copy-templates": "shx mkdir -p dist/bin/templates/ts && shx cp -r bin/templates/ts dist/bin/templates && shx mkdir -p dist/bin/templates/js && shx cp -r bin/templates/js dist/bin/templates",
    "build": "shx rm -rf dist && yarn build:types && yarn build:swc && yarn build:copy-templates",
    "start": "yarn build && node ./dist/bin/bin.js",
    "dev": "nodemon --watch src --watch bin --watch mock-server.config.* -e js,ts --exec \"yarn start\"",
    "type": "tsc --noEmit",
    "unit-test": "vitest",
    "lint": "eslint . --fix",
    "lint-inspector": "npx @eslint/config-inspector",
    "stylelint": "stylelint \"src/static/**/*.css\" --fix",
    "format": "prettier --write \"**/*.(ts|js)\"",
    "pretty": "yarn format && yarn lint"
  },
  "dependencies": {
    "@types/body-parser": "^1.19.5",
    "@types/express": "^4.17.21",
    "@types/flat": "^5.0.5",
    "@types/prompts": "^2.4.9",
    "@types/yargs": "^17.0.33",
    "ansi-colors": "^4.1.3",
    "body-parser": "^2.0.2",
    "esbuild": "^0.24.2",
    "express": "^4.21.2",
    "express-urlrewrite": "^2.0.3",
    "flat": "^5.0.2",
    "graphql": "^16.10.0",
    "please-upgrade-node": "^3.2.0",
    "prompts": "^2.4.2",
    "yargs": "^17.7.2",
    "zod": "^3.24.1"
  },
  "devDependencies": {
    "@siberiacancode/eslint": "^2.6.0",
    "@siberiacancode/prettier": "^1.1.1",
    "@siberiacancode/vitest": "^1.2.4",
    "@swc/cli": "^0.6.0",
    "@swc/core": "^1.10.7",
    "@types/supertest": "^6.0.2",
    "husky": "^9.1.7",
    "lint-staged": "^15.3.0",
    "nodemon": "^3.1.9",
    "shx": "^0.3.4",
    "supertest": "^7.0.0",
    "tsc-alias": "^1.8.10",
    "typescript": "^5.7.3"
  },
  "lint-staged": {
    "*.css": [
      "stylelint --fix"
    ],
    "*.js": [
      "prettier --write"
    ],
    "*.ts": [
      "prettier --write",
      "eslint --no-error-on-unmatched-pattern --fix"
    ]
  }
}
