@ever-works/scrapfly-plugin 1.0.0 → 1.0.3
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/dist/index.cjs +313 -0
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +308 -0
- package/package.json +90 -77
- package/LICENSE +0 -661
- package/src/__tests__/scrapfly.plugin.spec.ts +0 -288
- package/src/index.ts +0 -2
- package/src/scrapfly.plugin.ts +0 -324
- package/tsconfig.json +0 -22
- package/tsup.config.ts +0 -12
package/package.json
CHANGED
|
@@ -1,78 +1,91 @@
|
|
|
1
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
2
|
+
"name": "@ever-works/scrapfly-plugin",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "Scrapfly Plugin - Screenshot capture and content extraction using Scrapfly API",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Ever Co. LTD",
|
|
7
|
+
"email": "ever@ever.co",
|
|
8
|
+
"url": "https://ever.co"
|
|
9
|
+
},
|
|
10
|
+
"license": "AGPL-3.0",
|
|
11
|
+
"private": false,
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc --noEmit && tsup",
|
|
28
|
+
"dev": "tsup --watch",
|
|
29
|
+
"type-check": "tsc --noEmit",
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"test": "vitest run --passWithNoTests",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"test:coverage": "vitest run --coverage"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"scrapfly-sdk": "^0.7.3"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@ever-works/plugin": "^1.2.5"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/node": "^26.6.4",
|
|
43
|
+
"@ever-works/plugin": "^1.2.5",
|
|
44
|
+
"tsup": "^8.4.0",
|
|
45
|
+
"typescript": "^5.7.3",
|
|
46
|
+
"vitest": "^5.0.5"
|
|
47
|
+
},
|
|
48
|
+
"everworks": {
|
|
49
|
+
"plugin": {
|
|
50
|
+
"id": "scrapfly",
|
|
51
|
+
"name": "Scrapfly",
|
|
52
|
+
"version": "1.0.0",
|
|
53
|
+
"category": "content-extractor",
|
|
54
|
+
"capabilities": [
|
|
55
|
+
"screenshot",
|
|
56
|
+
"content-extractor"
|
|
57
|
+
],
|
|
58
|
+
"description": "Screenshot capture and content extraction using the Scrapfly API. Supports JavaScript rendering, anti-bot bypass, and multiple output formats.",
|
|
59
|
+
"author": {
|
|
60
|
+
"name": "Ever Works Team"
|
|
61
|
+
},
|
|
62
|
+
"license": "AGPL-3.0",
|
|
63
|
+
"autoEnable": false,
|
|
64
|
+
"systemPlugin": false,
|
|
65
|
+
"builtIn": true,
|
|
66
|
+
"envVars": [
|
|
67
|
+
{
|
|
68
|
+
"name": "PLUGIN_SCRAPFLY_API_KEY",
|
|
69
|
+
"required": false,
|
|
70
|
+
"secret": true,
|
|
71
|
+
"description": "Scrapfly API key (optional - can be set via admin/user settings)"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"distribution": "registry"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://github.com/ever-works/ever-works.git",
|
|
80
|
+
"directory": "packages/plugins/scrapfly"
|
|
81
|
+
},
|
|
82
|
+
"homepage": "https://github.com/ever-works/ever-works/tree/main/packages/plugins/scrapfly#readme",
|
|
83
|
+
"bugs": {
|
|
84
|
+
"url": "https://github.com/ever-works/ever-works/issues"
|
|
85
|
+
},
|
|
86
|
+
"everworksRelease": {
|
|
87
|
+
"contentHash": "sha256:84d833b7421007ecb51aa86a79dab7f4bb0620da768de603977b84bba1f77744",
|
|
88
|
+
"commit": "19905c70cf05be3bc523db030597046067cd322a",
|
|
89
|
+
"source": "https://github.com/ever-works/ever-works/tree/19905c70cf05be3bc523db030597046067cd322a/packages/plugins/scrapfly"
|
|
90
|
+
}
|
|
91
|
+
}
|