-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
39 lines (39 loc) · 1.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"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",
"build-lite" : "vite build --config vite.config.lite.js",
"dev": "vite",
"deploy": "npm run build && npm run build-lite",
"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"
}
}