@kubb/plugin-msw
Version:
Mock Service Worker (MSW) handlers generator plugin for Kubb, creating API mocks from OpenAPI specifications for frontend development and testing.
102 lines • 2.47 kB
JSON
{
"name": "@kubb/plugin-msw",
"version": "4.7.1",
"description": "Mock Service Worker (MSW) handlers generator plugin for Kubb, creating API mocks from OpenAPI specifications for frontend development and testing.",
"keywords": [
"msw",
"mock-service-worker",
"api-mocking",
"testing",
"development",
"typescript",
"openapi",
"swagger",
"code-generator",
"codegen",
"plugins",
"kubb"
],
"repository": {
"type": "git",
"url": "https://github.com/kubb-labs/kubb.git",
"directory": "packages/plugin-msw"
},
"license": "MIT",
"author": "stijnvanhulle",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./components": {
"import": "./dist/components.js",
"require": "./dist/components.cjs"
},
"./generators": {
"import": "./dist/generators.js",
"require": "./dist/generators.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.cts",
"typesVersions": {
"*": {
"utils": [
"./dist/utils.d.ts"
],
"hooks": [
"./dist/hooks.d.ts"
],
"components": [
"./dist/components.d.ts"
],
"generators": [
"./dist/generators.d.ts"
]
}
},
"files": [
"src",
"dist",
"!/**/**.test.**",
"!/**/__tests__/**"
],
"size-limit": [
{
"path": "./dist/*.js",
"limit": "510 KiB",
"gzip": true
}
],
"dependencies": {
"@kubb/react-fabric": "0.5.2",
"@kubb/core": "4.7.1",
"@kubb/oas": "4.7.1",
"@kubb/plugin-faker": "4.7.1",
"@kubb/plugin-oas": "4.7.1",
"@kubb/plugin-ts": "4.7.1"
},
"devDependencies": {},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "tsdown && size-limit",
"clean": "npx rimraf ./dist",
"lint": "bun biome lint .",
"lint:fix": "bun biome lint --fix --unsafe .",
"release": "pnpm publish --no-git-check",
"release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
"start": "tsdown --watch",
"test": "vitest --passWithNoTests",
"typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
}
}