@tsed/prisma
Version:
Generate Ts.ED JsonSchema based on Prisma models
83 lines • 2.5 kB
JSON
{
"name": "@tsed/prisma",
"description": "Generate Ts.ED JsonSchema based on Prisma models",
"type": "module",
"version": "8.8.2",
"source": "./src/index.ts",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",
"typings": "./lib/types/index.d.ts",
"exports": {
".": {
"tsed-source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
}
},
"bin": {
"tsed-prisma": "lib/esm/generator.js",
"tsed-prisma-esm": "lib/esm/generator.js"
},
"scripts": {
"prebuild": "cd ../../core && yarn build",
"build": "rm -rf lib && yarn build:ts && monorepo build-hybrid",
"build:ts": "tsc --build tsconfig.esm.json",
"test": "vitest run",
"generate:enums": "yarn build && cd test/enums && prisma -v && prisma generate",
"generate:postgres:esm": "yarn build && cd test/postgres-esm && prisma -v && prisma generate",
"generate:mongo:esm": "yarn build && cd test/mongo-esm && prisma -v && prisma generate",
"generate:circular:esm": "yarn build && cd test/circular-ref && prisma -v && prisma generate",
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},
"dependencies": {
"@prisma/generator-helper": "^6.0.1",
"@prisma/internals": "^6.0.1",
"change-case": "^5.4.4",
"fs-extra": "^11.2.0",
"pluralize": "^8.0.0",
"ts-morph": "^12.2.0",
"tslib": "2.7.0"
},
"devDependencies": {
"@prisma/client": "^6.0.1",
"@tsed/barrels": "8.8.2",
"@tsed/core": "8.8.2",
"@tsed/di": "8.8.2",
"@tsed/json-mapper": "8.8.2",
"@tsed/monorepo-utils": "2.3.11",
"@tsed/schema": "8.8.2",
"@tsed/typescript": "8.8.2",
"@types/change-case": "^2.3.1",
"@types/pluralize": "0.0.33",
"eslint": "9.12.0",
"prisma": "^6.0.1",
"typescript": "5.4.5",
"vitest": "3.1.1"
},
"peerDependencies": {
"@prisma/client": ">=6.0.0",
"@tsed/core": ">=8.8.2",
"@tsed/di": ">=8.8.2",
"@tsed/json-mapper": ">=8.8.2",
"@tsed/schema": ">=8.8.2"
},
"keywords": [
"TypeScript",
"decorators",
"models",
"json schema",
"JsonSchema",
"class",
"classes",
"tsed",
"prisma"
],
"repository": "https://github.com/tsedio/tsed",
"bugs": {
"url": "https://github.com/tsedio/tsed/issues"
},
"homepage": "https://github.com/tsedio/tsed/tree/production/packages/orm/prisma",
"author": "Romain Lenzotti",
"license": "MIT"
}