{
  "name": "@rspack/dev-server",
  "version": "1.1.1",
  "license": "MIT",
  "description": "Development server for rspack",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/",
    "provenance": true
  },
  "exports": {
    ".": {
      "default": "./dist/index.js"
    },
    "./client/*": "./client/*.js",
    "./client/*.js": "./client/*.js",
    "./package.json": "./package.json"
  },
  "simple-git-hooks": {
    "pre-commit": "npx nano-staged"
  },
  "nano-staged": {
    "*.{js,jsx,ts,tsx,mjs,cjs}": [
      "biome check --write --no-errors-on-unmatched"
    ]
  },
  "files": [
    "dist",
    "client"
  ],
  "engines": {
    "node": ">= 18.12.0"
  },
  "homepage": "https://rspack.dev",
  "bugs": "https://github.com/web-infra-dev/rspack-dev-server/issues",
  "repository": {
    "type": "git",
    "url": "https://github.com/web-infra-dev/rspack-dev-server"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.8.3",
    "@jest/reporters": "29.7.0",
    "@jest/test-sequencer": "^29.7.0",
    "@rspack/core": "1.0.11",
    "@rspack/plugin-react-refresh": "1.0.0",
    "@types/express": "4.17.21",
    "@types/jest": "29.5.12",
    "@types/mime-types": "2.1.4",
    "@types/ws": "8.5.10",
    "@hono/node-server": "^1.13.3",
    "cross-env": "^7.0.3",
    "css-loader": "^6.11.0",
    "connect": "^3.7.0",
    "execa": "9.3.0",
    "fs-extra": "11.2.0",
    "graceful-fs": "4.2.10",
    "http-proxy": "^1.18.1",
    "hono": "^4.6.8",
    "jest": "29.7.0",
    "jest-cli": "29.7.0",
    "jest-environment-node": "29.7.0",
    "jest-serializer-path": "^0.1.15",
    "nano-staged": "^0.8.0",
    "prettier": "3.2.5",
    "puppeteer": "^23.2.2",
    "react-refresh": "0.14.0",
    "require-from-string": "^2.0.2",
    "semver": "7.6.3",
    "simple-git-hooks": "^2.11.1",
    "sockjs-client": "^1.6.1",
    "style-loader": "^3.3.3",
    "supertest": "^6.1.3",
    "tcp-port-used": "^1.0.2",
    "ts-jest": "29.1.2",
    "typescript": "5.0.2",
    "wait-for-expect": "^3.0.2",
    "webpack": "^5.94.0"
  },
  "dependencies": {
    "chokidar": "^3.6.0",
    "express": "^4.21.2",
    "http-proxy-middleware": "^2.0.7",
    "mime-types": "^2.1.35",
    "p-retry": "^6.2.0",
    "webpack-dev-middleware": "^7.4.2",
    "webpack-dev-server": "5.2.0",
    "ws": "^8.18.0"
  },
  "peerDependencies": {
    "@rspack/core": "*"
  },
  "scripts": {
    "build": "pnpm run build:server && pnpm run build:client",
    "build:server": "tsc -b ./tsconfig.build.json",
    "build:client": "tsc -b ./tsconfig.client.json",
    "dev": "tsc -b -w",
    "lint": "biome check .",
    "lint:write": "biome check . --write",
    "format": "node ./node_modules/prettier/bin/prettier.cjs \"packages/**/src/**/*.{ts,tsx,js}\" \"crates/rspack_plugin_runtime/**/*.{ts,js}\" \"x.mjs\" --check",
    "test:install": "cross-env ./node_modules/.bin/puppeteer browsers install chrome",
    "test": "pnpm run test:install && pnpm run build && cross-env NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ./node_modules/jest-cli/bin/jest --colors",
    "release": "node ./scripts/release.mjs"
  }
}