-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.32 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.32 KB
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
87
88
89
{
"type": "module",
"name": "@msw/source",
"version": "0.6.1",
"description": "Generate MSW request handlers from OpenAPI documents, HAR files, and other sources.",
"exports": {
"./open-api": {
"types": "./lib/open-api/from-open-api.d.ts",
"default": "./lib/open-api/from-open-api.js"
},
"./traffic": {
"types": "./lib/traffic/from-traffic.d.ts",
"default": "./lib/traffic/from-traffic.js"
},
"./package.json": "./package.json"
},
"scripts": {
"start": "pnpm build --watch",
"har:fixture": "tsx ./test/traffic/fixtures/requests/command.ts",
"prepare": "pnpm simple-git-hooks init",
"build": "tsc -p ./tsconfig.build.json",
"test": "pnpm test:node && pnpm test:browser",
"test:node": "vitest --project node",
"test:browser": "vitest --project browser",
"release": "release publish"
},
"publishConfig": {
"access": "public"
},
"files": [
"src",
"lib"
],
"repository": {
"url": "https://github.com/mswjs/source"
},
"author": "Artem Zakharchenko <me@kettanaito.com>",
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit $1"
},
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@9.15.0",
"peerDependencies": {
"msw": "^2.10.0"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@open-draft/test-server": "^0.7.2",
"@ossjs/release": "^0.10.1",
"@types/compression": "^1.8.1",
"@types/node": "^18.19.33",
"@vitest/browser": "^4.0.8",
"@vitest/browser-playwright": "^4.0.8",
"compression": "^1.8.1",
"happy-dom": "^20.0.10",
"lint-staged": "^16.2.6",
"msw": "^2.12.1",
"playwright": "^1.56.1",
"prettier": "^3.6.2",
"simple-git-hooks": "^2.13.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vitest": "^4.0.8"
},
"dependencies": {
"@mswjs/interceptors": "^0.40.0",
"@stoplight/json": "^3.21.7",
"@types/har-format": "^1.2.16",
"@yellow-ticket/seed-json-schema": "^0.1.7",
"openapi-types": "^12.1.3",
"outvariant": "^1.4.3",
"yaml": "^2.8.2"
},
"pnpm": {
"overrides": {
"ws@>=8.0.0 <8.17.1": ">=8.17.1",
"braces@<3.0.3": ">=3.0.3"
}
}
}