prisma-migration-migrator
Version:
Replace Prisma as the migration engine with Knex, while keeping it as ORM
70 lines (69 loc) • 2.02 kB
JSON
{
"name": "prisma-migration-migrator",
"version": "0.0.40",
"description": "Replace Prisma as the migration engine with Knex, while keeping it as ORM",
"type": "module",
"author": "spersico",
"private": false,
"license": "MIT",
"files": [
"/dist"
],
"bin": {
"prisma-migration-migrator": "dist/bin.js"
},
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && rm -rf tsconfig.build.tsbuildinfo && tsc --project tsconfig.build.json",
"test:migrate:build": "npm run build && node ./dist/index.js",
"test:migrate": "tsx src/bin.ts",
"test:cleanup": "tsx src/tests/helpers/util-cleanup.ts",
"test:knex:sync": "knex migrate:latest",
"test:manual": "npm run test:prisma:create && npm run test:migrate && npm run test:knex:sync",
"test:full": "tsx src/tests/tests.ts",
"prettier": "prettier --write ."
},
"dependencies": {
"chalk": "^5.4.1",
"inquirer": "^12.3.2",
"prisma-diff-to-knex-migration": "^1.0.20"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@types/express": "^5.0.0",
"@types/node": "^22.10.6",
"@types/pg": "^8.11.10",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^15.14.0",
"knex": "^3.1.0",
"pg": "^8.13.1",
"prettier": "^3.4.2",
"prisma": "^6.2.1",
"@prisma/client": "^6.2.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/spersico/prisma-migration-migrator.git"
},
"bugs": {
"url": "https://github.com/spersico/prisma-migration-migrator/issues"
},
"homepage": "https://github.com/spersico/prisma-migration-migrator",
"keywords": [
"devTool",
"prisma",
"migrations",
"knex",
"js",
"programatic",
"data-migrations"
]
}