{
  "name": "@logto/root",
  "private": true,
  "license": "MPL-2.0",
  "type": "module",
  "scripts": {
    "preinstall": "npx only-allow pnpm",
    "pnpm:devPreinstall": "cd packages/connectors && node templates/sync-preset.js",
    "prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
    "prepack": "pnpm -r prepack",
    "dev": "pnpm -r prepack && pnpm start:dev",
    "start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests --filter \"!./packages/connectors/connector-*\" dev",
    "start": "cd packages/core && NODE_ENV=production node .",
    "cli": "logto",
    "changeset": "changeset",
    "alteration": "logto db alt",
    "connectors:build": "pnpm -r --filter \"./packages/connectors/connector-*\" build",
    "//": "# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860",
    "ci:version": "changeset version && pnpm -r version",
    "ci:build": "pnpm -r build",
    "ci:lint": "pnpm -r --parallel --workspace-concurrency=0 lint",
    "ci:stylelint": "pnpm -r --parallel --workspace-concurrency=0 stylelint",
    "ci:test": "pnpm -r --parallel --workspace-concurrency=0 test:ci"
  },
  "devDependencies": {
    "@changesets/cli": "^2.26.2",
    "@commitlint/cli": "^17.6.6",
    "@commitlint/config-conventional": "^17.6.6",
    "@commitlint/types": "^17.4.4",
    "@types/pg": "^8.6.6",
    "husky": "^8.0.0",
    "pg": "^8.8.0",
    "typescript": "^5.0.0"
  },
  "engines": {
    "node": "^18.12.0",
    "pnpm": "^8.0.0"
  },
  "pnpm": {
    "peerDependencyRules": {
      "allowedVersions": {
        "react": "^18.0.0",
        "jest": "^29.1.2",
        "stylelint": "^15.0.0"
      }
    }
  },
  "dependencies": {
    "@logto/cli": "workspace:^1.1.0"
  },
  "//": "@see https://parceljs.org/features/dependency-resolution/#package-exports",
  "@parcel/resolver-default": {
    "packageExports": true
  }
}