forked from zoubingwu/msw-auto-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.63 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
{
"name": "msw-auto-mock",
"version": "0.11.1",
"description": "Generate random mock data from OpenAPI descriptions for msw.",
"main": "dist/cli.js",
"module": "./dist/cli.mjs",
"exports": {
".": {
"require": "./dist/cli.js",
"import": "./dist/cli.mjs",
"types": "./dist/cli.d.ts"
}
},
"bin": {
"msw-auto-mock": "./bin/cli.js"
},
"scripts": {
"build": "tsup",
"fmt": "prettier {example,src}/**/*.{js,jsx,ts,tsx,css,md,html} --write",
"test": "vitest run",
"gen:ghapi": "node ./dist/cli.js https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/ghes-3.3/ghes-3.3.json --output ./example/ghapi.js",
"gen:example": "npm run build && node ./dist/cli.js ./test/fixture/githubapi.yaml --output ./example/src/mock.js"
},
"author": "zoubingwu<[email protected]>",
"license": "MIT",
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"cac": "^6.7.12",
"oazapfts": "^4.5.2",
"prettier": "2.5.1",
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.45",
"@types/prettier": "^2.6.3",
"lodash": "^4.17.21",
"openapi-types": "^12.1.0",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vitest": "^0.28.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zoubingwu/msw-auto-mock.git"
},
"bugs": {
"url": "https://github.com/zoubingwu/msw-auto-mock/issues"
},
"homepage": "https://github.com/zoubingwu/msw-auto-mock",
"files": [
"dist"
],
"keywords": [
"msw",
"mock",
"service-worker",
"openapi"
]
}