{
  "name": "advisory-lock",
  "version": "2.0.0",
  "description": "Distributed locking using PostgreSQL advisory locks",
  "main": "build/index.js",
  "types": "build/index.d.ts",
  "bin": {
    "withlock": "./build/bin/withlock.js"
  },
  "scripts": {
    "test:createTestDatabase": "createdb test-advisorylock || true",
    "lint": "prettier -c src/",
    "lint:fix": "prettier --write src/",
    "build": "tsc",
    "release": "npm run build && npm publish && git push && git push --tags",
    "preversion": "npm test",
    "prepublishOnly": "npm run build && npm run test",
    "pretest": "npm run lint && npm run build && npm run test:createTestDatabase",
    "test": "npm run test:only",
    "test:only": "tape build/test/*.test.js",
    "dev": "nodemon --exec npm -- run test:only"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/olalonde/advisory-lock.git"
  },
  "homepage": "https://github.com/olalonde/advisory-lock",
  "keywords": [
    "postgres",
    "postgresql",
    "lock",
    "distributed lock",
    "mutex",
    "advisory lock"
  ],
  "bugs": {
    "url": "https://github.com/olalonde/advisory-lock/issues"
  },
  "author": "Olivier Lalonde <olalonde@gmail.com>",
  "license": "MIT",
  "devDependencies": {
    "@types/debug": "^4.1.7",
    "@types/pg": "^8.6.6",
    "nodemon": "^1.9.2",
    "prettier": "^2.8.4",
    "tape": "^5.6.3",
    "typescript": "^4.9.5"
  },
  "dependencies": {
    "debug": "^4.3.4",
    "minimist": "^1.2.8",
    "pg": "^8.9.0"
  }
}
