{
  "name": "@balena/jellyfish-worker",
  "version": "51.0.18",
  "repository": {
    "type": "git",
    "url": "https://github.com/product-os/jellyfish-worker.git"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "description": "Worker library for Jellyfish",
  "main": "build/index.js",
  "types": "build/index.d.ts",
  "files": [
    "build/"
  ],
  "directories": {
    "lib": "lib"
  },
  "scripts": {
    "clean": "rimraf build",
    "build": "npm run clean && tsc -p tsconfig.build.json && copyup lib/contracts/**/*.md build",
    "lint": "balena-lint lib test && deplint && prettier --check **/*.json **/*.yml",
    "lint:fix": "balena-lint --fix lib test && prettier -w **/*.json **/*.yml",
    "test": "npm run lint && npm run test:unit",
    "test:unit": "jest test/unit",
    "test:integration": "find test/integration -name *.spec.ts | xargs -L 1 npx jest",
    "prepack": "npm run build",
    "compose": "docker-compose up",
    "types": "npm run build && autumndb generate-contract-interfaces && balena-lint --fix lib/types/contracts"
  },
  "deplint": {
    "files": [
      "lib/**/*.{ts}"
    ],
    "modules": [
      "lib"
    ]
  },
  "lint-staged": {
    "lib/contracts/*.ts": [
      "npm run types",
      "git add lib/types/contracts/*"
    ],
    "*.ts": [
      "balena-lint --fix"
    ],
    "*.{json,yml}": [
      "prettier -w"
    ]
  },
  "author": "Balena.io. <hello@balena.io>",
  "license": "Apache-2.0",
  "dependencies": {
    "@balena/jellyfish-assert": "^1.11.2",
    "@balena/jellyfish-environment": "^21.0.0",
    "@balena/jellyfish-jellyscript": "^7.11.1",
    "@balena/jellyfish-logger": "^6.0.1",
    "@graphile/logger": "^0.2.0",
    "@types/node": "^18.0.0",
    "autumndb": "^28.1.1",
    "axios": "^0.27.2",
    "bcrypt": "^5.1.1",
    "countries-and-timezones": "^3.5.1",
    "date-fns": "^2.29.3",
    "fast-equals": "^5.0.1",
    "fast-json-patch": "^3.1.1",
    "graphile-worker": "^0.13.0",
    "is-uuid": "^1.0.2",
    "iso8601-duration": "^2.1.1",
    "json-e": "^4.5.3",
    "just-permutations": "^2.2.1",
    "lodash": "^4.17.21",
    "nock": "^13.3.3",
    "qs": "^6.11.2",
    "semver": "^7.3.8",
    "serialize-error": "8.1.0",
    "skhema": "^6.0.6",
    "slugify": "^1.6.6",
    "typed-error": "^3.2.2",
    "uuid": "^9.0.0"
  },
  "devDependencies": {
    "@balena/lint": "^7.1.1",
    "@types/bcrypt": "^5.0.0",
    "@types/is-uuid": "^1.0.0",
    "@types/jest": "^29.5.4",
    "@types/lodash": "^4.14.190",
    "@types/pg": "^8.6.5",
    "@types/semver": "^7.5.0",
    "@types/sinon": "^10.0.16",
    "@types/uuid": "^9.0.0",
    "copyfiles": "^2.4.1",
    "deplint": "^1.1.3",
    "jest": "^29.6.4",
    "lint-staged": "^14.0.1",
    "prettier": "^3.0.2",
    "rimraf": "^5.0.1",
    "simple-git-hooks": "^2.9.0",
    "sinon": "^15.2.0",
    "ts-jest": "^29.1.1",
    "typescript": "^5.2.2"
  },
  "simple-git-hooks": {
    "pre-commit": "npx lint-staged"
  },
  "versionist": {
    "publishedAt": "2023-09-02T15:23:07.939Z"
  }
}
