-
-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathalsoCopy.js
More file actions
30 lines (29 loc) · 776 Bytes
/
alsoCopy.js
File metadata and controls
30 lines (29 loc) · 776 Bytes
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
// eslint-disable-next-line import/no-extraneous-dependencies
const copyfiles = require('copyfiles');
void (async () => {
await new Promise(resolve => {
copyfiles(
[
'-e "node_modules"',
'browser-profiler/main/chrome-docker/*',
'browser-profiler/main/chrome-docker/.dockerignore',
'browser-profiler/.env*',
'double-agent/collect/certs/*',
'double-agent/**/.env*',
'agent/testing/certs/*.pem',
'agent/mitm-socket/dist/**',
'.yarn/*',
'.yarn/*/*',
'.yarnrc.yml',
'-a',
`${__dirname}/build`,
],
{},
() => {
// eslint-disable-next-line no-console
console.log('Extra Files Copied');
resolve();
},
);
});
})();