{
  "name": "swup",
  "amdName": "Swup",
  "version": "3.1.1",
  "description": "Complete, flexible, extensible, and easy-to-use page transition library for your server-side rendered website.",
  "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": {
    ".": {
      "require": "./dist/Swup.cjs",
      "import": "./dist/Swup.modern.js",
      "types": "./dist/types/index.d.ts"
    }
  },
  "files": [
    "src",
    "dist"
  ],
  "scripts": {
    "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": "BROWSERSLIST_ENV=development microbundle src/*.ts -w",
    "lint": "npm run lint:ts && npm run lint:prettier -- --check",
    "format": "npm run lint:ts && npm run lint:prettier -- --write",
    "lint:ts": "tsc --noEmit --skipLibCheck",
    "lint:prettier": "prettier 'src/**/*.ts'",
    "prepublish": "npm run build",
    "postinstall": "opencollective-postinstall || true",
    "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 ./vitest/vitest.config.ts",
    "test:e2e": "start-server-and-test test:e2e:start 8274 cy:run",
    "test:e2e:ci": "start-server-and-test test:e2e:start 8274 cy:run:record",
    "test:e2e:dev": "start-server-and-test test:e2e:start 8274 cy:open",
    "test:e2e:instrument": "nyc instrument --compact=false dist cypress/fixtures/dist",
    "test:e2e:server": "http-server --silent --port 8274 cypress/fixtures",
    "test:e2e:start": "npm run test:e2e:instrument && npm run test:e2e:server",
    "cy:run": "cypress run",
    "cy:run:record": "cypress run --record",
    "cy:open": "cypress open",
    "prepare": "husky install"
  },
  "author": "Georgy Marchuk",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/gmrchk/swup.git"
  },
  "keywords": [
    "css",
    "animation",
    "page",
    "transition"
  ],
  "dependencies": {
    "delegate-it": "^6.0.0",
    "opencollective-postinstall": "^2.0.2"
  },
  "devDependencies": {
    "@babel/preset-typescript": "^7.18.6",
    "@cypress/code-coverage": "^3.10.0",
    "@swup/browserslist-config": "^1.0.0",
    "@swup/prettier-config": "^1.0.0",
    "cypress": "^12.3.0",
    "http-server": "^14.1.1",
    "husky": "^8.0.0",
    "istanbul-lib-coverage": "^3.2.0",
    "microbundle": "^0.15.0",
    "nyc": "^15.1.0",
    "prettier": "^2.8.2",
    "start-server-and-test": "^1.14.0",
    "vitest": "^0.29.8"
  },
  "collective": {
    "type": "opencollective",
    "url": "https://opencollective.com/swup"
  },
  "browserslist": [
    "extends @swup/browserslist-config"
  ],
  "prettier": "@swup/prettier-config"
}
