aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@vitest/mocker/package.json
blob: 1bd814c11f51607dd7328cc370e4c682b20ae193 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "name": "@vitest/mocker",
  "type": "module",
  "version": "4.0.18",
  "description": "Vitest module mocker implementation",
  "license": "MIT",
  "funding": "https://opencollective.com/vitest",
  "homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/mocker#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vitest-dev/vitest.git",
    "directory": "packages/mocker"
  },
  "bugs": {
    "url": "https://github.com/vitest-dev/vitest/issues"
  },
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./node": {
      "types": "./dist/node.d.ts",
      "default": "./dist/node.js"
    },
    "./browser": {
      "types": "./dist/browser.d.ts",
      "default": "./dist/browser.js"
    },
    "./redirect": {
      "types": "./dist/redirect.d.ts",
      "default": "./dist/redirect.js"
    },
    "./automock": {
      "types": "./dist/automock.d.ts",
      "default": "./dist/automock.js"
    },
    "./register": {
      "types": "./dist/register.d.ts",
      "default": "./dist/register.js"
    },
    "./auto-register": {
      "types": "./dist/register.d.ts",
      "default": "./dist/register.js"
    },
    "./*": "./*"
  },
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "*.d.ts",
    "dist"
  ],
  "peerDependencies": {
    "msw": "^2.4.9",
    "vite": "^6.0.0 || ^7.0.0-0"
  },
  "peerDependenciesMeta": {
    "msw": {
      "optional": true
    },
    "vite": {
      "optional": true
    }
  },
  "dependencies": {
    "estree-walker": "^3.0.3",
    "magic-string": "^0.30.21",
    "@vitest/spy": "4.0.18"
  },
  "devDependencies": {
    "@types/estree": "^1.0.8",
    "acorn-walk": "^8.3.4",
    "msw": "^2.12.3",
    "pathe": "^2.0.3",
    "vite": "^6.3.5",
    "@vitest/spy": "4.0.18",
    "@vitest/utils": "4.0.18"
  },
  "scripts": {
    "build": "premove dist && rollup -c",
    "dev": "rollup -c --watch"
  }
}