@cloudconvert/n8n-nodes-cloudconvert 1.0.2 → 1.1.1
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/credentials/CloudConvertApi.credentials.d.ts +2 -1
- package/dist/credentials/CloudConvertApi.credentials.js +2 -1
- package/dist/credentials/CloudConvertApi.credentials.js.map +1 -1
- package/dist/credentials/CloudConvertOAuth2Api.credentials.d.ts +2 -1
- package/dist/credentials/CloudConvertOAuth2Api.credentials.js +1 -0
- package/dist/credentials/CloudConvertOAuth2Api.credentials.js.map +1 -1
- package/dist/nodes/CloudConvert/CloudConvert.node.js +226 -19
- package/dist/nodes/CloudConvert/CloudConvert.node.js.map +1 -1
- package/dist/nodes/CloudConvert/Utils.js +11 -14
- package/dist/nodes/CloudConvert/Utils.js.map +1 -1
- package/dist/nodes/CloudConvert/cloudconvert.svg +13 -0
- package/dist/nodes/CloudConvert/cloudconvert_dark.svg +12 -0
- package/dist/nodes/CloudConvert/operations/archive/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/archive/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/capture-website/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/capture-website/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/command/execute.d.ts +2 -0
- package/dist/nodes/CloudConvert/operations/command/execute.js +89 -0
- package/dist/nodes/CloudConvert/operations/command/execute.js.map +1 -0
- package/dist/nodes/CloudConvert/operations/command/fields.d.ts +2 -0
- package/dist/nodes/CloudConvert/operations/command/fields.js +73 -0
- package/dist/nodes/CloudConvert/operations/command/fields.js.map +1 -0
- package/dist/nodes/CloudConvert/operations/convert/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/convert/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/merge/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/merge/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/metadata/execute.js +72 -23
- package/dist/nodes/CloudConvert/operations/metadata/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/optimize/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/optimize/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/pdf/execute.d.ts +2 -0
- package/dist/nodes/CloudConvert/operations/pdf/execute.js +111 -0
- package/dist/nodes/CloudConvert/operations/pdf/execute.js.map +1 -0
- package/dist/nodes/CloudConvert/operations/pdf/fields.d.ts +2 -0
- package/dist/nodes/CloudConvert/operations/pdf/fields.js +191 -0
- package/dist/nodes/CloudConvert/operations/pdf/fields.js.map +1 -0
- package/dist/nodes/CloudConvert/operations/thumbnail/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/thumbnail/execute.js.map +1 -1
- package/dist/nodes/CloudConvert/operations/watermark/execute.js +1 -2
- package/dist/nodes/CloudConvert/operations/watermark/execute.js.map +1 -1
- package/dist/package.json +16 -18
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -18
- package/dist/nodes/CloudConvert/cloudconvert.png +0 -0
- package/index.js +0 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pdfFields = void 0;
|
|
4
|
+
exports.pdfFields = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Conformance Level',
|
|
7
|
+
name: 'pdfAConformanceLevel',
|
|
8
|
+
type: 'options',
|
|
9
|
+
default: '3b',
|
|
10
|
+
options: [
|
|
11
|
+
{
|
|
12
|
+
name: 'PDF/A-1B',
|
|
13
|
+
value: '1b',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'PDF/A-2B',
|
|
17
|
+
value: '2b',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'PDF/A-3B',
|
|
21
|
+
value: '3b',
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
operation: ['pdf/a'],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
description: 'PDF/A conformance level to convert to',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Auto Orient',
|
|
33
|
+
name: 'pdfOcrAutoOrient',
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
default: true,
|
|
36
|
+
displayOptions: {
|
|
37
|
+
show: {
|
|
38
|
+
operation: ['pdf/ocr'],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
description: 'Whether to automatically detect and correct page orientation before OCR',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Languages',
|
|
45
|
+
name: 'pdfOcrLanguages',
|
|
46
|
+
type: 'string',
|
|
47
|
+
default: '',
|
|
48
|
+
placeholder: 'eng,deu',
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: {
|
|
51
|
+
operation: ['pdf/ocr'],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
description: 'Comma-separated list of language codes to use for OCR, for example "eng,deu"',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Set Password',
|
|
58
|
+
name: 'pdfEncryptSetPassword',
|
|
59
|
+
type: 'string',
|
|
60
|
+
typeOptions: {
|
|
61
|
+
password: true,
|
|
62
|
+
},
|
|
63
|
+
default: '',
|
|
64
|
+
displayOptions: {
|
|
65
|
+
show: {
|
|
66
|
+
operation: ['pdf/encrypt'],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
description: 'Password required to open the PDF',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Set Owner Password',
|
|
73
|
+
name: 'pdfEncryptSetOwnerPassword',
|
|
74
|
+
type: 'string',
|
|
75
|
+
typeOptions: {
|
|
76
|
+
password: true,
|
|
77
|
+
},
|
|
78
|
+
default: '',
|
|
79
|
+
displayOptions: {
|
|
80
|
+
show: {
|
|
81
|
+
operation: ['pdf/encrypt'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
description: 'Owner password used for permissions; with this password, all protections can be removed',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Allow Extract',
|
|
88
|
+
name: 'pdfEncryptAllowExtract',
|
|
89
|
+
type: 'boolean',
|
|
90
|
+
default: false,
|
|
91
|
+
displayOptions: {
|
|
92
|
+
show: {
|
|
93
|
+
operation: ['pdf/encrypt'],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
description: 'Whether to allow extracting content from the PDF',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Allow Accessibility',
|
|
100
|
+
name: 'pdfEncryptAllowAccessibility',
|
|
101
|
+
type: 'boolean',
|
|
102
|
+
default: true,
|
|
103
|
+
displayOptions: {
|
|
104
|
+
show: {
|
|
105
|
+
operation: ['pdf/encrypt'],
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
description: 'Whether to allow accessibility features such as screen readers',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Allow Modify',
|
|
112
|
+
name: 'pdfEncryptAllowModify',
|
|
113
|
+
type: 'string',
|
|
114
|
+
default: '',
|
|
115
|
+
placeholder: 'form',
|
|
116
|
+
displayOptions: {
|
|
117
|
+
show: {
|
|
118
|
+
operation: ['pdf/encrypt'],
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
description: 'Level of modification allowed for the PDF (for example "form"); see CloudConvert docs for valid values',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
displayName: 'Allow Print',
|
|
125
|
+
name: 'pdfEncryptAllowPrint',
|
|
126
|
+
type: 'string',
|
|
127
|
+
default: '',
|
|
128
|
+
placeholder: 'full',
|
|
129
|
+
displayOptions: {
|
|
130
|
+
show: {
|
|
131
|
+
operation: ['pdf/encrypt'],
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
description: 'Level of printing allowed for the PDF (for example "full"); see CloudConvert docs for valid values',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
displayName: 'Password',
|
|
138
|
+
name: 'pdfDecryptPassword',
|
|
139
|
+
type: 'string',
|
|
140
|
+
typeOptions: {
|
|
141
|
+
password: true,
|
|
142
|
+
},
|
|
143
|
+
default: '',
|
|
144
|
+
displayOptions: {
|
|
145
|
+
show: {
|
|
146
|
+
operation: ['pdf/decrypt'],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
description: 'Password of the encrypted PDF file',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
displayName: 'Pages',
|
|
153
|
+
name: 'pdfExtractPagesPages',
|
|
154
|
+
type: 'string',
|
|
155
|
+
default: '',
|
|
156
|
+
placeholder: '1,2,5-7',
|
|
157
|
+
displayOptions: {
|
|
158
|
+
show: {
|
|
159
|
+
operation: ['pdf/extract-pages'],
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
description: 'Single pages or page ranges to extract, for example "1,2,5-7"; page numbering starts at 1',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
displayName: 'Pages',
|
|
166
|
+
name: 'pdfRotatePagesPages',
|
|
167
|
+
type: 'string',
|
|
168
|
+
default: '',
|
|
169
|
+
placeholder: '1,2,5-7',
|
|
170
|
+
displayOptions: {
|
|
171
|
+
show: {
|
|
172
|
+
operation: ['pdf/rotate-pages'],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
description: 'Single pages or page ranges to rotate, for example "1,2,5-7"; page numbering starts at 1',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
displayName: 'Rotation',
|
|
179
|
+
name: 'pdfRotatePagesRotation',
|
|
180
|
+
type: 'string',
|
|
181
|
+
default: '',
|
|
182
|
+
placeholder: '+90',
|
|
183
|
+
displayOptions: {
|
|
184
|
+
show: {
|
|
185
|
+
operation: ['pdf/rotate-pages'],
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
description: 'Rotation angle to apply, for example "+90", "-90", or "180"',
|
|
189
|
+
},
|
|
190
|
+
];
|
|
191
|
+
//# sourceMappingURL=fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/CloudConvert/operations/pdf/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAsB;IAC3C;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,IAAI;aACX;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,IAAI;aACX;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,IAAI;aACX;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,OAAO,CAAC;aACpB;SACD;QACD,WAAW,EAAE,uCAAuC;KACpD;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,WAAW,EAAE,yEAAyE;KACtF;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,WAAW,EAAE,8EAA8E;KAC3F;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,IAAI;SACd;QACD,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E;gBACL,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;QACD,WAAW,EACV,oGAAoG;KACrG;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,IAAI;SACd;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;QACD,WAAW,EAAE,oCAAoC;KACjD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;QACD,WAAW,EACV,2FAA2F;KAC5F;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,WAAW,EACV,0FAA0F;KAC3F;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,KAAK;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,WAAW,EAAE,6DAA6D;KAC1E;CACD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.executeThumbnail =
|
|
3
|
+
exports.executeThumbnail = executeThumbnail;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const Utils_1 = require("../../Utils");
|
|
6
6
|
const Utils_2 = require("../../Utils");
|
|
@@ -58,5 +58,4 @@ async function executeThumbnail() {
|
|
|
58
58
|
}
|
|
59
59
|
return this.prepareOutputData(returnData);
|
|
60
60
|
}
|
|
61
|
-
exports.executeThumbnail = executeThumbnail;
|
|
62
61
|
//# sourceMappingURL=execute.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../../nodes/CloudConvert/operations/thumbnail/execute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../../nodes/CloudConvert/operations/thumbnail/execute.ts"],"names":[],"mappings":";;AAaA,4CAgEC;AA5ED,+CAAkD;AAElD,uCAA2C;AAC3C,uCAOqB;AAEd,KAAK,UAAU,gBAAgB;IACrC,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,EAAE,CAAC;IAEtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,MAAM,KAAK,GAAuB;YACjC,YAAY,EAAE;gBACb,SAAS,EAAE,eAAe;aAC1B;YACD,aAAa,EAAE;gBACd,KAAK,EAAE,YAAY;gBACnB,SAAS,EAAE,WAAW;gBACtB,aAAa,EAAE,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC,CAAC;aACvD;YACD,YAAY,EAAE;gBACb,KAAK,EAAE,aAAa;gBACpB,SAAS,EAAE,YAAY;aACvB;SACD,CAAC;QAEF,KAAK,MAAM,MAAM,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;YACjD,IAAI,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,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E,MAAM,0BAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;iBACpD;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,CAAC;iBACP;aACD,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.executeWatermark =
|
|
3
|
+
exports.executeWatermark = executeWatermark;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const Utils_1 = require("../../Utils");
|
|
6
6
|
const Utils_2 = require("../../Utils");
|
|
@@ -73,5 +73,4 @@ async function executeWatermark() {
|
|
|
73
73
|
}
|
|
74
74
|
return this.prepareOutputData(returnData);
|
|
75
75
|
}
|
|
76
|
-
exports.executeWatermark = executeWatermark;
|
|
77
76
|
//# sourceMappingURL=execute.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../../nodes/CloudConvert/operations/watermark/execute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../../nodes/CloudConvert/operations/watermark/execute.ts"],"names":[],"mappings":";;AAaA,4CA+EC;AA3FD,+CAAkD;AAElD,uCAA2C;AAC3C,uCAOqB;AAEd,KAAK,UAAU,gBAAgB;IACrC,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,EAAE,CAAC;IAEtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,MAAM,KAAK,GAAuB;YACjC,YAAY,EAAE;gBACb,SAAS,EAAE,eAAe;aAC1B;YACD,aAAa,EAAE;gBAC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a,CAAC,GAAG,IAAA,oBAAY,EAAC,KAAK,CAAC,aAAa,CAAC,EAAE,iBAAwB,CAAC,CAAC;QACrF,CAAC;QAED,MAAM,UAAU,GAAG,MAAM,iBAAS,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAErD,MAAM,UAAU,GAAG,IAAA,wBAAgB,EAAC,UAAU,CAAC,CAAC;QAEhD,IAAI,UAAU,EAAE,CAAC;YAChB,MAAM,uBAAe,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,YAAY,GAAG,MAAM,kBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,CAAC;QAIhE,MAAM,UAAU,GAAG,IAAA,wBAAgB,EAAC,YAAY,CAAC,CAAC;QAElD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;YACpC,UAAU,CAAC,IAAI,CAAC;gBACf,IAAI,EAAE,EAAE;gBACR,MAAM,EAAE;oBACP,IAAI,EAAE,MAAM,0BAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;iBACpD;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,CAAC;iBACP;aACD,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudconvert/n8n-nodes-cloudconvert",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "n8n node for CloudConvert - an online file conversion and processing API which allows to convert files, create thumbnails, merge files, add watermarks and more!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package"
|
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"lint": "
|
|
24
|
-
"
|
|
25
|
-
"
|
|
20
|
+
"build": "n8n-node build",
|
|
21
|
+
"build:watch": "tsc --watch",
|
|
22
|
+
"dev": "n8n-node dev",
|
|
23
|
+
"lint": "n8n-node lint",
|
|
24
|
+
"lint:fix": "n8n-node lint --fix",
|
|
25
|
+
"release": "n8n-node release",
|
|
26
|
+
"prepublishOnly": "n8n-node prerelease"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"dist"
|
|
@@ -38,16 +39,13 @@
|
|
|
38
39
|
]
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"n8n-workflow": "*"
|
|
49
|
-
"nock": "^13.3.1",
|
|
50
|
-
"prettier": "^2.7.1",
|
|
51
|
-
"typescript": "~4.8.4"
|
|
42
|
+
"@n8n/node-cli": "*",
|
|
43
|
+
"eslint": "9.32.0",
|
|
44
|
+
"prettier": "3.6.2",
|
|
45
|
+
"release-it": "^19.0.4",
|
|
46
|
+
"typescript": "5.9.2"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"n8n-workflow": "*"
|
|
52
50
|
}
|
|
53
51
|
}
|