-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
88 lines (88 loc) · 2.32 KB
/
package.json
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
{
"type": "module",
"name": "@mswjs/source",
"version": "0.3.2",
"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": "ts-node ./test/traffic/fixtures/requests/command.ts",
"prepare": "pnpm simple-git-hooks init",
"prebuild": "pnpm lint",
"build": "tsc -p ./tsconfig.build.json",
"test": "pnpm test:node && pnpm test:browser",
"test:node": "vitest --project node",
"test:browser": "vitest --project browser",
"prepack": "pnpm test && pnpm build",
"release": "release publish"
},
"publishConfig": {
"access": "public"
},
"files": [
"lib"
],
"repository": "[email protected]:mswjs/source.git",
"author": "Artem Zakharchenko <[email protected]>",
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit $1"
},
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]",
"peerDependencies": {
"msw": "^2.3.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@open-draft/test-server": "^0.5.1",
"@ossjs/release": "^0.8.1",
"@types/compression": "^1.7.1",
"@types/node": "18",
"@vitest/browser": "^2.0.5",
"compression": "^1.7.4",
"happy-dom": "^14.12.3",
"lint-staged": "^10.5.3",
"msw": "^2.3.0",
"playwright": "^1.44.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.8.1",
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"typescript": "^5.4.5",
"vitest": "^2.0.5"
},
"dependencies": {
"@stoplight/json": "^3.21.0",
"@types/har-format": "^1.2.7",
"@yellow-ticket/seed-json-schema": "^0.1.6",
"openapi-types": "^7.2.3",
"outvariant": "^1.2.1",
"yaml": "^2.4.5"
},
"pnpm": {
"overrides": {
"ws@>=8.0.0 <8.17.1": ">=8.17.1",
"braces@<3.0.3": ">=3.0.3"
}
}
}