package.json

{
  "name": "eglot-python-preset",
  "version": "1.2.0",
  "description": "Python LSP preset for Emacs using Eglot",
  "type": "module",
  "keywords": [],
  "author": "",
  "license": "GPL-3.0",
  "scripts": {
    "byte-compile": "./scripts/byte-compile.sh",
    "check": "./scripts/byte-compile.sh --check",
    "check:doc": "./scripts/checkdoc.sh",
    "check:melpa": "./scripts/melpa-check.sh",
    "check:melpa:all": "bun run check && bun run check:doc && bun run check:package-lint && bun run check:melpa:install && bun run test:all",
    "check:melpa:install": "./scripts/melpa-build-install-check.sh",
    "check:package-lint": "./scripts/package-lint.sh",
    "init": "bun run up && bun run init:hooks",
    "init:hooks": "lefthook install",
    "fix:md": "prettier --write '**/*.md'",
    "fix:md:file": "prettier --write",
    "fix:yaml": "prettier --write '**/*.yaml'",
    "fix:yaml:file": "prettier --write",
    "hooks:check": "lefthook run pre-commit --all-files --no-stage-fixed",
    "hooks:pre-commit": "lefthook run pre-commit",
    "hooks:pre-commit:all": "lefthook run pre-commit --all-files",
    "test": "emacs -Q --batch -l eglot-python-preset.el -l test/test.el -f ert-run-tests-batch-and-exit",
    "test:all": "bun run test && bun run test:live",
    "test:live": "emacs -Q --batch -l eglot-python-preset.el -l test/test.el -f my-test-run-live-tests-parallel",
    "test:live:sequential": "emacs -Q --batch -l eglot-python-preset.el -l test/test.el --eval \"(setq my-test-run-live-tests t)\" -f ert-run-tests-batch-and-exit",
    "up": "mise use -g bun@latest && mise install && bun install && uv sync"
  },
  "dependencies": {},
  "devDependencies": {
    "lefthook": "^2.0.13",
    "prettier": "^3.7.4"
  }
}