-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 1.97 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "openapi-msw",
"type": "module",
"version": "0.7.1",
"license": "MIT",
"author": "Christoph Fricke <christoph@frickeonline.de>",
"description": "Tiny, type-safe wrapper around MSW for type inference from OpenAPI schemas.",
"repository": "github:christoph-fricke/openapi-msw",
"files": [
"cjs",
"dist",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"sideEffects": false,
"types": "./dist/exports/main.d.ts",
"main": "./cjs/exports/main.js",
"module": "./dist/exports/main.js",
"exports": {
".": {
"types": {
"import": "./dist/exports/main.d.ts",
"require": "./cjs/exports/main.d.ts"
},
"import": "./dist/exports/main.js",
"require": "./cjs/exports/main.js"
}
},
"scripts": {
"prepare": "lefthook install",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "rimraf ./dist && tsc -p tsconfig.build.json",
"build:cjs": "rimraf ./cjs && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json",
"format": "prettier --write .",
"lint": "eslint . && prettier -c .",
"generate": "openapi-typescript -c ./test/fixtures/.redocly.yml",
"test:unit": "TEST_SUITE=unit vitest",
"test:int": "TEST_SUITE=integration vitest --typecheck",
"version": "changeset version && npm i",
"release": "changeset publish"
},
"dependencies": {
"openapi-typescript-helpers": "0.0.8"
},
"peerDependencies": {
"msw": "^2.0.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"eslint": "^9.10.0",
"lefthook": "^1.7.15",
"openapi-typescript": "^7.4.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.5.0",
"vitest": "^2.0.5"
},
"overrides": {
"msw": {
"typescript": "$typescript"
}
}
}