{
  "name": "swup",
  "amdName": "Swup",
  "version": "4.9.2",
  "description": "Versatile and extensible page transition library for server-rendered websites",
  "type": "module",
  "source": "./src/Swup.ts",
  "main": "./dist/Swup.cjs",
  "module": "./dist/Swup.module.js",
  "unpkg": "./dist/Swup.umd.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/Swup.modern.js",
      "require": "./dist/Swup.cjs"
    }
  },
  "files": [
    "src",
    "dist"
  ],
  "scripts": {
    "clean": "rm -rf ./dist",
    "build": "npm run build:module && npm run build:bundle",
    "build:module": "BROWSERSLIST_ENV=modern microbundle src/index.ts -f modern,esm,cjs",
    "build:bundle": "BROWSERSLIST_ENV=production microbundle src/Swup.ts -f umd --external none",
    "dev": "npm run clean && BROWSERSLIST_ENV=development microbundle src/index.ts -w -f modern",
    "format": "npx eslint . --fix",
    "lint": "npm run lint:ts && npm run lint:es",
    "lint:ts": "tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck --project tsconfig.tests.json",
    "lint:es": "npx eslint .",
    "lint:compat": "npx eslint --config .eslintrc.compat.cjs .",
    "lint:prettier": "prettier 'src/**/*.ts'",
    "prepublishOnly": "npm run build",
    "test": "npm run test:unit && npm run test:e2e",
    "test:ci": "npm run test:unit && npm run test:e2e:ci",
    "test:unit": "vitest run --config ./tests/config/vitest.config.ts",
    "test:unit:watch": "vitest --config ./tests/config/vitest.config.ts",
    "test:e2e": "npx playwright test --config ./tests/config/playwright.config.ts",
    "test:e2e:dev": "npx playwright test --ui --config ./tests/config/playwright.config.ts",
    "test:e2e:install": "npx playwright install --with-deps",
    "test:e2e:instrument": "nyc instrument --compact=false dist tests/fixtures/dist",
    "test:e2e:serve": "npx serve -n -S -L -p 8274 --config ./tests/config/serve.json",
    "test:e2e:start": "npm run test:e2e:instrument && npm run test:e2e:serve",
    "prepare": "husky",
    "actions-up": "actions-up --yes"
  },
  "author": {
    "name": "Georgy Marchuk",
    "email": "gmarcuk@gmail.com",
    "url": "https://gmrchk.com"
  },
  "contributors": [
    {
      "name": "Philipp Daun",
      "email": "daun@daun.ltd",
      "url": "https://philippdaun.net"
    },
    {
      "name": "Rasso Hilber",
      "email": "mail@rassohilber.com",
      "url": "https://rassohilber.com"
    }
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/swup/swup.git"
  },
  "homepage": "https://swup.js.org",
  "keywords": [
    "css",
    "page",
    "transition",
    "animation"
  ],
  "dependencies": {
    "delegate-it": "^6.0.0",
    "path-to-regexp": "^6.2.1"
  },
  "devDependencies": {
    "@babel/preset-typescript": "^7.18.6",
    "@eslint/js": "^10.0.1",
    "@playwright/test": "^1.58.2",
    "@swup/browserslist-config": "^1.0.0",
    "@swup/prettier-config": "^1.0.0",
    "@types/dom-view-transitions": "^1.0.2",
    "@types/jsdom": "^28.0.0",
    "actions-up": "^1.12.0",
    "eslint": "^10.0.2",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-compat": "^7.0.0",
    "eslint-plugin-ecmascript-compat": "^3.2.0",
    "eslint-plugin-prettier": "^5.0.1",
    "husky": "^9.0.11",
    "istanbul-lib-coverage": "^3.2.0",
    "jsdom": "^28.1.0",
    "microbundle": "^0.15.0",
    "nyc": "^18.0.0",
    "prettier": "^3.1.0",
    "serve": "^14.2.5",
    "typed-query-selector": "^2.11.0",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.56.1",
    "vitest": "^4.0.18"
  },
  "collective": {
    "type": "opencollective",
    "url": "https://opencollective.com/swup"
  },
  "browserslist": [
    "extends @swup/browserslist-config"
  ],
  "prettier": "@swup/prettier-config"
}
