Initial Commit
This commit is contained in:
112
packages/api-stack/api/api-schemas/package.json
Normal file
112
packages/api-stack/api/api-schemas/package.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"name": "@suaveplan/api-schemas",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Shared Zod schemas describing Suaveplan API request/response shapes — single source of truth for server plugins, React data hooks, and generated OpenAPI documents",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./common": {
|
||||
"import": {
|
||||
"types": "./dist/common/index.d.ts",
|
||||
"default": "./dist/common/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/common/index.d.ts",
|
||||
"default": "./dist/common/index.js"
|
||||
}
|
||||
},
|
||||
"./auth": {
|
||||
"import": {
|
||||
"types": "./dist/auth/index.d.ts",
|
||||
"default": "./dist/auth/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/auth/index.d.ts",
|
||||
"default": "./dist/auth/index.js"
|
||||
}
|
||||
},
|
||||
"./admin": {
|
||||
"import": {
|
||||
"types": "./dist/admin/index.d.ts",
|
||||
"default": "./dist/admin/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/admin/index.d.ts",
|
||||
"default": "./dist/admin/index.js"
|
||||
}
|
||||
},
|
||||
"./events": {
|
||||
"import": {
|
||||
"types": "./dist/events/index.d.ts",
|
||||
"default": "./dist/events/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/events/index.d.ts",
|
||||
"default": "./dist/events/index.js"
|
||||
}
|
||||
},
|
||||
"./helpers": {
|
||||
"import": {
|
||||
"types": "./dist/helpers/index.d.ts",
|
||||
"default": "./dist/helpers/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/helpers/index.d.ts",
|
||||
"default": "./dist/helpers/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms",
|
||||
"@opentelemetry/api": "catalog:observability"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"mitata": "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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user