@surv-co/prisma-typeorm-db-utils
Version:
Transform Prisma schemas to TypeORM entities with NestJS integration and fast pg-mem testing
101 lines • 2.69 kB
JSON
{
"name": "@surv-co/prisma-typeorm-db-utils",
"version": "4.0.5",
"description": "Transform Prisma schemas to TypeORM entities with NestJS integration and fast pg-mem testing",
"main": "./dist/cjs/src/index.js",
"module": "./dist/esm/src/index.js",
"types": "./dist/types/src/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js",
"types": "./dist/types/src/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types && npm run fix-esm-imports",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"fix-esm-imports": "node scripts/fix-esm-imports.js",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build && npm test"
},
"repository": {
"type": "git",
"url": "https://github.com/surv-co/prisma-typeorm-db-utils.git"
},
"homepage": "https://github.com/surv-co/prisma-typeorm-db-utils#readme",
"bugs": {
"url": "https://github.com/surv-co/prisma-typeorm-db-utils/issues"
},
"dependencies": {
"@nestjs/typeorm": "^11.0.0",
"@prisma/client": "^6.10.1",
"fp-ts": "^2.16.2",
"fp-ts-std": "^1.0.0",
"immer": "^10.0.3",
"io-ts": "^2.2.21",
"pg": "^8.16.3",
"pg-mem": "^3.0.5",
"prisma": "^6.10.1",
"ramda": "^0.29.1",
"typeorm": "^0.3.25",
"typeorm-naming-strategies": "^4.1.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@nestjs/common": "^11.1.3",
"@nestjs/core": "^11.1.3",
"@nestjs/testing": "^11.1.3",
"@types/node": "^20.11.24",
"@types/ramda": "^0.29.3",
"chai": "^4.3.7",
"glob": "^10.3.10",
"reflect-metadata": "^0.2.2",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",
"@nestjs/core": "^10.0.0 || ^11.0.0",
"typeorm": "^0.3.0",
"reflect-metadata": "^0.1.13 || ^0.2.0"
},
"peerDependenciesMeta": {
"@nestjs/common": {
"optional": true
},
"@nestjs/core": {
"optional": true
}
},
"keywords": [
"prisma",
"typeorm",
"entity-generation",
"nestjs",
"pg-mem",
"schema-transformer",
"functional-programming",
"typescript",
"database",
"orm",
"code-generation",
"type-safe"
],
"author": "SURV Co <contact@surv.co>",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
}
}