UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

139 lines (138 loc) 3.49 kB
{ "name": "node-pg-migrate", "version": "8.0.4", "description": "PostgreSQL database migration management tool for node.js", "scripts": { "clean": "git clean -fdx", "build": "tsup-node", "format": "prettier --cache --write .", "lint": "eslint --cache --cache-strategy content .", "ts-check": "tsc", "test": "vitest", "test:update-snapshots": "vitest run -u", "test:coverage": "vitest --coverage", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "premigrate": "pnpm run build", "migrate": "node bin/node-pg-migrate.js", "preflight": "pnpm install && run-s format build lint test:update-snapshots ts-check" }, "keywords": [ "db", "database", "migrate", "migration", "migrations", "migrator", "db-migrate", "sql", "pg", "postgre", "postgres", "postgresql", "cockroach", "cockroachdb", "extensible", "expandable", "programatic", "programable", "api" ], "homepage": "https://github.com/salsita/node-pg-migrate", "bugs": { "url": "https://github.com/salsita/node-pg-migrate/issues" }, "repository": { "type": "git", "url": "git+https://github.com/salsita/node-pg-migrate.git" }, "license": "MIT", "author": "Theo Ephraim", "contributors": [ "Salsita Software <jando@salsitasoft.com>", "Christopher Quadflieg <chrissi92@hotmail.de>" ], "type": "module", "exports": { "./bin/*": { "default": "./bin/*.js" }, ".": { "types": "./dist/bundle/index.d.ts", "default": "./dist/bundle/index.js" }, "./*": { "types": "./dist/legacy/*.d.ts", "default": "./dist/legacy/*.js" }, "./package.json": "./package.json" }, "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "bin": { "node-pg-migrate": "bin/node-pg-migrate.js" }, "files": [ "bin", "dist", "templates" ], "dependencies": { "glob": "~11.1.0", "yargs": "~17.7.0" }, "devDependencies": { "@eslint/compat": "1.3.0", "@eslint/config-helpers": "0.2.3", "@eslint/js": "9.29.0", "@stylistic/eslint-plugin": "4.4.1", "@types/config": "3.3.5", "@types/node": "20.19.1", "@types/pg": "8.15.4", "@types/yargs": "17.0.33", "@vitest/coverage-v8": "3.2.4", "@vitest/eslint-plugin": "1.2.7", "@vitest/ui": "3.2.4", "config": "4.0.0", "cross-env": "7.0.3", "dotenv": "16.5.0", "dotenv-expand": "12.0.2", "esbuild-fix-imports-plugin": "1.0.21", "eslint": "9.29.0", "eslint-config-prettier": "10.1.5", "eslint-gitignore": "0.1.0", "eslint-plugin-prettier": "5.5.0", "eslint-plugin-unicorn": "59.0.1", "jiti": "2.4.2", "json5": "2.2.3", "node-pg-migrate": "file:.", "npm-run-all2": "8.0.4", "pg": "8.16.0", "prettier": "3.5.3", "prettier-plugin-organize-imports": "4.1.0", "prettier-plugin-pkg": "0.21.1", "rimraf": "6.0.1", "ts-node": "10.9.2", "tsup": "8.5.0", "tsx": "4.20.3", "typescript": "5.8.3", "typescript-eslint": "8.34.1", "vitepress": "1.6.3", "vitest": "3.2.4" }, "peerDependencies": { "@types/pg": ">=6.0.0 <9.0.0", "pg": ">=4.3.0 <9.0.0" }, "peerDependenciesMeta": { "@types/pg": { "optional": true } }, "packageManager": "pnpm@10.25.0", "engines": { "node": ">=20.11.0" } }