{
    "name": "view-transitions-mock",
    "version": "1.1.0",
    "description": "Mock support for Same-Document View Transitions",
    "type": "module",
    "module": "dist/index.js",
    "types": "dist/index.d.ts",
    "files": [
        "dist"
    ],
    "scripts": {
        "clean": "rm -rf ./dist",
        "lint": "prettier --check '{src,tests,demo}/**/*.{ts,tsx,js,jsx}'",
        "format": "prettier --write '{src,tests,demo}/**/*.{ts,tsx,js,jsx}'",
        "prebuild": "npm run clean",
        "build": "esbuild src/index.ts --sourcemap --bundle --outfile=dist/index.js --platform=browser --format=esm && tsc --declaration --emitDeclarationOnly --outFile dist/index.d.ts",
        "start": "concurrently --kill-others 'npm run watch' 'npm run serve'",
        "watch": "esbuild src/index.ts --sourcemap --bundle --outfile=demo/view-transitions-mock.js --platform=browser --format=esm --watch",
        "serve": "esbuild --servedir=demo",
        "dev": "npm run start",
        "predeploy": "esbuild src/index.ts --sourcemap --bundle --outfile=demo/view-transitions-mock.js --platform=browser --format=esm",
        "deploy": "gcloud storage rsync --recursive --delete-unmatched-destination-objects demo gs://chrome-dev-demos/public/view-transitions-mock",
        "prepack": "npm run require-license-headers && npm run require-pristine-tree && npm run test",
        "prepublish": "npm run build",
        "type-check": "tsc --noEmit",
        "pretest": "npm run build && npx playwright install --with-deps && npm run pretest:install-old-browsers",
        "pretest:install-old-browsers": "npm run pretest:install-old-chromium && npm run pretest:install-old-firefox && npm run pretest:install-old-webkit",
        "pretest:install-old-chromium": "PLAYWRIGHT_BROWSERS_PATH=./custom-browsers npx --yes playwright@1.30 install chromium",
        "pretest:install-old-firefox": "PLAYWRIGHT_BROWSERS_PATH=./custom-browsers npx --yes playwright@1.56 install firefox",
        "pretest:install-old-webkit": "PLAYWRIGHT_BROWSERS_PATH=./custom-browsers npx --yes playwright@1.45 install webkit",
        "test": "playwright test",
        "preversion": "npm run require-license-headers && npm run require-pristine-tree && npm run test",
        "prepare": "husky install",
        "require-license-headers": "addlicense -check -f=./LICENSE src",
        "require-pristine-tree": "exit $(git status --porcelain | wc -l)",
        "add-license-headers": "addlicense -c 'Google LLC' -l apache -s=only -f=./LICENSE ."
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/GoogleChromeLabs/view-transitions-mock.git"
    },
    "keywords": [
        "css",
        "view-transitions"
    ],
    "author": {
        "name": "Bramus",
        "email": "bramus@bram.us",
        "url": "https://www.bram.us/"
    },
    "license": "Apache-2.0",
    "bugs": {
        "url": "https://github.com/GoogleChromeLabs/view-transitions-mock/issues"
    },
    "homepage": "https://github.com/GoogleChromeLabs/view-transitions-mock#readme",
    "devDependencies": {
        "@playwright/test": "^1.58.1",
        "@types/node": "^25.0.8",
        "concurrently": "^9.2.1",
        "esbuild": "^0.27.2",
        "husky": "^8.0.0",
        "prettier": "^3.4.1",
        "typescript": "^5.7.2"
    },
    "dependencies": {
        "watchable-promise": "^2.1.3"
    }
}
