mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-26 10:42:16 -06:00
* add pre-commit hook for linting & formatting * add husky * update n8n package json, update package-lock file
17 lines
494 B
JavaScript
17 lines
494 B
JavaScript
const path = require("path");
|
|
const { task, src, dest } = require("gulp");
|
|
|
|
task("build:icons", copyIcons);
|
|
|
|
function copyIcons() {
|
|
const nodeSource = path.resolve("nodes", "**", "*.{png,svg}");
|
|
const nodeDestination = path.resolve("dist", "nodes");
|
|
|
|
src(nodeSource).pipe(dest(nodeDestination));
|
|
|
|
const credSource = path.resolve("credentials", "**", "*.{png,svg}");
|
|
const credDestination = path.resolve("dist", "credentials");
|
|
|
|
return src(credSource).pipe(dest(credDestination));
|
|
}
|