-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.18 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
{
"type": "module",
"name": "@msw/source",
"version": "0.7.0",
"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": "vitest",
"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": ">=22"
},
"packageManager": "pnpm@11.5.0",
"peerDependencies": {
"msw": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@open-draft/test-server": "^0.7.2",
"@ossjs/release": "^0.11.2",
"@types/compression": "^1.8.1",
"@types/node": "^22.20.4",
"@vitest/browser": "^5.0.1",
"@vitest/browser-playwright": "^5.0.1",
"compression": "^1.8.2",
"happy-dom": "^20.14.5",
"lint-staged": "^17.5.1",
"msw": "^3.0.0",
"playwright": "^1.63.0",
"prettier": "^3.9.9",
"simple-git-hooks": "^2.14.0",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
},
"dependencies": {
"@mswjs/interceptors": "^0.45.1",
"@stoplight/json": "^3.21.7",
"@types/har-format": "^1.2.16",
"@yellow-ticket/seed-json-schema": "^0.1.8",
"openapi-types": "^12.1.3",
"outvariant": "^1.4.3",
"yaml": "^2.9.1"
}
}