rollberry 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/CONTRIBUTING.md +53 -0
- package/LICENSE +21 -0
- package/README.md +231 -0
- package/SECURITY.md +23 -0
- package/dist/capture/browser-install.js +49 -0
- package/dist/capture/browser.js +54 -0
- package/dist/capture/capture.js +167 -0
- package/dist/capture/constants.js +8 -0
- package/dist/capture/ffmpeg.js +80 -0
- package/dist/capture/logger.js +30 -0
- package/dist/capture/preflight.js +40 -0
- package/dist/capture/scroll-plan.js +22 -0
- package/dist/capture/stabilize.js +56 -0
- package/dist/capture/types.js +1 -0
- package/dist/capture/utils.js +55 -0
- package/dist/cli.js +23 -0
- package/dist/options.js +211 -0
- package/dist/run-capture.js +114 -0
- package/package.json +60 -0
- package/regression.sample.json +22 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rollberry",
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "CLI to capture smooth top-to-bottom scroll videos from web pages, including localhost URLs.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"packageManager": "pnpm@10.15.0",
|
|
7
|
+
"author": "CORe Inc.",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/co-r-e/rollberry.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/co-r-e/rollberry#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/co-r-e/rollberry/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"cli",
|
|
19
|
+
"playwright",
|
|
20
|
+
"scroll",
|
|
21
|
+
"video",
|
|
22
|
+
"automation",
|
|
23
|
+
"localhost"
|
|
24
|
+
],
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"CONTRIBUTING.md",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"README.md",
|
|
31
|
+
"SECURITY.md",
|
|
32
|
+
"regression.sample.json"
|
|
33
|
+
],
|
|
34
|
+
"bin": {
|
|
35
|
+
"rollberry": "dist/cli.js"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=24.12.0"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsc -p tsconfig.build.json",
|
|
42
|
+
"check": "biome check . && tsc -p tsconfig.json --noEmit",
|
|
43
|
+
"dev": "tsx src/cli.ts",
|
|
44
|
+
"browsers:install": "playwright install chromium",
|
|
45
|
+
"prepack": "npm run build",
|
|
46
|
+
"regression": "tsx scripts/run-regression-suite.ts",
|
|
47
|
+
"test": "vitest run"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"playwright": "1.58.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@biomejs/biome": "2.4.7",
|
|
54
|
+
"@types/node": "25.5.0",
|
|
55
|
+
"selfsigned": "5.5.0",
|
|
56
|
+
"tsx": "4.21.0",
|
|
57
|
+
"typescript": "5.9.3",
|
|
58
|
+
"vitest": "4.1.0"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"outputDir": "./artifacts/regression",
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"name": "local-homepage",
|
|
6
|
+
"url": "http://localhost:3000",
|
|
7
|
+
"viewport": "1440x900",
|
|
8
|
+
"fps": 60,
|
|
9
|
+
"duration": "auto",
|
|
10
|
+
"waitFor": "selector:body",
|
|
11
|
+
"hideSelectors": ["#cookie-banner", ".intercom-lightweight-app"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "playwright-docs",
|
|
15
|
+
"url": "https://playwright.dev/",
|
|
16
|
+
"viewport": "1440x900",
|
|
17
|
+
"fps": 60,
|
|
18
|
+
"duration": 8,
|
|
19
|
+
"waitFor": "selector:main"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|