UNPKG

postgres-migrations

Version:

Stack Overflow style database migrations for PostgreSQL

72 lines (71 loc) 2.34 kB
{ "name": "postgres-migrations", "version": "5.3.0", "description": "Stack Overflow style database migrations for PostgreSQL", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "pg-validate-migrations": "./dist/bin/validate.js" }, "author": "Thom Wright", "keywords": [ "postgres", "postgresql", "migration", "migrations", "sql", "database", "db" ], "homepage": "https://github.com/thomwright/postgres-migrations#readme", "license": "MIT", "repository": { "type": "git", "url": "git@github.com:thomwright/postgres-migrations.git" }, "bugs": { "url": "https://github.com/thomwright/postgres-migrations/issues" }, "engines": { "node": ">10.17.0" }, "scripts": { "checkPushed": "[ \"$(git rev-list --count @{upstream}..HEAD)\" -eq 0 ] || (echo You have unpushed commits && exit 1)", "prepublishOnly": "npm run checkPushed && npm test && npm run build", "check-formatting": "./node_modules/.bin/prettier '**/*.ts' --list-different", "fix-formatting": "./node_modules/.bin/prettier '**/*.ts' --write", "lint": "npm run tslint && npm run check-formatting", "tslint": "tslint 'src/**/*.ts' --type-check --project tsconfig.json --format verbose", "test-integration": "ava --config ava.config.integration.cjs", "test-unit": "ava --config ava.config.unit.cjs", "test": "npm run test-unit && npm run lint && npm run test-integration", "preversion": "npm test", "build": "rm -rf ./dist && rsync -a --exclude='*.ts' --exclude='__tests__' --exclude='__unit__' --prune-empty-dirs src/ dist/ && tsc --project tsconfig-build.json" }, "husky": { "hooks": { "commit-msg": "node ./node_modules/fit-commit-js/lib/hook.js .git/COMMIT_EDITMSG", "pre-commit": "npm run lint", "pre-push": "npm test" } }, "dependencies": { "pg": "^8.6.0", "sql-template-strings": "^2.2.2" }, "devDependencies": { "@types/node": "^10.17.60", "@types/pg": "^8.6.0", "@types/sinon": "^9.0.11", "ava": "^3.15.0", "fit-commit-js": "^0.3.2", "husky": "^3.1.0", "prettier": "^2.3.1", "sinon": "^9.2.4", "ts-node": "^10.0.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.3.4", "typescript-tslint-plugin": "^1.0.1" } }