prisma-migrations
Version:
A Node.js library to manage Prisma ORM migrations like other ORMs
86 lines (85 loc) • 2.65 kB
JSON
{
"name": "prisma-migrations",
"version": "0.0.8",
"description": "A Node.js library to manage Prisma ORM migrations like other ORMs",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"bin": {
"prisma-migrations": "dist/cli.cjs"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "node --import tsx --test tests/commit-manager.test.ts tests/config.test.ts tests/database-adapter.test.ts tests/e2e.test.ts tests/file-manager.test.ts tests/index.test.ts tests/migration-manager.test.ts tests/version-manager.test.ts",
"test:watch": "node --test --watch",
"test:e2e": "npm run build && node --test e2e/test.js e2e/test-cjs.js",
"test:e2e:esm": "npm run build && node --test e2e/test.js",
"test:e2e:cjs": "npm run build && node --test e2e/test-cjs.js",
"test:docker": "docker-compose -f docker-compose.test.yml up --build --abort-on-container-exit",
"test:docker:clean": "docker-compose -f docker-compose.test.yml down -v",
"lint": "npx -y oxlint src tests e2e",
"lint:fix": "npx -y oxlint src tests e2e --fix",
"format": "npx -y prettier --write src tests e2e",
"format:check": "npx -y prettier --check src tests e2e",
"precommit": "npm run format && npm run lint && npm run build && npm test",
"prepublishOnly": "npm run format:check && npm run lint && npm run build && npm test"
},
"keywords": [
"prisma",
"migration",
"orm",
"database",
"schema",
"knex",
"sql",
"typescript",
"postgres",
"migrations",
"version-control"
],
"author": "Jeff Wainwright <me@jeffry.in> (https://jeffry.in)",
"license": "MIT",
"dependencies": {
"@prisma/client": "^6.11.1",
"chalk": "^5.0.0",
"commander": "^11.0.0",
"fs-extra": "^11.0.0",
"inquirer": "^9.0.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.0",
"@types/inquirer": "^9.0.0",
"@types/node": "^20.0.0",
"prisma": "^6.11.1",
"tsup": "^8.5.0",
"typescript": "^5.0.0"
},
"optionalDependencies": {
"tsx": "^4.0.0"
},
"peerDependencies": {
"prisma": ">=2.0.0"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/prisma-migrations.git"
},
"bugs": {
"url": "https://github.com/yowainwright/prisma-migrations/issues"
},
"homepage": "https://github.com/yowainwright/prisma-migrations#readme"
}