Files
2026-05-27 23:29:53 +01:00

78 lines
2.6 KiB
JSON

{
"name": "create-suaveplan-plugin",
"version": "0.1.0",
"type": "module",
"sideEffects": false,
"description": "Interactive scaffold for new Suaveplan API plugins. Generates a complete, immediately-testable plugin skeleton (plugin.json, definePlugin body, host test, integration test, both vitest configs, migrations, README) tailored to the selected isolation tier, capability set, and DB engine.",
"license": "MIT",
"author": "Suaveplan Team",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"create-suaveplan-plugin": "./dist/bin/create-suaveplan-plugin.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./error-codes": {
"import": {
"types": "./dist/error-codes.d.ts",
"default": "./dist/error-codes.js"
}
},
"./prompt": {
"import": {
"types": "./dist/prompt/prompt.d.ts",
"default": "./dist/prompt/prompt.js"
}
},
"./generator": {
"import": {
"types": "./dist/generator/generator.d.ts",
"default": "./dist/generator/generator.js"
}
}
},
"scripts": {
"build": "vite build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "bunx biome check src/ tests/",
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/",
"format": "bunx biome format --write --max-diagnostics 500 src/ tests/",
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/",
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
},
"dependencies": {
"@suaveplan/error": "workspace:^",
"tslib": "catalog:build",
"zod": "catalog:forms"
},
"devDependencies": {
"@suaveplan/testing": "workspace:^",
"@types/node": "catalog:",
"@vitest/coverage-istanbul": "catalog:testing",
"typescript": "catalog:",
"vite": "catalog:build",
"vite-plugin-dts": "catalog:build",
"vitest": "catalog:testing"
},
"publishConfig": {
"registry": "https://npmjs.fq.io/",
"access": "public"
},
"files": [
"dist",
"src",
"README.md"
]
}