UNPKG

scroll-timeline-polyfill

Version:

A polyfill for scroll-driven animations on the web via ScrollTimeline

39 lines (38 loc) 1.46 kB
{ "name": "scroll-timeline-polyfill", "version": "1.1.0", "description": "A polyfill for scroll-driven animations on the web via ScrollTimeline", "type": "module", "scripts": { "build": "vite build", "dev": "vite", "deploy": "npm run build", "test-setup": "node test/setup/checkout-wpt.mjs", "test:wpt": "npm run test-setup && cd test && cd wpt && (python wpt run --headless -y --log-wptreport ../report/data.json --log-wptscreenshot=../report/screenshots.txt --log-html=../report/index.html --inject-script ../../dist/scroll-timeline.js firefox scroll-animations || true)", "test:simple": "npm run test-setup && cd test && cd wpt && python wpt serve --inject-script ../../dist/scroll-timeline.js", "test:compare": "node test/summarize-json.mjs test/report/data.json > test/report/summary.txt && echo 'Comparing test results. If different and expected, patch the following diff to test/expected.txt:' && diff test/expected.txt test/report/summary.txt" }, "repository": "flackr/scroll-timeline", "files": [ "src", "dist" ], "keywords": [ "waapi", "scrolltimeline", "parallax", "animations", "web", "animations" ], "author": "", "license": "Apache-2.0", "bugs": { "url": "https://github.com/flackr/scroll-timeline/issues" }, "homepage": "https://github.com/flackr/scroll-timeline#readme", "devDependencies": { "terser": "^5.27.0", "vite": "^5.0.12" } }