UNPKG

pg-node-migrations

Version:

Based on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name.

71 lines 2.18 kB
{ "name": "pg-node-migrations", "version": "0.0.8", "description": "Based on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name.", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "pg-validate-migrations": "./dist/bin/validate.js" }, "author": "Jon Belelieu", "keywords": [ "postgres", "postgresql", "migration", "migrations", "sql", "database", "db" ], "homepage": "https://github.com/jbelelieu/pg_node_migrations#readme", "license": "MIT", "repository": { "type": "git", "url": "git@github.com:jbelelieu/pg_node_migrations.git" }, "bugs": { "url": "https://github.com/jbelelieu/pg_node_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 build", "check-formatting": "./node_modules/.bin/prettier **/*.ts --list-different", "fix-formatting": "./node_modules/.bin/prettier **/*.ts --write", "lint": "npm run tslint", "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", "preversion": "npm test", "build": "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" } }