UNPKG

view-transitions-polyfill

Version:
57 lines (56 loc) 2.5 kB
{ "name": "view-transitions-polyfill", "version": "1.0.4", "description": "A polyfill for the View Transitions API.", "type": "module", "scripts": { "dev": "run-p build-watch-demos serve", "serve": "vite", "build": "vite build", "build-watch": "vite build --watch", "build-demos": "vite build --config vite.config.demos.js", "build-watch-demos": "vite build --watch --config vite.config.demos.js", "build-test": "vite build --config vite.config.test.js", "build-always-polyfill": "vite build --config vite.config.always.polyfill.js", "test-setup": "node test/setup.js && npm run build-test", "test-setup-always-polyfill": "node test/setup.js && npm run build-always-polyfill", "test": "npm run test-setup && cd test && cd wpt && python wpt run -y --no-enable-webtransport-h3 --log-mach=- --headless --log-wptreport ../report/report.json --log-wptscreenshot ../report/screenshots.txt --log-html ../report/index.html --inject-script ../dist/view-transitions-polyfill.js firefox css/css-view-transitions", "test-always-polyfill": "npm run test-setup-always-polyfill && cd test && cd wpt && python wpt run -y --no-enable-webtransport-h3 --log-mach=- --headless --log-wptreport ../report/report.json --log-wptscreenshot ../report/screenshots.txt --log-html ../report/index.html --inject-script ../dist/view-transitions-polyfill.js firefox css/css-view-transitions", "test-debug": "npm run test-setup && cd test && cd wpt && echo Default location of debug server: http://web-platform.test:8000/ && python wpt serve --inject-script ./../dist/view-transitions-polyfill.js" }, "keywords": [ "Polyfill", "Transitions", "View", "API", "Page", "Transition" ], "author": "demarketed <demarketed@gmail.com>", "license": "ISC", "homepage": "https://github.com/demarketed/view-transitions-polyfill#readme", "repository": { "type": "git", "url": "git+https://github.com/demarketed/view-transitions-polyfill.git" }, "devDependencies": { "@eslint/js": "^9.14.0", "@types/css-tree": "^2.3.8", "@types/eslint__js": "^8.42.3", "css-tree": "^3.0.1", "eslint": "^9.14.0", "globals": "^15.12.0", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "typescript": "^5.6.3", "typescript-eslint": "^8.13.0", "vite": "^5.4.10" }, "files": [ "dist" ], "browser": "./dist/view-transitions-polyfill.js", "exports": { ".": "./dist/view-transitions-polyfill.js" } }